mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-03-02 06:53:24 +00:00
We got a report of a message including a PKESK packet where the ECDH x25519Legacy point was missing the leading byte (0x40). While decryption naturally would naturally fail afterwards, this change ensures we fail at a higher level, and do not blindly pass down invalid data to the low-level crypto functions.