Re: content of private-keys-v1.d

2017-02-09 Thread Marko Bauhardt
Hi, > > gnupg/agent/keyformat.txt you mean here http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob_plain;f=agent/keyformat.txt ? The part i’m interested in should be this right? {quote} ** Shad

Re: content of private-keys-v1.d

2017-02-08 Thread Marko Bauhardt
> > I don't think it has really been documented. I guess the source code *is* the > documentation. ;). Understand hehe. Thanks a lot for all your answers! Marko ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/l

Re: content of private-keys-v1.d

2017-02-08 Thread Werner Koch
On Wed, 8 Feb 2017 13:31, dgouttegat...@incenp.org said: > I don't think it has really been documented. I guess the source code > *is* the documentation. The format of the private key files is documented in gnupg/agent/keyformat.txt Salam-Shalom, Werner -- Die Gedanken sind frei. Ausna

Re: content of private-keys-v1.d

2017-02-08 Thread Damien Goutte-Gattat
On 02/08/2017 06:25 PM, Werner Koch wrote: The format of the private key files is documented in gnupg/agent/keyformat.txt Obviously I had completely overlooked this file, my bad. Sorry for the disinformation. It's good to know that the documentation is there. Damien signature.asc Descr

Re: content of private-keys-v1.d

2017-02-08 Thread Damien Goutte-Gattat
On 02/08/2017 12:13 PM, Marko Bauhardt wrote: You mean that this “stub” contains no information which can be use to sign/decrypt/authenticate? Yes. The stub contains only the serial number of the smartcard on which the private key is stored. Or in other words in case someone steal this key,

Re: content of private-keys-v1.d

2017-02-08 Thread Marko Bauhardt
> On 08 Feb 2017, at 10:17, Damien Goutte-Gattat > wrote: > > Even when your private keys are stored on a smartcard, you would still have a > corresponding file in the private-keys-v1.d directory. But this file is only > a "stub", that is, it only tells GnuPG t

Re: content of private-keys-v1.d

2017-02-08 Thread Damien Goutte-Gattat
Hi, On 02/08/2017 08:23 AM, Marko Bauhardt wrote: My question is. What is this for a key and for what is that key used for? The folder name `private-keys-v1.d` sounds like to store keys from GPG version 1.x. But i’m using 2.0.x. Any comments about his folder? This folder holds all the private

content of private-keys-v1.d

2017-02-07 Thread Marko Bauhardt
Hi, I’m using GPG 2.0.30 on osx. My goal is to not save any private key on any machine i’m using. So i bought me a smart card (yubikey) to save my private keys there. I have 3 keys, sign/encrypt/auth. Everything works so far. I’m using the gpg-agent to use my authentication subkey from my yubike