LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Can't decrypt anything with GPG (https://www.linuxquestions.org/questions/linux-security-4/cant-decrypt-anything-with-gpg-604185/)

Jorophose 12-03-2007 01:02 PM

Can't decrypt anything with GPG
 
For some reason I can't decrypt anything with GPG.

Is it because my keys aren't uploaded to Canonical's servers or something? I used:

Quote:

gpg --keyserver keyserver.ubuntu.com --send-keys
and

Quote:

gpg --send-key
(I'm supposed to send my private key with that one, amn't I?)

But when I'm trying to decrypt the OpenPG sent by Canonical in my inbox, it tells me I'm not authorised to read the message (or that I've got the wrong keys or something). Using the FireGPG extension, by the way.

Silly GPG always ruining my day. =/

Also: .asc in my ~/.gpg/ directory, that's the public key right?

jayjwa 12-04-2007 06:53 AM

Quote:

(I'm supposed to send my private key with that one, amn't I?)
No, you don't send your private key any place; then it wouldn't be "private" anymore it would be public and GPG would be useless as everyone could spoof you or read your secrets.

For you to decode something, the sender has to have encoded it to your public key. I'm not sure what Canonical is or what it's doing , but if it's sending you messages it wants you to decode, it either needs to encode them to your key or else encode them to another public key and then give you access to that key.

http://www.gnupg.org/documentation/index.html.en

There was a good manual there someplace.

Jorophose 12-06-2007 04:57 PM

https://help.ubuntu.com/community/Gn...c84b591f1c3b92

That's where it told me to use what appears to be the private key.

Now I've found out about http://keyserver.ubuntu.com:11371/, and pasted my public key there... I'll give it another shot, but am I doing it right as of now?


All times are GMT -5. The time now is 02:50 PM.