Home GnuPG
Diffusion GnuPG 8dfef5197af9

sm: Support import of PKCS#12 encoded ECC private keys.

Description

sm: Support import of PKCS#12 encoded ECC private keys.

* sm/minip12.c: Include ksba.h.
(oid_pcPublicKey): New const.
(parse_bag_data): Add arg 'r-curve'.  Support parsing of ECC private
keys.
(p12_parse): Add arg 'r_curve'.
* sm/import.c (parse_p12): Support ECC import.
  • GnuPG-bug-id: T4921
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details