summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-09-23 07:56:04 +0200
committerLudovic Courtès <ludo@gnu.org>2022-09-24 17:59:04 +0200
commit95e06bc3e1a4fda2b010d69776187ec2e1b02c1b (patch)
treee5420bd5e88f74f0a8d3f77e13b18aebbb1a42b0
parent20fbc0bb083c40d2176b7b0f8e53d25e1c95a4cf (diff)
narinfo: Fix misleading docstring.
The misleading docstring had been here from the start, in commit cdea30e061490a521f1e9c66ff870ca98ae5d7e5. * guix/narinfo.scm (valid-narinfo?): Fix docstring.
-rw-r--r--guix/narinfo.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/guix/narinfo.scm b/guix/narinfo.scm
index 4fc550aa6c..741c7ad406 100644
--- a/guix/narinfo.scm
+++ b/guix/narinfo.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2013-2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2018 Kyle Meyer <kyle@kyleam.com>
;;;
@@ -209,7 +209,8 @@ No authentication and authorization checks are performed here!"
(define* (valid-narinfo? narinfo #:optional (acl (current-acl))
#:key verbose?)
- "Return #t if NARINFO's signature is not valid."
+ "Return #t if NARINFO's signature is valid and made by one of the keys in
+ACL."
(let ((hash (narinfo-sha256 narinfo))
(signature (narinfo-signature narinfo))
(uri (uri->string (first (narinfo-uris narinfo)))))