[sclug] Key signing

Simon Heywood simon at triv.org.uk
Thu Mar 18 14:33:13 UTC 2004


(Please don't CC replies to me, I'm subscribed to the list.)

On Thu, Mar 18, 2004 at 01:50:44PM -0000, Chris Aitken wrote:
> Hyothetically, If i was stupid enough to make a key as root, instead
> of my normal user, is there anyway I can import all the details, and
> take over the identity (assuming I had the correct keyphrase)?

I think you('d) need to do something like this:

gpg --export-secret-key -a "User Name" > private.key (as root)
gpg --allow-secret-key-import --import private.key (as you)

There's some info on this delightfully coloured 'cheat sheet' page:

http://irtfweb.ifa.hawaii.edu/~lockhart/gpg/gpg-cs.html

HTH
S.


More information about the Sclug mailing list