Giter VIP home page Giter VIP logo

Comments (4)

hmerritt avatar hmerritt commented on May 29, 2024 1

I have just added the Apache 2.0 License

from discord-encryption.

hmerritt avatar hmerritt commented on May 29, 2024

I appreciate the commitment to security in pointing all these issues out, however, this plugin is experimental, if you are looking for a genuinely secure messaging I would recommend Signal.

In addition to being experimental, this plugin is also open-source, if you are eager to see those features, you are more than welcome to submit a PR 🏋️‍♀️.

from discord-encryption.

AlienDwarf avatar AlienDwarf commented on May 29, 2024

Thanks I will fork.
What license does this project run under? I have not found a license

from discord-encryption.

AlienDwarf avatar AlienDwarf commented on May 29, 2024

Ah btw if you try to install and start the plugin it isn't working because it expects some JSON which hasn't been created yet.

[encryptionPlugin] Error parsing local storage SyntaxError: "undefined" is not valid JSON
    at JSON.parse (<anonymous>)
    at getUserData (encryption.plugin.js:17976:25)
    at new Encryption (encryption.plugin.js:18411:37)
    at M.initializeAddon (renderer.js:4:34235)
    at M.loadAddon (renderer.js:4:8506)
    at M.loadAddon (renderer.js:4:33490)
    at M.reloadAddon (renderer.js:4:9211)
    at _t.reload (renderer.js:4:360780)
    at <anonymous>:1:22

I had to create dummy data manually and then set a real password to make this work :D

It's this line in storage.ts

const getUserData = window?.BdApi?.getData(config.name, config.name);

Just add a sanity check if !getUserData then leave the trycatch block and return the default data

from discord-encryption.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.