Wednesday, July 16, 2008

Key Signing

To sign a GPG key via CLI:

#gpg --sign-key ABCDEF10

This will use the primary or first key in your keyring to sign the ABCDEF10 key.

If you have more than one key and you would like to sign the ABCDEF10 key with some other key in your keyring you need to use the --default-key switch (e.g. assuming the DEADBEEF key is not my primary key or first in the keyring).

#gpg --default-key DEADBEEF --sign-key ABCDEF10


No comments: