mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
git-authenticate: Prevent removal of '.guix-authorizations'.
* guix/git-authenticate.scm (commit-authorized-keys) [parents-have-authorizations-file?, assert-parents-lack-authorizations]: New procedures. Use the latter before returning DEFAULT-AUTHORIZATIONS. * guix/git.scm (false-if-git-not-found): Export. * guix/tests/git.scm (populate-git-repository): Add 'remove' clause. * tests/git-authenticate.scm ("signed commits, .guix-authorizations removed"): New test.
This commit is contained in:
parent
1fd7de45f2
commit
e782756080
4 changed files with 72 additions and 1 deletions
|
@ -39,6 +39,7 @@
|
|||
honor-system-x509-certificates!
|
||||
|
||||
with-repository
|
||||
false-if-git-not-found
|
||||
update-cached-checkout
|
||||
url+commit->name
|
||||
latest-repository-commit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue