Re: Card fails to decrypt using 4096-bit key

2012-11-07 Thread Werner Koch
On Wed, 31 Oct 2012 16:17, cor...@corsac.net said: > Signing using a 4096R key works just fine, but decryption using an 4096R > encryption key doesn't, with the same error. This is using GnuPG v2.0.19 > on Debian sid, with pcscd 1.8.6 (in case that matters). I fixed this yesterday for 2.0 and mas

Re: Card fails to decrypt using 4096-bit key

2012-10-31 Thread Yves-Alexis Perez
[sorry, I'm replying from an old mail and as I'm not subscribed I can't reply with the full text and correct headers] > However, whenever I try to decrypt a document encrypted to the > 4096 bit encryption key on the card, the decryption process fails to > even begin, with an error like the follow

Re: Card fails to decrypt using 4096-bit key

2012-06-26 Thread Marcos Aurelio Lenharo
Hi, the problem seems to be on libassuan ASSUAN_LINELENGTH define (today is 1002). On g10/call-agent.c:998 (agent_scd_pksign) there is the following line: if (indatalen*2 + 50 > DIM(line)) return gpg_error (GPG_ERR_GENERAL); and indatalen happens to be 512 for a 4096-bit key, which leads to

Card fails to decrypt using 4096-bit key

2012-05-19 Thread Kevin Kammer
I have seen a few other threads started on this problem I have just encountered, or similar subjects, most notably one some months ago by Edmond [at] systemli. However, I never saw a resolution posted, and I believe I have more data to work with. I have been using the ZeitControl OpenPGP cards fo