fork-openpgpjs/test/crypto
larabr 8d67af729a Use higher level functions in key validation tests (#1128)
Use `key.keyPacket.validate` instead of `crypto.publicKey.validateParams`, see
https://github.com/openpgpjs/openpgpjs/pull/1116#discussion_r447781386.

Also, `key.decrypt` now only throws on error, no other value is returned.

Also, fix typo (rebase error) that caused tests to fail in Safari for p521.
2021-02-09 19:25:20 +01:00
..
cipher Switch build system to rollup 2021-02-09 19:25:20 +01:00
hash Switch build system to rollup 2021-02-09 19:25:20 +01:00
aes_kw.js Switch build system to rollup 2021-02-09 19:25:20 +01:00
crypto.js Switch build system to rollup 2021-02-09 19:25:20 +01:00
eax.js Switch build system to rollup 2021-02-09 19:25:20 +01:00
ecdh.js Switch build system to rollup 2021-02-09 19:25:20 +01:00
elliptic_data.js Apply eslint to test/crypto folder (#1003) 2019-11-19 14:29:32 +01:00
elliptic.js Switch build system to rollup 2021-02-09 19:25:20 +01:00
index.js Finish merging key validation 2021-02-09 19:25:20 +01:00
ocb.js Switch build system to rollup 2021-02-09 19:25:20 +01:00
pkcs5.js Switch build system to rollup 2021-02-09 19:25:20 +01:00
random.js Switch build system to rollup 2021-02-09 19:25:20 +01:00
rsa.js Switch build system to rollup 2021-02-09 19:25:20 +01:00
validate.js Use higher level functions in key validation tests (#1128) 2021-02-09 19:25:20 +01:00