Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 23rd, 2011, 11:26 AM
imchi imchi is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 171 imchi User rank is Sergeant (500 - 2000 Reputation Level)imchi User rank is Sergeant (500 - 2000 Reputation Level)imchi User rank is Sergeant (500 - 2000 Reputation Level)imchi User rank is Sergeant (500 - 2000 Reputation Level)imchi User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 1 Day 5 h 37 m
Reputation Power: 26
[PGP/GnuPG]Importing and signing keys

Hi,

I need to export an existing PGP key and import it into GnuPG on a different machine.
This is how I did the export:
Code:
pgp -kx myuser _myuser_public  
pgp -kx myuser _myuser_private secring.skr 

(this is from the pgp installation directory that contains secring.skr).

This produced two files:
_mykey_public.pgp
_mykey_private.pgp.

Then I moved them to the target machine and did this:
Code:
gpg --import _myuser_public.pgp
gpg --import _myuser_private.pgp

The later gives me the message "key not changed". Not sure what it means.

Now if I try to encrypt the file "test" with gpg:

Code:
gpg --encrypt -r myuser test


I get this message:
Code:
There is no assurance this key belongs to the named user. 

(then there is a command prompt for Y/N).

My understanding is that I am supposed to sign the key for my user. So, I tried doing this:
Code:
pg --edit-key myuser

Output:
Code:
pub  xxxx  created: xxxx expires: xxxx       usage: xxxx
                     trust: unknown       validity: unknown
sub  xxx  created: xxxx  xxxx: never       usage:xxxx

Then I see a GPG command prompt and issue the command "sign". I get the message:
Code:
gpg: no default secret key: No secret key


At this point, I am not sure how to proceed. What else do I need to do to make the key trusted? I've read a lot of documentation on the web, but it hasn't been very helpflul.

Thanks in advance.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > [PGP/GnuPG]Importing and signing keys

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap