Re: Aw: Re: SmartCard v2.1 : factory reset fails

2017-02-15 Thread NIIBE Yutaka
Hello, Fib Moro wrote: > I start gpg in "--edit-key" mode. > Then I select a subkey I want to move to the card by issuing command "key 1". > After the "keytocard" command it asks me where to store the key for which I > choose option 1 signature key. > It then prompts me for the

Re: Aw: Re: SmartCard v2.1 : factory reset fails

2017-02-15 Thread NIIBE Yutaka
Hello, again, I found a bug in GnuPG 2.1.18 for factory-reset command handling (it's not in 2.1.17 or older), I fixed it today. Then, I tested my OpenPGP card 2.1. Let us fix a thing one by one. First, the Reset Code handling. Fib Moro wrote: > It doesn't even get to the

Aw: Re: SmartCard v2.1 : factory reset fails

2017-02-14 Thread Fib Moro
Hello Yutaka, > > The length of the Reset Code should be more than or equals to 8. If it > is shorter, it fails. What is your case? > -- > It doesn't even get to the point where it prompts me for the Reset Code: Here is what I do: When try to set the reset code via "passwd => 4" it