Re: Newbie can't get --passphrase option to work

2017-05-16 Thread Peter Lebbing
On 16/05/17 13:31, Dan Kegel wrote: > That wasn't my experience. I used keys with no passphrase, > and *still* had to use loopback (and jump through other hoops) to get > gpg to work unattended. I was talking about the things one usually does on a headless server, which is decryption and data

Re: Newbie can't get --passphrase option to work

2017-05-16 Thread Dan Kegel
On Tue, May 16, 2017 at 12:31 AM, Peter Lebbing wrote: > You should also ask yourself what the purpose of the passphrase is other > than to make your life difficult > You should probably just remove the passphrase from the key. That way > any decryption or signature

Re: Newbie can't get --passphrase option to work

2017-05-16 Thread Peter Lebbing
On 12/05/17 16:15, Ryk McDorman wrote: > In the program I'm passing the output and input filenames as parameters to a > one-line batch file consisting of this command: > echo | "C:\Program Files (x86)\gnuPG\bin\gpg.exe" --batch > --output %1 --passphrase-fd 0 --decrypt %2 You should also ask

RE: Newbie can't get --passphrase option to work

2017-05-15 Thread Ryk McDorman
! Thanks again. Ryk -Original Message- From: Kristian Fiskerstrand [mailto:kristian.fiskerstr...@sumptuouscapital.com] Sent: Saturday, May 13, 2017 2:50 PM To: Ryk McDorman <rmcd...@cobizfinancial.com>; gnupg-users@gnupg.org Subject: RE: [EXT]:Newbie can't get --passphrase option t

Re: Newbie can't get --passphrase option to work

2017-05-13 Thread Dan Kegel
Did you see my walkthrough of all the problems I ran into while getting gpg to not prompt? https://lists.gnupg.org/pipermail/gnupg-users/2017-April/058158.html https://lists.gnupg.org/pipermail/gnupg-users/2017-April/058162.html That's for Linux, but it might still have a trick you're missing.

Re: Newbie can't get --passphrase option to work

2017-05-13 Thread Kristian Fiskerstrand
On 05/12/2017 04:15 PM, Ryk McDorman wrote: > I've done a thorough search for a solution for this, but haven't come up with > much: a vague reference to a bug in 2.1.x that may have to do with it, and at > the end of my day yesterday I came across someone who used the > "--pinentry-mode

Re: Newbie can't get --passphrase option to work

2017-05-13 Thread Kristian Fiskerstrand
On 05/12/2017 04:15 PM, Ryk McDorman wrote: > I was tasked with automating the decryption (and more) of files, so I've > written a PowerShell program that does everything I need it to do, except > that I can't get the decryption to decrypt without prompting for our > passphrase. I'm using a

Newbie can't get --passphrase option to work

2017-05-13 Thread Ryk McDorman
I was tasked with automating the decryption (and more) of files, so I've written a PowerShell program that does everything I need it to do, except that I can't get the decryption to decrypt without prompting for our passphrase. I'm using a default installation of GnuPG 2.1.19 on Windows 7 (it