Home GnuPG
Diffusion GnuPG 9453d645d4a4

agent: Fix agent_public_key_from_file for ECC.
9453d645d4a4Unpublished

Unpublished Commit · Learn More

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

Description

agent: Fix agent_public_key_from_file for ECC.

* agent/cvt-openpgp.c (extract_private_key): New.
(convert_to_openpgp): Use extract_private_key.
* agent/findkey.c (agent_public_key_from_file): Use
extract_private_key.

This patch add support of ECC key with a curve name and flags. Since
same functionality is also needed for convert_to_openpgp, it was
factored out into the extract_private_key function.

Details

Provenance
gniibeAuthored on Jan 27 2015, 1:30 AM
Parents
rG6c87d1ce66d8: sm: Simplify fix ed8383c6
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rG9453d645d4a4: agent: Fix agent_public_key_from_file for ECC. (authored by NIIBE Yutaka <gniibe@fsij.org>).Jan 27 2015, 1:30 AM