Tools for package publishing
https://central.sonatype.org/publish/requirements/gpg/#listing-keys
- Install GNU GPG
brew install gnupg
- Generate GPG keys
gpg --generate-key
- Get key id
gpg --list-secret-keys --keyid-format=long
- Export the gpg private key
gpg --export-secret-keys -a <key-id> > secret.txt
- Distribute Your Public Key
gpg --keyserver keyserver.ubuntu.com --send-keys <your-key-id>