diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-06-21 16:39:27 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-06-21 17:36:40 +0200 |
commit | e4a4287c5fb51c0e47431606df5ee78b953d71f8 (patch) | |
tree | d46264905fc86a845c1544cc2077e8e3c5ec002f /gnu | |
parent | 41939c374a3ef421d2d4c6453c327a9cd7af4ce5 (diff) | |
download | guix-patches-e4a4287c5fb51c0e47431606df5ee78b953d71f8.tar guix-patches-e4a4287c5fb51c0e47431606df5ee78b953d71f8.tar.gz |
channels: 'authenticate-channel' doesn't check relation with intro commit.
Fixes <https://bugs.gnu.org/41908>.
Reported by Jan Nieuwenhuizen <janneke@gnu.org>.
The relation check imposed an extra restriction that was unnecessary:
it's enough to authenticate the set difference between the closure of
START-COMMIT and that of END-COMMIT. Any attempt to jump to an
unrelated commit would lead to the authentication failure of one commit
on the way.
* guix/channels.scm (authenticate-channel): Remove extra
'commit-relation' check when (null? commits).
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions