diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-12-20 21:49:43 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-12-20 22:06:05 +0100 |
commit | f94f9d67e65975724ee5b5cbc936c0895a258685 (patch) | |
tree | 6f49826abce986fa03ae886ad120c42d7136cef6 /gnu/packages/toys.scm | |
parent | 1101c73c7fb2e0dbba00b45c05bf36ae08bdb6f2 (diff) | |
download | guix-patches-f94f9d67e65975724ee5b5cbc936c0895a258685.tar guix-patches-f94f9d67e65975724ee5b5cbc936c0895a258685.tar.gz |
gnupg: 'gnupg-verify*' returns a status symbol.
This allows callers to distinguish between signature verification
failure and missing key.
* guix/gnupg.scm (gnupg-receive-keys): Return true on success.
(gnupg-verify*): Check return value of 'gnupg-receive-keys'. Return two
values, the first one being a symbol.
* guix/upstream.scm (download-tarball): Get the two return values of
'gnupg-verify*', and match on the first one.
* gnu/packages/bash.scm (download-patches): Check the first return value
of 'gnupg-verify*'.
Diffstat (limited to 'gnu/packages/toys.scm')
0 files changed, 0 insertions, 0 deletions