GPG Assuan protocol usage

2014-01-08 Thread Alan Meekins
Hi gpg-ers, I'm interested in utilizing GnuPG in software that I'm writing and it seems that communicating with the gpg-agent over a unix socket using the Assuan protocol is best suited for my use case but am open to other options if there are better approaches. My problem lies in getting the

GnuPG 2.0.22 installation on Suse Enterprise 11.3

2014-01-08 Thread Calvin Tan
Hi all, I was attempting to upgrade the GnuPG 2.0.9 on the Suse Linux to version 2.0.22 but was hit by some missing dependency. May I know what are the necessary package that I need to install before installing GnuPG 2.0.22? I have installed libassuan-2.1.1-1 which I believe is part of the

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

2014-01-08 Thread Werner Koch
On Tue, 7 Jan 2014 15:32, h...@guardianproject.info said: OpenPGP card as a PKCS11 keystore. It seems that things are close: Java can use NSS as a provider of PKCS11. I guess the question is whether opensc is making a PKCS#11 interface to the OpenPGP card, that's the bit that I don't Scute

Re: GPG Assuan protocol usage

2014-01-08 Thread Werner Koch
On Wed, 8 Jan 2014 00:30, alan.meek...@gmail.com said: D (genkey (rsa (nbits 4096))) Use D (genkey (rsa (nbits 4:4096))) to match the S-expression syntax. A leading digit denotes a length and thus you can't enter a number without its length. Yes, this is a common pitfall. Instead of

Re: GnuPG 2.0.22 installation on Suse Enterprise 11.3

2014-01-08 Thread Werner Koch
On Wed, 8 Jan 2014 09:06, spldemou...@gmail.com said: I was attempting to upgrade the GnuPG 2.0.9 on the Suse Linux to version 2.0.22 but was hit by some missing dependency. May I know what are the necessary package that I need to install before installing GnuPG 2.0.22? Running ./configure

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

2014-01-08 Thread Hans-Christoph Steiner
On 01/08/2014 07:02 AM, Werner Koch wrote: On Tue, 7 Jan 2014 15:32, h...@guardianproject.info said: OpenPGP card as a PKCS11 keystore. It seems that things are close: Java can use NSS as a provider of PKCS11. I guess the question is whether opensc is making a PKCS#11 interface to the

Re: GPG Assuan protocol usage

2014-01-08 Thread Alan Meekins
Ah thanks, that was the problem. Would be helpful if this pagehttp://www.gnupg.org/documentation/manuals/gnupg-devel/Agent-GENKEY.html#Agent-GENKEYwere updated to reflect the correct syntax for future users. Was just using socat for testing purposes. My system requires the lowest latency and