Home GnuPG
Diffusion GnuPG ebf24e3b2976

agent: SSH support improvement.
ebf24e3b2976Unpublished

Unpublished Commit · Learn More

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

Description

agent: SSH support improvement.

* agent/command-ssh.c (ssh_handler_request_identities): Skip a key with
error, not giving up to handle the request itself.
* agent/cvt-openpgp.c (extract_private_key): Support "ecdsa" key.

Note that "ecdsa" key is still in use by old versions of gpg-agent
through its SSH handling (until 2.1.14). With old versions of
gpg-agent, adding ECDSA key by ssh-add command, "ecdsa" key will be
created. So, "ecdsa" key should be supported.

For g10/gpg, "ecdsa" and "ecdh" was only used in some experimental
versions of libgcrypt, with parameters. We now use "ecc" for all cases
in released versions.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Aug 9 2016, 4:42 AM
Parents
rG491d6fdabb3d: gpg: Cleanup of dek_to_passphrase function (part 2).
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rGebf24e3b2976: agent: SSH support improvement. (authored by NIIBE Yutaka <gniibe@fsij.org>).Aug 9 2016, 4:42 AM