[sclug] Key signing

Matt matt at bodgit-n-scarper.com
Thu Mar 18 15:27:17 UTC 2004


* Simon Heywood <simon at triv.org.uk> [2004-03-18 14:22:50]:
> (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

Assuming you haven't added any other public keys, etc. couldn't you just
copy ~/.gnupg and chown(1) it?

Matt
-- 
"Phased plasma rifle in a forty-watt range?"
"Hey, just what you see, pal."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.tmdg.co.uk/pipermail/sclug/attachments/20040318/56c3dda3/attachment.bin


More information about the Sclug mailing list