Closed petereit closed 6 years ago
Are you attempting to run the code from the context of a user on a command line or via something like a web app?
Not a web app. Automated single-user .NET console app.
I would first try running the application as an administrator to see if that gives you access to the files (right mouse click your exe and choose Run as Administrator).
It runs gpg.exe as expected. (I get the prompt, "gpg: Go ahead and type your message ...")
Ok, so were you able to run your own executable in the same method (as administrator) or did you do that and got the gpg prompt?
Getting the following exception when attempting to decrypt a file:
gpg binary path executable invalid or file permissions do not allow access: C:\Program Files (x86)\GNU\GnuPG\pub