Git : Configure log to show signatures.

This commit is contained in:
Dmitry Voronin 2024-04-10 11:55:19 +03:00
parent 3be989de7d
commit 7e28f68444
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
4 changed files with 13 additions and 10 deletions

View file

@ -8,6 +8,7 @@
push.autoSetupRemote = true;
rebase.autoStash = true;
user.signingkey = builtins.readFile secret.crypto.sign.key;
gpg.ssh.allowedSignersFile = toString(secret.crypto.sign.allowed);
gpg.format = secret.crypto.sign.format;
};
};

View file

@ -26,7 +26,7 @@
# Git log.
function gl() {
git log "''${@}"
git log --show-signature "''${@}"
}
# Git status.

View file

@ -13,6 +13,7 @@
sign = {
format = "ssh";
key = ./secret/public/Ssh.key;
allowed = ./secret/public/Signers.key;
};
publicKeys = [
./secret/public/Gpg.key

View file

@ -0,0 +1 @@
*@voronind.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDEYEf391IwXxQC+kVtpM/GetqN3XKzl0EYag8HbQcnDky6JGAJ5y3E0kADAzTpRcZcMtzUa0i0MxhuVu+zfWP0zwtyTafurzkFTy1jZyroO5gOcq/MMr7r9Y/2EqKsvMGYHhHN4fbj7ZBwcbIsP/tajqmp0z4E6FRQZO0X5XIF9S8lBLXBKctCbwnNdcxigwrCPN23wgtt/VHVLI31vd2kqLG3J1y7PTrsi/8OFRhJNanDV524pVcscjbwhRAS3BgdIWYXnwChls2touEXZA+B5k2RJBGGWT5b5WWmW6RQ+675kgQvGem8tOvwUSsQnCNW/Dv/5p18uvxJpc+FElYchMzcNxdnsAGogkOaJK/IMbyIKxxZ8TBtuQzxJh7KANb9oI4LCBz6rFjTTh1Hvc6Y7CCsWxN9TB0jkNCcK2IbopTm6NZ0oAgSS9qgCT3g4UXcnOIEJ+8cUH1dCZYIvgzk75Bk6A/VqwuRVjQehUjWjTcthoxcss3kG5yvK8LZKpn1JfLh148YzFBMxNlKndWycsqsb1W+KoTo+lu6x0uRplh9O5vZDJgoKVUYI/vW1BZ9/GsaMG8EBReInsqnFRMR5i2wxRH+KAgX600XP6gD6ik/1BWs/VH5vQEktjXMEW+4TdlbVsSTeoWje9Opv/881UeXJ+GZEq19Q49h58fMBw== openpgp:0xDCE51BCE