[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/08: channels: Remove 'signature' from <channel-introduction>.
From: |
guix-commits |
Subject: |
03/08: channels: Remove 'signature' from <channel-introduction>. |
Date: |
Wed, 1 Jul 2020 17:48:54 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 22a969925769dcbe968b224016f5af00079d68ff
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Jun 25 15:37:02 2020 +0200
channels: Remove 'signature' from <channel-introduction>.
In the end signing the commit/key pair does not buy us much. Someone
publishing a valid but different commit/key pair would effectively be
publishing a different channel, which could be a fork (made by a former
authorized developer) or simply a mirror. In the latter case, there's
nothing to be gained by publishing a different commit/key pair.
* guix/channels.scm (<channel-introduction>)[signature]: Remove.
(make-channel-introduction): Adjust accordingly.
---
guix/channels.scm | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/guix/channels.scm b/guix/channels.scm
index 5f48e6f..922c99a 100644
--- a/guix/channels.scm
+++ b/guix/channels.scm
@@ -128,22 +128,19 @@
;; Channel introductions. A "channel introduction" provides a commit/signer
;; pair that specifies the first commit of the authentication process as well
-;; as its signer's fingerprint. The pair must be signed by the signer of that
-;; commit so that only them may emit this introduction. Introductions are
-;; used to bootstrap trust in a channel.
+;; as its signer's fingerprint. Introductions are used to bootstrap trust in
+;; a channel.
(define-record-type <channel-introduction>
- (%make-channel-introduction first-signed-commit first-commit-signer
- signature)
+ (%make-channel-introduction first-signed-commit first-commit-signer)
channel-introduction?
- (first-signed-commit channel-introduction-first-signed-commit) ;hex string
- (first-commit-signer channel-introduction-first-commit-signer) ;bytevector
- (signature channel-introduction-signature)) ;string
+ (first-signed-commit channel-introduction-first-signed-commit) ;hex string
+ (first-commit-signer channel-introduction-first-commit-signer)) ;bytevector
(define (make-channel-introduction commit signer)
"Return a new channel introduction: COMMIT is the introductory where
authentication starts, and SIGNER is the OpenPGP fingerprint (a bytevector) of
the signer of that commit."
- (%make-channel-introduction commit signer #f))
+ (%make-channel-introduction commit signer))
(define (openpgp-fingerprint->bytevector str)
"Convert STR, an OpenPGP fingerprint (hexadecimal string with whitespace),
- branch master updated (67ba981 -> d774c7b), guix-commits, 2020/07/01
- 02/08: channels: Make channel introductions public., guix-commits, 2020/07/01
- 03/08: channels: Remove 'signature' from <channel-introduction>.,
guix-commits <=
- 08/08: channels: Dependencies listed in '.guix-channel' can have an introduction., guix-commits, 2020/07/01
- 01/08: channels: Add 'openpgp-fingerprint->bytevector'., guix-commits, 2020/07/01
- 05/08: guix describe: Display channel introductions and add 'channels-sans-intro'., guix-commits, 2020/07/01
- 06/08: services: provenance: Save channel introductions., guix-commits, 2020/07/01
- 04/08: channels: Save and interpret 'introduction' field in provenance data., guix-commits, 2020/07/01
- 07/08: channels: Properly diagnose test failure., guix-commits, 2020/07/01