Sign git commits with ssh key
-
git version must be >= 2.34. Earlier versions don't support
gpg.format ssh
(signing commits with ssh keys).If you're printing signature keys in git log by using
%GK %GF %GP %GT
ingit.format.pretty
, earlier versions will crash when doinggit log
with following error:BUG: gpg-interface.c:284: bad signature
-
OpenSSH version must be >= 8.8. Earlier versions don't support
valid-after,valid-before
options.