Skip to content

Instantly share code, notes, and snippets.

Nuru / Sign your git commits with
Last active Sep 17, 2022
How to sign your git commits with SSH
View Sign your git commits with

If you are already using SSH to authenticate to GitHub, it is very easy to sign all your commits as well, as long as you have already installed Git 2.34.0 or later. (Note, there may be problems with OpenSSH 8.7. Use an earlier or later version. I have this working with OpenSSH 8.1p1.)

Configure git to sign all your commits with an SSH key

git config --global gpg.format ssh
git config --global commit.gpgsign true
git config --global tag.gpgsign true
Nuru / gist:6380173
Last active Dec 21, 2015
rvm requirements output, debugging OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server key exchange B: bad ecpoint
View gist:6380173
# using rvm 1.18.14 (stable) and ruby 1.9.3-p392 a running Rails application all of a sudden stopped being able to
# connect via SSL with "bad ecpoint" error.
# Look at for possible explanation
# Brew says openssl 1.0.1e is installed.
# rvm pkg install openssl
# installs 1.0.1c
# Then make rvm rubies use it: