gpg-agent ssh authentication sees non-existent key?

Grant Olson kgo at grant-olson.net
Wed Sep 15 03:17:05 CEST 2010


On 9/14/10 5:06 PM, Alex Mauer wrote:
> On 09/14/2010 03:34 PM, Grant Olson wrote:
>> Did gpg-agent stash a copy of the private key?  How do I delete that
>> copy?
> 
> I believe it’s one of the files in ~/.gnupg/private-keys-v1.d/ — at
> least, that’s where it is in Linux.
> 

Thanks, that did the trick.

So I've got two questions (for everyone).

I tried a bunch of random commands as I was getting things setup.  Did I
run something that copied the key from ~/.ssh/id_rsa to
~/.gnupg/private-keys-v1.d/DEADBEEFC00FEE.key?  Or did gpg-agent do that
automatically?

Does anyone else think it'd be better for pinentry to list the new
location (~/.gnupg/private-keys-v1.d/DEADBEEFC00FEE.key) or something
like "imported from ..." to indicate the real location of the gpg-agent
version of the key?  I could probably write a patch for that if people
think it's a good idea.

-- 
Grant

"I am gravely disappointed. Again you have made me unleash my dogs of war."

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 559 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20100914/d894c148/attachment.pgp>


More information about the Gnupg-users mailing list