Re: WINDOWS - Adding passphrase to gpg via command line

2016-06-17 Thread Peter Lebbing
Well, at least it seems to make more sense now. On 17/06/16 07:24, Mike Kaufmann wrote: > gpg --homedir C:\ESA\EIOPA\PreProd\DCCR -k > [...] > > gpg --homedir C:\ESA\EIOPA\PreProd\DCCR -K > [...] > > gpg --homedir c:\ESA\EIOPA\PreProd\DCCR --with-keygrip -K 29FDE3FE sec > rsa2048/29FDE3FE 2016-0

Re: WINDOWS - Adding passphrase to gpg via command line

2016-06-17 Thread Peter Lebbing
On 17/06/16 03:25, Marcos Aurelio Lenharo wrote: > I think this is related to the following issue I opened last year: > > https://bugs.gnupg.org/gnupg/issue2015 Thanks for the pointer! While I'm not sure, I think this isn't the problem in this specific case. I think that bug affects stuff that u

Re: WINDOWS - Adding passphrase to gpg via command line

2016-06-17 Thread Peter Lebbing
On 17/06/16 10:19, Peter Lebbing wrote: >> I use the following command to sign a file: >> gpg --homedir c:\ESA\EIOPA\PreProd\DCCR --output >> C:\ESA\EIOPA\Export\LI001_DATPPP_EIOPA_01_16.asc --armor -u >> sen...@sendercompany.com --digest-algo SHA512 --sign >> c:\ESA\EIOPA\LI001_DATPPP_EIOPA

Re: AW: WINDOWS - Adding passphrase to gpg via command line

2016-06-17 Thread Peter Lebbing
Hi, On 17/06/16 11:25, Mike Kaufmann wrote: > The hint with the homedir did the trick - you are my hero! Ah that's really great! > gpgconf --kill gpg-agent I read that in v2.1.13, gpgconf gains an option "--homedir" as well. So starting with that release, I'd advise to include the --homedir for

Re: How to sign a PDF using a DNIe

2016-06-17 Thread Werner Koch
On Fri, 17 Jun 2016 06:17, gni...@fsij.org said: > Telesec NKS > some specific pkcs#15 cards > SmartCard-HSM > > however, other than SmartCard-HSM, it's outdated. The Telesec NetKey 3.0 card should still work. We plan to use this card for the Gpg4VSNfd project (for S/MIME) and

AW: WINDOWS - Adding passphrase to gpg via command line

2016-06-17 Thread Mike Kaufmann
Hi >I'm at a loss, frankly. I don't understand. You're using GnuPG v2.1.11, you >can use the key itself, but the agent isn't aware of having it! That does not >compute. I can only think of one thing. Are you really using GnuPG v2.1.11, or >do you have GnuPG 1.4 co-installed and are you using th

AW: WINDOWS - Adding passphrase to gpg via command line

2016-06-17 Thread Mike Kaufmann
Hi Peter The hint with the homedir did the trick - you are my hero! > The --homedir option has a lot of influence. You cannot use a "gpg" in one > homedir with an agent running in another. So you should also supply the > "--homedir " argument to gpg-connect-agent to get a connection for an >