Home GnuPG
Diffusion GnuPG cf83ff01fce3

agent: Compute correct MPI length header for protected ECC keys.
cf83ff01fce3Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

agent: Compute correct MPI length header for protected ECC keys.

* agent/cvt-openpgp.c (apply_protection): Strip leading zeroes from
opaque MPIs to comply with the OpenPGP spec.

This patch is the protected private key counterpart to commit ab17f7b.
Thanks to andy_s for describing the problem.

  • GnuPG-bug-id: T1853
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 19 2015, 6:01 PM
Parents
rGdc10d466bff5: hkps: Fix host name verification when using pools.
Branches
Unknown
Tags
Unknown