[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New “guix refresh” command

From: Ludovic Courtès
Subject: Re: New “guix refresh” command
Date: Fri, 24 May 2013 14:54:18 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Nikita Karetnikov <address@hidden> skribis:

>  (define (gnupg-receive-keys key-id server)
> -  (system* (%gpg-command) "--keyserver" server "--recv-keys" key-id))
> +  (system* (%gpg-command)
> +           "--keyserver" server
> +           "--search-keys" (string-append "0x" key-id)))

As the name suggests, this procedure is meant to download a key, not to
search for a key.

The interactive behavior you wanted you involve telling the user that a
key needs to be downloaded before calling ‘gnupg-receive-keys’.

That could be done by changing ‘gnupg-verify*’.  An optional argument
could be added to select between interactive behavior (“do you want to
download this key and add it to your keyring?”), always-download, and



reply via email to

[Prev in Thread] Current Thread [Next in Thread]