fork-openpgpjs/test/general
larabr 8a57246ec4
Add config.rejectPublicKeyAlgorithms (#1264)
- Add `config.rejectPublicKeyAlgorithms` to disallow using the given algorithms
  to verify, sign or encrypt new messages or third-party certifications.

- Consider `config.minRsaBits` when signing, verifying and encrypting messages
  and third-party certifications, not just on key generation.

- When verifying a message, if the verification key is not found (i.e. not
  provided or too weak), the corresponding `signature` will have
  `signature.valid=false` (used to be `signature.valid=null`).
  `signature.error` will detail whether the key is missing/too weak/etc.

Generating and verifying key certification signatures is still permitted in all cases.
2021-03-25 15:08:49 +01:00
..
armor.js Consolidate read* functions (#1236) 2021-02-17 20:36:33 +01:00
biginteger.js Lint all tests (#1235) 2021-02-12 23:00:22 +01:00
brainpool.js Drop support for verification of detached cleartext signatures (#1265) 2021-03-18 17:17:39 +01:00
config.js Add config.rejectPublicKeyAlgorithms (#1264) 2021-03-25 15:08:49 +01:00
decompression.js Consolidate read* functions (#1236) 2021-02-17 20:36:33 +01:00
ecc_nist.js Drop support for verification of detached cleartext signatures (#1265) 2021-03-18 17:17:39 +01:00
ecc_secp256k1.js Consolidate read* functions (#1236) 2021-02-17 20:36:33 +01:00
index.js Remove KeyRing class 2021-03-01 11:58:10 +01:00
key.js Add config.rejectPublicKeyAlgorithms (#1264) 2021-03-25 15:08:49 +01:00
oid.js Lint all tests (#1235) 2021-02-12 23:00:22 +01:00
openpgp.js Add config.rejectPublicKeyAlgorithms (#1264) 2021-03-25 15:08:49 +01:00
packet.js Rename config.ignoreMdcError, drop config.integrityProtect and allow V4 keys to be AEAD-encrypted (#1261) 2021-03-03 18:05:40 +01:00
signature.js Add config.rejectPublicKeyAlgorithms (#1264) 2021-03-25 15:08:49 +01:00
streaming.js Add config.rejectPublicKeyAlgorithms (#1264) 2021-03-25 15:08:49 +01:00
testInputs.js Store named key params in key objects (#1141) 2021-02-09 19:25:20 +01:00
util.js Move WKD client to openpgpjs/wkd-client 2021-03-01 01:02:16 +01:00
x25519.js Add config.rejectPublicKeyAlgorithms (#1264) 2021-03-25 15:08:49 +01:00