[PATCH 2/4] clarify gpgkey2ssh usage

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Oct 28 16:51:19 CET 2015

On Wed 2015-10-28 05:37:23 -0400, Werner Koch <wk at gnupg.org> wrote:
> On Tue, 27 Oct 2015 22:09, dkg at fifthhorseman.net said:
>> This update makes the tool marginally more intelligible to a normal
>> user, without changing its behavior.
> Frankly, I do not understand for what this tool is used.  It states:
>   gpgkey2ssh.c - Converter  (Debug helper)
> but I can't remember that I ever used it.  It has also a lot of problems
> for example the missing support for modern key algorithms.

These minor changes were preparation work to make it friendly enough to
bother adding support for modern key algorithms.  I'd be happy to work
on adding these if you think it's useful.  I can also write up some
simple/minimalist documentation.

> What are the use cases for it?  Extracting public keys from an OpenPGP
> key to put it into authorized keys?

yes, this is what it's useful for.

It might be nice to also extend it to being able to extract secret keys
into the OpenSSH secret key format, but that would be a future project.


More information about the Gnupg-devel mailing list