Giter Club home page Giter Club logo

Comments (6)

Jemoka avatar Jemoka commented on May 24, 2024 1

I don't think I have this problem anymore, but I am working with Firebase, and it seems like there are other errors that are probably issues on my end... As for this issue, I think it is resolved. Thanks for checking in, @snanovskyi!

from virgil-crypto-javascript.

vadimavdeev avatar vadimavdeev commented on May 24, 2024

Hi! We use eval so that emscripten-compiled output (glue js + asm.js) does not get processed by bundlers \ minifiers in 3rd-party apps and libraries. This is needed so that application and library authors do not have to modify their bundler configurations when using this library. See this issue for more details.

We will address this issue in the next major version of this library, but for now your only option would be to allow unsafe-eval as described in the issue you've linked.

from virgil-crypto-javascript.

max-mapper avatar max-mapper commented on May 24, 2024

@vadimavdeev Thanks. Would be nice to get rid of eval because in Electron the only option is to mark the entire web renderer process to allow unsafe-eval which opens up eval vulnerabilities in other scripts loaded in the same renderer.

from virgil-crypto-javascript.

Jemoka avatar Jemoka commented on May 24, 2024

@vadimavdeev Has there been any forward motion on this? It's not a good idea to distribute anything with unsafe-eval in it...

from virgil-crypto-javascript.

snanovskyi avatar snanovskyi commented on May 24, 2024

Hi @Jemoka 👋

Yes, virgil-crypto v4 doesn't use eval. Follow this guide to get started with it.

Let me know if you will have any issues with it.

from virgil-crypto-javascript.

snanovskyi avatar snanovskyi commented on May 24, 2024

Hi @Jemoka!
Any news on this? Have you managed to make it work?

from virgil-crypto-javascript.

Related Issues (19)

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.