LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 12-03-2007, 01:02 PM   #1
Jorophose
Member
 
Registered: Oct 2006
Location: Ontario, Canada
Distribution: Xubuntu 6.06!! =D
Posts: 137

Rep: Reputation: 15
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?
 
Old 12-04-2007, 06:53 AM   #2
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: None (src & compile)
Posts: 253

Rep: Reputation: 36
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.
 
Old 12-06-2007, 04:57 PM   #3
Jorophose
Member
 
Registered: Oct 2006
Location: Ontario, Canada
Distribution: Xubuntu 6.06!! =D
Posts: 137

Original Poster
Rep: Reputation: 15
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Decrypt SSL ajaye1971 Linux - Security 1 08-30-2006 04:06 PM
Kremlyn Decrypt? Alexo Linux - Software 1 05-24-2005 10:25 PM
NFSv4 decrypt in server side? Jedy Linux - Networking 0 04-24-2004 07:35 AM
Need help to decrypt error messages jfi Mandriva 1 03-09-2004 11:30 AM
decrypt pdf Daniel Han Linux - General 8 01-27-2004 03:34 AM


All times are GMT -5. The time now is 11:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration