diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-06-10 14:54:13 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-06-12 18:56:11 +0200 |
commit | 52c529ff20b389eb64ac033586e6b1a5c5d82cb5 (patch) | |
tree | a7ebdb0c7a019a4062508a58168d7c9a35500879 /guix.scm | |
parent | 7def5056b631978e246211fabe81e0754c795ebe (diff) | |
download | guix-52c529ff20b389eb64ac033586e6b1a5c5d82cb5.tar.gz |
git-authenticate: Disallow SHA1 (and MD5) signatures.
* guix/git-authenticate.scm (commit-signing-key): Add #:disallowed-hash-algorithms and honor it. (authenticate-commit)[recent-commit?]: New variable. Pass #:disallowed-hash-algorithms to 'commit-signing-key'. * tests/git-authenticate.scm ("signed commits, SHA1 signature"): New test.
Diffstat (limited to 'guix.scm')
0 files changed, 0 insertions, 0 deletions