Skip to content

openpgp: handle ??25519 secret keys with leading 0

Kai Michaelis requested to merge flanfly/sequoia:issue-96 into master

OpenPGP MPIs allow leading zeros to be omitted while Nettle expects the leading zeros ot be present. Now, we handle this by padding all secret keys before handing them off to nettle.

Fixes #96 (closed)

Merge request reports