Comments (6)
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.
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.
@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.
@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.
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.
Hi @Jemoka!
Any news on this? Have you managed to make it work?
from virgil-crypto-javascript.
Related Issues (19)
- Update webpack example for v5 HOT 1
- wasm-eval HOT 8
- generateKeyPair for RSA PRIVATE KEY or PRIVATE KEY HOT 1
- Document is not defined HOT 1
- [React Native] Can't find variable: self HOT 6
- How to import ed25519 keys? HOT 3
- How to compile for node 8.10? HOT 5
- [React Native] Virgil Crypto slow performance with large number of messages HOT 34
- [React Native] No dynCall invoker for signature HOT 3
- Failed to download Virgil Crypto Node.js Addon - which node version is supported by virgil-crypto? HOT 3
- Missing and invalid compilation of virgil_js.node HOT 2
- Problem with generating tokens HOT 4
- React native javascript bundle build error
- e3kit-node using this in electron v8.3.0 HOT 1
- Catches uncaught exceptions
- [v5.0.0] Error: Cannot find module '@virgilsecuritycore-foundationode.cjs.js' HOT 6
- Unit Testing with Jest -- FoundationError: One of the entropy sources failed.
- initCrypto() causes Nest.JS app crash and exit the container with a huge error in the container logs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from virgil-crypto-javascript.