diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-04-30 16:39:44 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-05-04 09:56:13 +0200 |
commit | 051a45e642ff21908375bee24d272c536096d026 (patch) | |
tree | 21539c66ff45bea0628d0784d4b5fc026ae8f654 /etc/guix-install.sh | |
parent | b835e158d51c873a99367afd27f3d57cfe92e10e (diff) | |
download | patches-051a45e642ff21908375bee24d272c536096d026.tar patches-051a45e642ff21908375bee24d272c536096d026.tar.gz |
git-authenticate: Use (guix openpgp).
It can now authenticate 14K+ commits in 23s instead of 4mn20.
* build-aux/git-authenticate.scm (%authorized-signing-keys): Turn
fingerprints into bytevectors.
(with-temporary-files): Remove.
(commit-signing-key): Add 'keyring' parameter. Use
'string->openpgp-packet' and 'verify-openpgp-signature' instead of (guix
gnupg) procedures.
(authenticate-commit): Add 'keyring' parameter. Pass it to
'commit-signing-key'. Adjust to SIGNING-KEY being an <openpgp-public-key>.
(authenticate-commits): Remove 'parameterize'. Load keyring with
'get-openpgp-keyring'.
(git-authenticate): When printing stats, adjust to SIGNER being an
<openpgp-public-key>.
Diffstat (limited to 'etc/guix-install.sh')
0 files changed, 0 insertions, 0 deletions