Remember this little guy over here?
He's no longer with us in Ubuntu 11.10. Now, a friend's sent me an encrypted file using a public key I think I have the key for in my keychain. How can I decrypt it?
Remember this little guy over here?
He's no longer with us in Ubuntu 11.10. Now, a friend's sent me an encrypted file using a public key I think I have the key for in my keychain. How can I decrypt it?
To view the keys known by gpg run:
gpg --list-keys
Assuming the key pair is still in your system, open a terminal and do:
You may get a password prompt if the key requires it.
To encrypt a file, you can do:
The
-r
is for--recipient
and is optional. It will prompt you for more input if needed.