fork-openpgpjs/test
Ilya Chesnokov 6e7f399eb3 Use Web Crypto & Node crypto for RSA signing and verifying (#999)
Also, when generating RSA keys in JS, generate them with p < q, as per
the spec.

Also, when generating RSA keys using Web Crypto or Node crypto, swap the
generated p and q around, so that will satisfy p < q in most browsers
(but not old Microsoft Edge, 50% of the time) and so that we can use the
generated u coefficient (p^-1 mod q in OpenPGP, q^-1 mod p in RFC3447).

Then, when signing and verifying, swap p and q again, so that the key
hopefully satisfies Safari's requirement that p > q, and so that we can
keep using u again.
2019-11-18 14:59:01 +01:00
..
crypto Use Web Crypto & Node crypto for RSA signing and verifying (#999) 2019-11-18 14:59:01 +01:00
general Use Web Crypto & Node crypto for RSA signing and verifying (#999) 2019-11-18 14:59:01 +01:00
security Rename numBits and bits to rsaBits (#970) 2019-09-18 13:40:44 +02:00
worker Don't attempt to use workers if they fail to load 2019-05-02 12:08:08 +02:00
unittests.html Switch from Sauce Labs to Browserstack (#965) 2019-09-16 14:59:06 +02:00
unittests.js Create lightweight build that can lazily load indutny/elliptic if needed (#956) 2019-10-25 16:07:57 +02:00