-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in Bigint in Firefox #46
Comments
here is a plunk for this http://plnkr.co/edit/nwLDjPkw1ZRsNAl7NpKt?p=preview |
Have you tested your code in Chrome? |
@KAepora, Yes it work fine in Chrome. |
The problem is in BigInt library but it seem's like Arlolra's version is different from what's on Leemon Baird`s site so I'm not sure to whom should I refer with this issue. |
Ah, so that error is warning you that your browser doesn't have a CSPNRG. There's some discussion is #10 about this but the gist of it is that OTR is refusing to generate weak keys by design. Firefox introduced window.crypto.getRandomValues in 21. Any reason you haven't upgraded? |
As an aside, one really annoying thing is that the Tor Browser Bundle is still stuck on Firefox 17 😞 |
@KAepora The TBB 3.5rc1 has version 24 with |
That's awesome!! |
Updated Firefox to 26.0 and problem disappeared for me. |
Glad to hear it. |
Can't get this work on Firefox (20.0). If only I include biging.js like this
it says
throw new Error('Keys should not be generated without CSPRNG.')
Further usage is impossible because if only I try to call DSA constructor I'll get
BigInt is undefined
andDSA is not a constructor
The text was updated successfully, but these errors were encountered: