gpgme and keys on smartcards

2012-09-21 Thread Hendrik Jaeger
Hi, I am trying to replace my "old" keypair with one stored on a smartcard. I have a SCM SPR-332 (reader with pinpad), which seems to work fine with gpg. I can list the cards’ contents, create signatures and I’m asked to enter the pin on the pinpad: % gpg -u '3352C710!' -b -a gpgsign.c.old -- I’m

Re: Newbie: Commandline still prompting for passphrase?

2012-09-21 Thread John Morris
Gnupg2 won't read the password from a fd. You must use a gpg-agent. You can get the expected behavior from gnupg v. 1. John On 09/18/2012 11:25 PM, Mark Brownlee wrote: echo MyPasword1432!|"C:\Program Files\GNU\GnuPG\gpg2.exe" --passphrase-fd 0 --homedir "C:\Users\Mark\AppData\Roamin

Re: Newbie: Commandline still prompting for passphrase?

2012-09-21 Thread Hauke Laging
Am Fr 21.09.2012, 10:33:05 schrieb John Morris: > Gnupg2 won't read the password from a fd. You must use a gpg-agent. > > You can get the expected behavior from gnupg v. 1. For gpg-agent the helper program gpg-preset-passphrase can be used. Hauke -- ☺ PGP: D44C 6A5B 71B0 427C CED3 025C BD7D 6D2

revoked DF951131

2012-09-21 Thread da...@gbenet.com
Hi All, I have revoked my public and private key DF951131 (postmas...@gbenet.com) and sent a revocation certificate to key servers - if you see it's been revoked after the update you can delete the key. Over the next few days I will create another. David -- https://linuxcounter.net/user/512854

Re: Newbie: Commandline still prompting for passphrase?

2012-09-21 Thread MarkB123
Thanks. I was able to get it to work using the --batch command. Hauke Laging wrote: > > Am Fr 21.09.2012, 10:33:05 schrieb John Morris: >> Gnupg2 won't read the password from a fd. You must use a gpg-agent. >> >> You can get the expected behavior from gnupg v. 1. > > For gpg-agent the helper

Re: Newbie: Commandline still prompting for passphrase?

2012-09-21 Thread MarkB123
Thanks. I was able to get it to work using the --batch command. John Morris-8 wrote: > > Gnupg2 won't read the password from a fd. You must use a gpg-agent. > > You can get the expected behavior from gnupg v. 1. > > John > > > On 09/18/2012 11:25 PM, Mark Brownlee wrote: >> echo MyP