using an OpenPGP card with Java (keytool and jarsigner)

2014-01-07 Thread Hans-Christoph Steiner
Hey all, Does anyone know if there is any chance of using an OpenPGP smart card for Java? I know that GnuPG doesn't support PKCS#11, but I was wondering if things work the otherway around: java using the OpenPGP card. It would be super useful to be able to use the same smartcard for both

Re: using an OpenPGP card with Java (keytool and jarsigner)

2014-01-07 Thread NdK
Il 07/01/2014 04:01, Hans-Christoph Steiner ha scritto: Does anyone know if there is any chance of using an OpenPGP smart card for Java? I know that GnuPG doesn't support PKCS#11, but I was wondering if things work the otherway around: java using the OpenPGP card. It would be super useful

Re: using an OpenPGP card with Java (keytool and jarsigner)

2014-01-07 Thread Hans-Christoph Steiner
NdK wrote: Il 07/01/2014 04:01, Hans-Christoph Steiner ha scritto: Does anyone know if there is any chance of using an OpenPGP smart card for Java? I know that GnuPG doesn't support PKCS#11, but I was wondering if things work the otherway around: java using the OpenPGP card. It would be

Re: USB key form-factor smart-card readers with pinpads?

2014-01-07 Thread Sam Kuper
Dear Werner, Thank you for your kind reply. On 06/01/2014, Werner Koch w...@gnupg.org wrote: The question is whether this is really helpful. Yes, it protects your PIN That is helpful. No question about this part! After a successful verification of the PIN the card allows the use of the

Re: USB key form-factor smart-card readers with pinpads?

2014-01-07 Thread Werner Koch
On Tue, 7 Jan 2014 16:28, sam.ku...@uclmail.net said: PSO:DEC but does not define it. That document also mentions PSO:DECRYPT but does not define it. And finally, that document defines PSO: DECIPHER. Are these three terms synonyms, or do they I guess so. 2. I assume that your PSO Decrypt

Re: USB key form-factor smart-card readers with pinpads?

2014-01-07 Thread Peter Lebbing
On 07/01/14 17:27, Werner Koch wrote: See the card HOWTO or try gpg --card-edit, admin, help. Additionally, in the OpenPGP Card 2.0.1 spec, the DO with tag C4 on page 17, section 7.2.2 (VERIFY) and section 7.2.8 (PSO: COMPUTE DIGITAL SIGNATURE) all specify this one-VERIFY-per-SIG behaviour.

Re: using an OpenPGP card with Java (keytool and jarsigner)

2014-01-07 Thread Hans-Christoph Steiner
On 01/07/2014 09:32 AM, Hans-Christoph Steiner wrote: NdK wrote: Il 07/01/2014 04:01, Hans-Christoph Steiner ha scritto: Does anyone know if there is any chance of using an OpenPGP smart card for Java? I know that GnuPG doesn't support PKCS#11, but I was wondering if things work the

Re: isolating the signature from encrypted data (was: sign encrypted emails)

2014-01-07 Thread MFPA
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi On Monday 6 January 2014 at 2:24:10 AM, in mid:7677715.1slnlpw...@inno.berlin.laging.de, Hauke Laging wrote: That is correct. I am not aware of a possibility to get the data and the signature from GnuPG. But that doesn't mean it's not