Skip to content

Instantly share code, notes, and snippets.

@navicore
Last active October 24, 2021 14:26
Show Gist options
  • Save navicore/03973bbf8213b7515abdc34beb6779ad to your computer and use it in GitHub Desktop.
Save navicore/03973bbf8213b7515abdc34beb6779ad to your computer and use it in GitHub Desktop.
pgp gnupg maven signature cheat sheet

pgp gnupg maven signature cheat sheet - my personal notes

after deleting ~/.gnupg for whatever reason - this fixes the dir not found error

gpgconf --kill gpg-agent 

create

gpg --gen-key

share public component

gpg --keyserver keyserver.ubuntu.com --send-keys 1EEFAE2C2D4680109FF2A1A427AE971C9F8555F3

verify the key is out in the wild

gpg --keyserver hkp://keyserver.ubuntu.com --search-key '[email protected]' 

at this point - maybe make sure the first key listed in your local setup is the newest (it isn't). If it isn't, make sure you specify the keyid in the tool configs like settings.xml

gpg --list-signatures 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment