fork-openpgpjs/src/key
larabr 775dade80f
Add UnparseablePacket to properly deal with key blocks that include malformed/unsupported packets (#1522)
When parsing errors are being ignored, packets that fail to parse are now
included in the resulting packet list as `UnparseablePacket`s . This way, when
parsing keys that contain unparsable (sub)key, we avoid associating the
following non-key packets to the wrong key entity.

On serialization, `UnparseablePacket`s are also included by writing their raw
packet body as it was read.
2022-05-24 20:12:57 +02:00
..
factory.js Replace armor option with format in openpgp.encrypt, sign and encryptSessionKey (#1354) 2021-07-19 18:12:42 +02:00
helper.js Replace strings with integer algorithm identifiers in packet classes (#1410) 2021-11-22 11:51:27 +01:00
index.js Lint: error if imported value not found in module (#1507) 2022-03-14 21:40:16 +01:00
key.js Add UnparseablePacket to properly deal with key blocks that include malformed/unsupported packets (#1522) 2022-05-24 20:12:57 +02:00
private_key.js Check key requirements in PrivateKey.addSubkey() (#1423) 2021-12-01 17:04:02 +01:00
public_key.js Lint: enforce single quotes and do not error on class methods without this (#1341) 2021-06-24 22:58:15 +02:00
subkey.js Remove primaryKey argument from User methods, rename User.sign to User.certify (#1329) 2021-06-15 17:42:00 +02:00
user.js Support using Key.isPrivate() for type inference, remove Key.isPublic() (#1347) 2021-06-24 19:53:10 +02:00