Home GnuPG
Diffusion GnuPG 4970868d8d84

gpg: New command --export-ssh-key
4970868d8d84Unpublished

Unpublished Commit · Learn More

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

Description

gpg: New command --export-ssh-key

* g10/export.c: Include membuf.h and host2net.h.
(key_to_sshblob): New.
(export_ssh_key): New.
* g10/gpg.c (aExportSshKey): New.
(opts): Add command.
(main): Implement that command.

I have done only a few tests rights now and the ECDSA curves do not
yet work. However ssh-keygen -l accept RSA and ed25519 keys exported
using this command.

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

Details

Provenance
wernerAuthored on Jan 8 2016, 5:22 PM
Parents
rG34bca9cd4b85: gpg: Add an exact search flag to the PK struct.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG4970868d8d84: gpg: New command --export-ssh-key (authored by Werner Koch <wk@gnupg.org>).Jan 8 2016, 5:22 PM
werner mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:08 PM
werner mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:31 PM