Re: OpenPGP card v2.1 and Cherry ST-2000U - Only 1024-bit keys are possible

2015-09-16 Thread Guan Xin
On Wed, Sep 16, 2015 at 11:57 AM, NIIBE Yutaka wrote: > > Thanks. Timeout should be more than 13 second. I'll use this value. > > Reference: > > ccid-1.4.20/src/ifdhandler.c:T1_card_timeout Thanks for your informative help! Good to know how it works besides getting it working. Guan _

Re: OpenPGP card v2.1 and Cherry ST-2000U - Only 1024-bit keys are possible

2015-09-16 Thread NIIBE Yutaka
On 2015-09-16 at 11:18 +0200, Guan Xin wrote: > "slot 0: ATR=3B DA 18 FF 81 B1 FE 75 1F 03 00 31 C5 73 C0 01 40 00 90 00 0C" Thanks. Timeout should be more than 13 second. I'll use this value. Reference: ccid-1.4.20/src/ifdhandler.c:T1_card_timeout -- __

Re: OpenPGP card v2.1 and Cherry ST-2000U - Only 1024-bit keys are possible

2015-09-16 Thread NIIBE Yutaka
On 2015-09-16 at 11:18 +0200, Guan Xin wrote: > On Tue, Sep 15, 2015 at 9:29 AM, NIIBE Yutaka wrote: > > > > I think that timeout for OpenPGPcard v2.1 would be different. If > > possible, could you please show us the ATR string of the card? > > It's in the debug log of scdaemon. It's like the li

Re: OpenPGP card v2.1 and Cherry ST-2000U - Only 1024-bit keys are possible

2015-09-16 Thread Guan Xin
On Tue, Sep 15, 2015 at 9:29 AM, NIIBE Yutaka wrote: > > I think that timeout for OpenPGPcard v2.1 would be different. If > possible, could you please show us the ATR string of the card? > It's in the debug log of scdaemon. It's like the like: > > == > slot 0: ATR

Re: OpenPGP card v2.1 and Cherry ST-2000U - Only 1024-bit keys are possible

2015-09-15 Thread NIIBE Yutaka
On 09/11/2015 08:14 PM, Guan Xin wrote: > I tried the combination of > pcsc-lite-1.8.14 > ccid-1.4.20 > gnupg-2.0.29 (configured with --disable-ccid-driver) > Both 2048 and 4096-bit keys can be generated without error. > Also tried gnupg-2.0.29 using its internal ccid-driver with debug output

Re: OpenPGP card v2.1 and Cherry ST-2000U - Only 1024-bit keys are possible

2015-09-11 Thread Guan Xin
On Fri, Sep 11, 2015 at 3:11 AM, NIIBE Yutaka wrote: > > I think that you are using some Unix Operating System. Could you try > to use PC/SC service, by installing pcscd (and libccid)? If it works, > I think that it's the issue of timeout management of internal CCID of > GnuPG. > Hello NIIBE,

Re: OpenPGP card v2.1 and Cherry ST-2000U - Only 1024-bit keys are possible

2015-09-10 Thread NIIBE Yutaka
Hello, On 09/10/2015 11:23 PM, Guan Xin wrote: > I'm new to gpg. Just got a Cherry ST-2000U and OpenPGP card v2.1. > I can generate 1024-bit keys with the "generate" command of gpg2. > However, generation of 2048 or 4096-bit keys never succeed. The errors are: [...] > scdaemon[10116]: please wait

Re: OpenPGP card v2.1 and Cherry ST-2000U - Only 1024-bit keys are possible

2015-09-10 Thread Thomas Jarosch
Hi Guan, On Thursday, 10. September 2015 16:23:18 Guan Xin wrote: > I'm new to gpg. Just got a Cherry ST-2000U and OpenPGP card v2.1. > I can generate 1024-bit keys with the "generate" command of gpg2. > However, generation of 2048 or 4096-bit keys never succeed. > ... > Software versions: > gpg

OpenPGP card v2.1 and Cherry ST-2000U - Only 1024-bit keys are possible

2015-09-10 Thread Guan Xin
Hello, I'm new to gpg. Just got a Cherry ST-2000U and OpenPGP card v2.1. I can generate 1024-bit keys with the "generate" command of gpg2. However, generation of 2048 or 4096-bit keys never succeed. The errors are: ... ... (snip) Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o scdaemon[10116