ssh keys Generate SSH keys src: https://medium.com/risan/upgrade-your-ssh-key-to-ed25519-c6e8d60d3c54 https://docs.github.com/en/authentication/connecting-to-github-with-ssh/working-with-ssh-key-passphrases # generate SSH key in ED25519 scheme ssh-agent -a 100 -t ed25519 -C 'lin.louis@pm.me' # add to ssh key to ssh agent so we don't need to type the passphrase all the time ssh-add ~/.ssh/id_ed25519 Signing git commits and tags src: https://dev.to/ccoveille/git-the-complete-guide-to-sign-your-commits-with-an-ssh-key-35bg git config --global gpg.format ssh git config --global user.signingkey ~/.ssh/id_ed25519.pub echo "$(git config --get user.email) namespaces=\"git\" $(cat ~/.ssh/id_ed25519.pub)" >> ~/.ssh/allowed_signers git config --global gpg.ssh.allowedSignersFile ~/.ssh/allowed_signers git config --global commit.gpgsign true git config --global tag.gpgsign true git config --global format.signoff true