Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyring/KeyringFolder issues #7

Open
cgtyoder opened this issue Jul 20, 2016 · 2 comments
Open

Keyring/KeyringFolder issues #7

cgtyoder opened this issue Jul 20, 2016 · 2 comments

Comments

@cgtyoder
Copy link

I am trying to get a simple test for decrypting a file, but consistently getting the error "gpg: decryption failed: No secret key".

For the property GnuPGTool.KeyringFolder, what is the "default" folder? What file format is the lib expecting to see the private key in, for decryption?

@soukoku
Copy link
Owner

soukoku commented Jul 20, 2016

If not specified, it should be the same default folder and format as when you run gpg2.exe from the command line (under %appdata%\gnupg).

I never changed it myself so I don't have the problem but this stackoverflow question may be relevant.

@cgtyoder
Copy link
Author

that worked - specifically the file privateKey.asc (which of course contains the PGP Private Key)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants