I have a PGP-encrypted file which I download and decrypt on my machine (currently via the GPG Windows GUI). Call the file 'MyFile.gpg'.
I want to automate the decryption of this file. However I can't seem to locate a reference detailing the command-line syntax necessary, though I did find the manual here:
I'm not sure what the parameters mean or how to structure the statement I'll need. First, is there a reference online simply outlining the command-line syntax for GPG under Windows (the manual I linked seems to be for Linux)?
Second, what is the exact syntax I'd use to decrypt 'C:\MyFile.gpg' to 'C:\MyDecryptedFile.xxx'? How do I point toward my private key? I will ultimately wrap this in a VBScript and will pass my passphrase via an InputBox.
Thanks!
I want to automate the decryption of this file. However I can't seem to locate a reference detailing the command-line syntax necessary, though I did find the manual here:
I'm not sure what the parameters mean or how to structure the statement I'll need. First, is there a reference online simply outlining the command-line syntax for GPG under Windows (the manual I linked seems to be for Linux)?
Second, what is the exact syntax I'd use to decrypt 'C:\MyFile.gpg' to 'C:\MyDecryptedFile.xxx'? How do I point toward my private key? I will ultimately wrap this in a VBScript and will pass my passphrase via an InputBox.
Thanks!