How to Sign Git Commits
Installation To be able to sign our git commits on Macos we have to install gnupg and pinentry-mac. When installing gnupg a pinentry is provided but we want to use a pinentry that is specific för MacOS so we can use the Key-chain to store our Passphrase.
First install gnupg, later on we will install pinentry-mac too.
$ brew install gnupg Generate a key First we have to generate a key that we will use.