fork-openpgpjs/test/general
larabr 43fb58404d
Simplify algorithm preference selection and normalize config names (#1262)
- Rename `config.compression` to `config.preferredCompressionAlgorithm`
- Rename `config.encryptionCipher` to `config.preferredSymmetricAlgorithm`
- Rename `config.preferHashAlgorithm` to `config.preferredHashAlgorithm`
- Rename `config.aeadMode` to `config.preferredAeadAlgorithm`
- When encrypting to public keys, the compression/aead/symmetric algorithm is selected by:
  - taking the preferred algorithm specified in config, if it is supported by all recipients
  - otherwise, taking the "MUST implement" algorithm specified by rfc4880bis
- When encrypting to passphrases only (no public keys), the preferred algorithms from `config` are always used
- EdDSA signing with a hash algorithm weaker than sha256 is explicitly disallowed (https://tools.ietf.org/id/draft-ietf-openpgp-rfc4880bis-10.html#section-15-7.2)
2021-03-10 18:06:03 +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 Add config parameter to top-level functions (#1241) 2021-02-26 20:04:54 +01:00
config.js Simplify algorithm preference selection and normalize config names (#1262) 2021-03-10 18:06:03 +01:00
decompression.js Consolidate read* functions (#1236) 2021-02-17 20:36:33 +01:00
ecc_nist.js Consolidate read* functions (#1236) 2021-02-17 20:36:33 +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 Simplify algorithm preference selection and normalize config names (#1262) 2021-03-10 18:06:03 +01:00
oid.js Lint all tests (#1235) 2021-02-12 23:00:22 +01:00
openpgp.js Simplify algorithm preference selection and normalize config names (#1262) 2021-03-10 18:06:03 +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 Check critical notations during signature verification instead of parsing (#1259) 2021-03-03 18:03:45 +01:00
streaming.js Simplify algorithm preference selection and normalize config names (#1262) 2021-03-10 18:06:03 +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 Simplify algorithm preference selection and normalize config names (#1262) 2021-03-10 18:06:03 +01:00