fork-openpgpjs/test
larabr 88b1380a54
Add config.allowInsecureVerificationWithReformattedKeys (#1422)
Using `openpgp.reformatKey` with the default `date` option would render
messages signed with the original key unverifiable by OpenPGP.js v5 (not v4),
since the signing key would not be considered valid at the time of signing (due
to its self-certification signature being in the future, compared to the
message signature creation time).

This commit adds `config.allowInsecureVerificationWithReformattedKeys` (false
by default) to make it possible to still verify such messages with the
reformatted key provided the key is valid at the `date` specified for
verification (which defaults to the current time).
2021-10-18 18:10:04 +02:00
..
benchmarks CI: Add memory usage regression monitoring for pull requests (#1415) 2021-10-15 16:16:34 +02:00
crypto Add config.rejectCurves and prevent generating keys using blacklisted algorithms (#1395) 2021-08-19 17:58:16 +02:00
general Add config.allowInsecureVerificationWithReformattedKeys (#1422) 2021-10-18 18:10:04 +02:00
security Replace armor option with format in openpgp.encrypt, sign and encryptSessionKey (#1354) 2021-07-19 18:12:42 +02:00
typescript Replace armor option with format in openpgp.encrypt, sign and encryptSessionKey (#1354) 2021-07-19 18:12:42 +02:00
worker Remove valid and error from the verification result of openpgp.verify and decrypt (#1348) 2021-07-09 17:44:34 +02:00
karma.conf.js CI: Detect unhandled rejections in browser tests (#1333) 2021-06-15 16:39:56 +02:00
unittests.html CI: Switch to karma for browser tests (#1233) 2021-02-12 13:29:04 +01:00
unittests.js CI: Ignore unhandled rejections in tests in Safari 14.1 (#1371) 2021-07-09 16:35:40 +02:00