Add (guix git-authenticate).
authorLudovic Courtès <ludo@gnu.org>
Mon, 1 Jun 2020 15:48:11 +0000 (17:48 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 5 Jun 2020 20:54:06 +0000 (22:54 +0200)
commit41f443c90af57f9537eccb1a1a45c6e11b377a32
tree99e5855f87e72d71b74f5fe0d6152c1848158208
parentecab53c320b1584a08f811b17a92bd9a50a50ff3
Add (guix git-authenticate).

* build-aux/git-authenticate.scm (commit-signing-key)
(read-authorizations, commit-authorized-keys, authenticate-commit)
(load-keyring-from-blob, load-keyring-from-reference)
(authenticate-commits, authenticated-commit-cache-file)
(previously-authenticated-commits, cache-authenticated-commit): Remove.
* build-aux/git-authenticate.scm (git-authenticate): Pass
 #:default-authorizations to 'authenticate-commits'.
* guix/git-authenticate.scm: New file, with code taken from
'build-aux/git-authenticate.scm'.  Remove references to
'%historical-authorized-signing-keys' and add #:default-authorizations
parameter instead.
* Makefile.am (MODULES): Add it.
(authenticate): Depend on guix/git-authenticate.go.
Makefile.am
build-aux/git-authenticate.scm
guix/git-authenticate.scm [new file with mode: 0644]