I’m trying to create an automation which will decrypt the file when found on a windows server. However, when I try to decrypt the file I’m asked for the passphrase. I don’t seem to be able to provide it via the --passwd flag as it asks for a userid which I don’t seem to be able to provide the correct syntax for. Below is a copy of the command I’m running & Response:
C:\Users\jjohnson>gpg2.exe -u “User ID” --passwd PassPhrase -o o:\Users\TomY\PGP\companies.csv o:\Users\TomY\PGP\companies.csv_2012-10-03_09-00-00
gpg (GnuPG) 2.0.17; Copyright (C) 2011 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
usage: gpg [options] --passwd