fork-openpgpjs/test/general
larabr 619d02d78c
Drop capabilities, keyID args in Key.getExpirationTime() and consider direct-key sigs (#1319)
- Fix #1159: `Key.verifyPrimaryKey` considers expiration time subpackets in
direct-key signatures to determine whether the key is expired.
- `Key.getExpirationTime()` does not take the `capabilities` and `keyID` arguments
anymore, and simply returns the expiration date of the primary key. Also, like
for `verifyPrimaryKey`, direct-key signatures are now taken into account.
- Keys and signatures are considered expired at the time of expiry, instead of
one second later.

Breaking change:
`Key.getExpirationTime(capabilities, keyID, userID, config)` ->
`.getExpirationTime(userID, config)`
2021-06-15 19:16:52 +02:00
..
armor.js Replace Key with PrivateKey and PublicKey classes (#1300) 2021-05-25 19:18:47 +02:00
biginteger.js Lint all tests (#1235) 2021-02-12 23:00:22 +01:00
brainpool.js Rename public/privateKeys to encryption/decryption/signing/verificationKeys (#1299) 2021-05-17 18:56:28 +02:00
config.js Rename public/privateKeys to encryption/decryption/signing/verificationKeys (#1299) 2021-05-17 18:56:28 +02:00
decompression.js Consolidate read* functions (#1236) 2021-02-17 20:36:33 +01:00
ecc_nist.js Rename public/privateKeys to encryption/decryption/signing/verificationKeys (#1299) 2021-05-17 18:56:28 +02:00
ecc_secp256k1.js Fix various signature verification issues (#1302) 2021-06-08 18:12:48 +02:00
index.js Remove KeyRing class 2021-03-01 11:58:10 +01:00
key.js Drop capabilities, keyID args in Key.getExpirationTime() and consider direct-key sigs (#1319) 2021-06-15 19:16:52 +02:00
oid.js Lint all tests (#1235) 2021-02-12 23:00:22 +01:00
openpgp.js Drop capabilities, keyID args in Key.getExpirationTime() and consider direct-key sigs (#1319) 2021-06-15 19:16:52 +02:00
packet.js Fix various signature verification issues (#1302) 2021-06-08 18:12:48 +02:00
signature.js Drop capabilities, keyID args in Key.getExpirationTime() and consider direct-key sigs (#1319) 2021-06-15 19:16:52 +02:00
streaming.js Rename public/privateKeys to encryption/decryption/signing/verificationKeys (#1299) 2021-05-17 18:56:28 +02:00
testInputs.js Store named key params in key objects (#1141) 2021-02-09 19:25:20 +01:00
util.js Use consistent name casing (#1268) 2021-03-25 19:56:59 +01:00
x25519.js Remove primaryKey argument from User methods, rename User.sign to User.certify (#1329) 2021-06-15 17:42:00 +02:00