GPG: "decryption failed: no secret key"
I'm new to GPG and am incapable of understanding cryptology. I'm trying to decrypt a message (that should be encrypted for me) and I'm getting the error:
Quote:
Apologies for the n00b question. As I said, I don't understand any of this and can't begin to troubleshoot it on my own. Help greatly appreciated. |
Hello, nicehand90210 & welcome to LQ.
That GPG system uses two keys
There's a utility for creating the keys. Read the documentation. |
Make sure you're using the correct version of GPG. There's two major ones: 1 and the newer version 2. The link to "gpg" might give you either. If you don't have a key pair, make one. It seems like you do.
The public key you send out: Code:
gpg2 --export -a you@your.host.net Code:
gpg2 -u you@your.host.net -r you@your.host.net -a --encrypt --sign file.txt Code:
gpg2 -d file.txt.asc GPG is kind of complex (in my opinion the reason it never really caught on outside of techies); you'd do well to spend some time reading a tutorial on it. |
All times are GMT -5. The time now is 09:39 PM. |