LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-04-2013, 04:22 PM   #1
Miles Standish
LQ Newbie
 
Registered: Jul 2006
Location: Central Arizona
Distribution: Debian Squeeze
Posts: 5

Rep: Reputation: 0
Export-Import GPG Keys


I have a working GPG key pair on my main PC, but I want to export to a USB thumb drive, then import to my laptop. Using Debian Squeeze both machines. When importing to the laptop, my personal key-pair does not come up in "personal keys," and I am not able to decrypt messages. I think it's a matter of signing. I am a novice user. Thanks for help. Miles
 
Old 07-04-2013, 08:50 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

Quote:
Originally Posted by Miles Standish View Post
I have a working GPG key pair on my main PC, but I want to export to a USB thumb drive, then import to my laptop. Using Debian Squeeze both machines.
What method are you using for moving the keys? If you are starting fresh on the laptop, the easiest approach is probably just to copy your entire ~/.gnupg directory (this what I do when I get a new machine).

Quote:
When importing to the laptop, my personal key-pair does not come up in "personal keys," and I am not able to decrypt messages. I think it's a matter of signing.
What front end program are you using? For example I normally use the "gpg" command in a terminal.

Evo2.
 
Old 07-05-2013, 10:43 AM   #3
Miles Standish
LQ Newbie
 
Registered: Jul 2006
Location: Central Arizona
Distribution: Debian Squeeze
Posts: 5

Original Poster
Rep: Reputation: 0
Smile GPG Keys

Copying the /.gnupg file to the other computer solved the problem - I can encrypt and decrypt messages now. However, something is not clear. For my "front end," I'm using Seahorse (System/Preferences/Passwords and Encryption Keys) and the encryption applet in a panel. The Passwords and Encryption Keys tool provides for export and import of keys, but this seems not to be working correctly. I note also that in Debian Squeeze (gnome desktop), the encryption applet does not provide for both encryption and decryption in the same window. That is, if I begin by receiving an encrypted file, I cannot decrypt it until I have first encrypted something. The applet toggles between encrypt and decrypt. This looks like a bug to me. I would be grateful for some discussion on this. Thanks for the two replies.
 
  


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
gpg import/export |nexus| Linux - Newbie 2 05-23-2012 03:17 PM
Import and export keys, PGP to GnuPG imchi Linux - Software 3 10-11-2011 12:50 PM
export GPG keys to multiple servers Kearneyman Linux - Security 4 09-29-2009 11:30 AM
APT: GPG error - how to import public keys vharishankar Debian 8 02-20-2006 01:08 AM
gpg keys, and why i cant import them AnimaSola Linux - Software 3 04-17-2005 07:49 PM


All times are GMT -5. The time now is 08:46 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration