Skip to content

Instantly share code, notes, and snippets.

@lichti
Last active August 16, 2017 23:30
Show Gist options
  • Save lichti/fc4dce5435ed63623c4c to your computer and use it in GitHub Desktop.
Save lichti/fc4dce5435ed63623c4c to your computer and use it in GitHub Desktop.

Get target key [KEY_ID_2]

gpg --keyserver pgp.mit.edu --recv-keys [KEY_ID_2]

Print key

gpg --fingerprint [KEY_ID_2]

Signing terget key

gpg --sign-key [KEY_ID_2]

#gpg --armor --output [KEY_ID_2]-signedBy-[KEY_ID].asc --export [KEY_ID]

Import signed key and send to the server

#gpg --import [KEY_ID_2]-signedBy-[KEY_ID].asc

gpg --send-key [KEY_ID_2]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment