diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-06-08 12:01:24 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-06-16 16:10:47 +0200 |
commit | 43badf261f4688c8a7a7a9004a4bff8acb205835 (patch) | |
tree | 9e170e9088dc39219f2c7043972a1c9c61681b00 /tests/cpan.scm | |
parent | 1e2b9bf2d4ed4edc9ed70c51f414bb2890074a21 (diff) | |
download | guix-43badf261f4688c8a7a7a9004a4bff8acb205835.tar.gz guix-43badf261f4688c8a7a7a9004a4bff8acb205835.zip |
channels: 'latest-channel-instance' authenticates Git checkouts.
Fixes <https://bugs.gnu.org/22883>.
* guix/channels.scm (<channel>)[introduction]: New field.
(<channel-introduction>): New record type.
(%guix-channel-introduction): New variable.
(%default-channels): Use it.
(<channel-metadata>)[keyring-reference]: New field.
(%default-keyring-reference): New variable.
(read-channel-metadata, read-channel-metadata-from-source): Initialize
the 'keyring-reference' field.
(commit-short-id, verify-introductory-commit)
(authenticate-channel): New procedures.
(latest-channel-instance): Call 'authenticate-channel' when CHANNEL has
an introduction.
* tests/channels.scm (gpg+git-available?, commit-id-string): New
procedures.
("authenticate-channel, wrong first commit signer"):
("authenticate-channel, .guix-authorizations"): New tests.
* doc/guix.texi (Invoking guix pull): Mention authentication.
Diffstat (limited to 'tests/cpan.scm')
0 files changed, 0 insertions, 0 deletions