Is --export-ssh-key functionality possible with GnuPG 2.0?

Teemu Likonen tlikonen at iki.fi
Thu Nov 24 16:59:41 CET 2016


Peter Lebbing [2016-11-24 16:04:42+01] wrote:

> On 24/11/16 15:27, Teemu Likonen wrote:
>> Unfortunately I have GnuPG 2.0.26 (as packaged in Debian 8). Can it be
>> told to export ssh public keys?
>
> I think 2.0 also supported:
>
> $ ssh-add -L
>
> to list all SSH keys known to the agent. ssh-add is part of the
> openssh-client package.

That works if the key is already known to the gpg-agent but it seems
that gpg 2.0 has also a problem in making A-capable keys known to ssh
agent protocol. I believe that file ~/.gnupg/sshcontrol should contain
key's keygrip but how do I get the keygrip when there's no
--with-keygrip option in 2.0?

-- 
/// Teemu Likonen   - .-..   <https://github.com/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: </pipermail/attachments/20161124/27fceef8/attachment.sig>


More information about the Gnupg-users mailing list