Skip to content

Instantly share code, notes, and snippets.

@mchv
Created May 18, 2022 09:48
Show Gist options
  • Save mchv/0771ed7d4d0c55015268dc0afa026a97 to your computer and use it in GitHub Desktop.
Save mchv/0771ed7d4d0c55015268dc0afa026a97 to your computer and use it in GitHub Desktop.

Todo

  • Add sources and links to relevant issues
  • Add sentences

Sources

 brew install gpg
gpg --gen-key
gpg --list-secret-keys
gpg --keyserver keyserver.ubuntu.com --send-keys PUBLIC_KEY
vi ~/.sbt/1.0/sonatype.sbt
credentials += Credentials(Path.userHome / ".sbt" / "sonatype_credentials")
vi ~/.sbt/sonatype_credentials
 realm=Sonatype Nexus Repository Manager
host=oss.sonatype.org
user=
password=
 brew install pinentry-mac
vi ~/.gnupg/gpg-agent.conf
# Connects gpg-agent to the OSX keychain via the brew-installed
# pinentry program from GPGtools. This is the OSX 'magic sauce',
# allowing the gpg key's passphrase to be stored in the login
# keychain, enabling automatic key signing.
pinentry-program /usr/local/bin/pinentry-mac
export GPG_TTY=$(tty)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment