[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gpg: copying secret key



On Fri, 22 Apr 2011 11:57:45 -0400, Ken Heard wrote:

> I created a secret-public key pair for user A in computer P.  It is one
> of two key pairs in file $HOME/.gnupg/secring.gpg.
> 
> I would like to copy that key-pair for use by user A computer Q, but als
> for use of user B in computer Q. (I want to allow both user A and B to
> be able to decrypt files in computer Q which were encrypted by user A
> using this particular public key in computer P.)

I'm not sure to have correctly understood your goal... basically you want 
to use one key (same passphrase) for two users? If yes, do you think 
doing that is a good idea? User A and B being different in real life will 
become the same to all effects at GPG level and they'll can impersonate 
each other.
 
> I looked on the gpg manual page, but I could not find a way to do so. Is
> it indeed possible to do what I want to do?  If so I would be grateful
> to anyone who can tell me how.

Just thinking loud... couldn't you just export/import the key on the 
desired computer? Most of the DE have utilities to manage that (Keoplatra 
in KDE and Seahorse in GNOME) :-?

Greetings,

-- 
Camaleón


Reply to: