Re: Yubikey keytocard: "Bad secret key" [ ref:_00D58dJQM._5004Iusk9k:ref ]

2019-11-04 Thread Informa D&B via Gnupg-users
Exmos. Senhores, Recebemos a informação que tiveram hoje a amabilidade de nos transmitir e que muito agradecemos. Vamos imediatamente analisar o caso e responderemos com a máxima brevidade possível ao vosso pedido. Assim que for possível, o Serviço de Apoio ao Cliente entrará em contacto convo

Re: Yubikey keytocard: "Bad secret key" [ ref:_00D58dJQM._5004IuskP9:ref ]

2019-11-04 Thread Informa D&B via Gnupg-users
Exmos. Senhores, Recebemos a informação que tiveram hoje a amabilidade de nos transmitir e que muito agradecemos. Vamos imediatamente analisar o caso e responderemos com a máxima brevidade possível ao vosso pedido. Assim que for possível, o Serviço de Apoio ao Cliente entrará em contacto convo

Re: Yubikey keytocard: "Bad secret key" [ ref:_00D58dJQM._5004IuskUi:ref ]

2019-11-04 Thread Informa D&B via Gnupg-users
Exmos. Senhores, Recebemos a informação que tiveram hoje a amabilidade de nos transmitir e que muito agradecemos. Vamos imediatamente analisar o caso e responderemos com a máxima brevidade possível ao vosso pedido. Assim que for possível, o Serviço de Apoio ao Cliente entrará em contacto convo

Re: Yubikey keytocard: "Bad secret key"

2019-11-04 Thread Valentin Cocaud via Gnupg-users
On Feb 18, 2019; 12:09pm, Peter Lebbing wrote: > Maybe it has stopped doing that now, > and you need to do: > > $ gpg --card-edit > [...] > gpg> key-attr > > to select the desired key length before keytocard. > > At the moment, I don't have a version with key-attr at hand to quickly > test myself.

Re: Yubikey keytocard: "Bad secret key"

2019-11-04 Thread Valentin Cocaud via Gnupg-users
On Feb 18, 2019; 12:09pm, Peter Lebbing wrote: > Maybe it has stopped doing that now, > and you need to do: > > $ gpg --card-edit > [...] > gpg> key-attr > > to select the desired key length before keytocard. > > At the moment, I don't have a version with key-attr at hand to quickly > test myself.

Re: Yubikey keytocard: "Bad secret key"

2019-11-04 Thread Valentin Cocaud via Gnupg-users
On Feb 18, 2019; 12:09pm, Peter Lebbing wrote: > Maybe it has stopped doing that now, > and you need to do: > > $ gpg --card-edit > [...] > gpg> key-attr > > to select the desired key length before keytocard. > > At the moment, I don't have a version with key-attr at hand to quickly > test myself.

Re: Yubikey keytocard: "Bad secret key"

2019-02-18 Thread Peter Lebbing
On 18/02/2019 06:51, Farhan Khan via Gnupg-users wrote: > This was it, loading a 2048-bit key works just fine > Thanks Andrew! First of all, I think it's a much better idea to generate a 2048-bit key anyway, so it worked out okay. But the problem is interesting. Before --card-edit gained its key-

Re: Yubikey keytocard: "Bad secret key"

2019-02-17 Thread Farhan Khan via Gnupg-users
February 17, 2019 4:26 AM, "Andrew Gallagher" wrote: >> On 17 Feb 2019, at 07:20, Farhan Khan via Gnupg-users >> wrote: >> >> Key attributes ...: rsa2048 rsa2048 rsa2048 > > But you’re trying to load an rsa1024 key onto it. Have you tried loading a > 2048 bit key instead? > > A > > ___

Re: Yubikey keytocard: "Bad secret key"

2019-02-17 Thread Andrew Gallagher
> On 17 Feb 2019, at 07:20, Farhan Khan via Gnupg-users > wrote: > > Key attributes ...: rsa2048 rsa2048 rsa2048 But you’re trying to load an rsa1024 key onto it. Have you tried loading a 2048 bit key instead? A ___ Gnupg-users mailing list Gnupg-

Yubikey keytocard: "Bad secret key"

2019-02-17 Thread Farhan Khan via Gnupg-users
Hi all, I am trying to import my existing PGP key to my Yubikey and I keep getting: gpg: KEYTOCARD failed: Bad secret key Even after I reset the pin or set a custom value. I am following the instructions here (https://support.yubico.com/support/solutions/articles/1506421-resetting-the-open