I am using the Windows port of GNU Privacy Guard "light" release for version 1.0.9 installed on a windows 7 professional laptop. Installed in the default directory of : C:\Program Files (x86)\GNU\GnuPG . The trustdb and keyring files are here: C:\users\\AppData\Roaming\gnupg. Both of these folders are pathed in my environment variable PATH.
I have been following along using this tutorial: http://www.glump.net/howto/gpg_intro
and everything has worked smoothly up to 4.1 Using the GPG Encrypt Command
When i try this command to encrypt a simple text file with one line "This is a Test!", i get an error.
gpg --recipient "John Doe" --output "C:\data.txt.gpg" --encrypt "data.txt"
The error i receive is:
gpg: can't open 'data.txt': no error gpg: data.txt: encryption failed: file open error
Any ideas why i get this error? Anything do do with Win 7 rights? I checked the text files attributes and they are fine.
Does anyone know what folder the file will be created in? And, whether or not the folder needs special rights? As I stated above, i was able to do all the previous steps in the tutorial without an errors or issues.....including creating key pairs, and publishing a public key to file.
Thanks for any help you might be able to give me