Re: changing the passphrase of the secret key stored in the GnuPG card

2017-06-12 Thread Matthias Apitz
El día lunes, junio 12, 2017 a las 01:28:28p. m. +0200, Damien Goutte-Gattat escribió: > On 06/12/2017 07:31 AM, Matthias Apitz wrote: > > Now we are on track with my question. The background is/was: what > > exactly I have todo with this backup key, for example in case the GnuPG > > card gets lo

Re: changing the passphrase of the secret key stored in the GnuPG card

2017-06-12 Thread Damien Goutte-Gattat
I forgot an important detail: On 06/12/2017 01:28 PM, Damien Goutte-Gattat wrote: First, remove the private key stubs: $ rm ~/.gnupg/private-keys-v1.d/*.key This command will delete *all* your private keys. You should use it "as is" only if *all* your private keys are stored on a smartcar

Re: changing the passphrase of the secret key stored in the GnuPG card

2017-06-12 Thread Damien Goutte-Gattat
On 06/12/2017 07:31 AM, Matthias Apitz wrote: Now we are on track with my question. The background is/was: what exactly I have todo with this backup key, for example in case the GnuPG card gets lost or stolen? You would have to import your backup key into your private keyring using gpg's --imp

Re: changing the passphrase of the secret key stored in the GnuPG card

2017-06-11 Thread Matthias Apitz
El día domingo, junio 11, 2017 a las 10:00:00p. m. +0200, Peter Lebbing escribió: > On 11/06/17 21:48, Matthias Apitz wrote: > > My question remains: How can I change (or verify) the above Passphrase I > > have used? > > Ah! That's the encryption of the backup key, not of the secret key > stored

Re: changing the passphrase of the secret key stored in the GnuPG card

2017-06-11 Thread Teemu Likonen
Matthias Apitz [2017-06-11 20:07:12+02] wrote: > How could I change the passphrase I have entered while generating the > keys on the GnuPG card? I tried with no success: > > $ LANG=C gpg2 --edit-key Matthias passwd "gpg2 --edit-key" is for normal keyrings. Your key is on the card so you edit the

Re: changing the passphrase of the secret key stored in the GnuPG card

2017-06-11 Thread Peter Lebbing
On 11/06/17 21:48, Matthias Apitz wrote: > My question remains: How can I change (or verify) the above Passphrase I > have used? Ah! That's the encryption of the backup key, not of the secret key stored in the smart card. Well, it's ultimately the same key, but it's not the copy of it stored in th

Re: changing the passphrase of the secret key stored in the GnuPG card

2017-06-11 Thread Matthias Apitz
El día domingo, junio 11, 2017 a las 09:37:51p. m. +0200, Peter Lebbing escribió: > On 11/06/17 21:05, Matthias Apitz wrote: > > I know, but I want to change the passphrase, not the PIN. > > They are the same thing, it's just a choice of terminology. Since user > authentication to a smartcard is

Re: changing the passphrase of the secret key stored in the GnuPG card

2017-06-11 Thread Peter Lebbing
On 11/06/17 21:05, Matthias Apitz wrote: > I know, but I want to change the passphrase, not the PIN. They are the same thing, it's just a choice of terminology. Since user authentication to a smartcard is traditionally done using numerics only and card readers with PINpads also usually only use nu

Re: changing the passphrase of the secret key stored in the GnuPG card

2017-06-11 Thread Matthias Apitz
El día domingo, junio 11, 2017 a las 08:51:58p. m. +0200, Werner Koch escribió: > On Sun, 11 Jun 2017 20:07, g...@unixarea.de said: > > How could I change the passphrase I have entered while generating the > > keys on the GnuPG card? I tried with no success: > > To change the PINs on the card you

Re: changing the passphrase of the secret key stored in the GnuPG card

2017-06-11 Thread Werner Koch
On Sun, 11 Jun 2017 20:07, g...@unixarea.de said: > How could I change the passphrase I have entered while generating the > keys on the GnuPG card? I tried with no success: To change the PINs on the card you need to use gpg --card-edit At the prompt you can directly change the PIN using "pass