mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-07-04 12:02:29 +00:00

Signature parsing would fail in case of unexpected payload sizes, causing key parsing to always throw when processing e.g. an (unsupported) Curve448Legacy subkey instead of ignoring it. To address this, we now throw on signature verification instead of parsing (as done for ECDSA). NB: the bug and this fix are not relevant for the new Ed25519/Ed448 entities as standardized by the crypto-refresh.