Commit Graph

5 Commits

Author SHA1 Message Date
Daniel Huigens
b6edfe646b Lint all tests () 2021-02-12 23:00:22 +01:00
larabr
051f5ec8cf
BigInteger: throw if modular inverse doesn't exist () 2021-02-10 14:23:59 +01:00
Daniel Huigens
2382482090 [v5] Unexport openpgp.util, openpgp.crypto, and low-level types () 2021-02-09 19:25:20 +01:00
Dan Ristea
331a0c27a9 Store named signature parameters ()
Also, remove the now-unnecessary MPI type.
2021-02-09 19:25:20 +01:00
larabr
8854b097b4 Use native BigInt when available instead of bn.js ()
In the lightweight build, lazily load bn.js only when necessary.

Also, use Uint8Arrays instead of strings in PKCS1 padding functions, and
check that the leading zero is present when decoding EME-PKCS1 padding.
2021-02-09 19:25:20 +01:00