Subject: bug#71918: [DOCUMENTATION] the suggested key import method for `guix refresh` doesn't work

From: Maxim Cournoyer <[email-masked]>
Date: Tue, 11 Mar 2025 23:02:41 +0900

Hi,

Ludovic Courtès <[email-masked]> writes:

[...]

> Ouch.  (I’m pretty sure I tested it back then, maybe something changed?)
>
> Since that part is not so useful anyway, how about dropping the now
> incorrect bit about kbxutil, like so:
>
> diff --git a/doc/guix.texi b/doc/guix.texi
> index 9ba96af459..7323931bad 100644
> --- a/doc/guix.texi
> +++ b/doc/guix.texi
> @@ -15050,14 +15050,7 @@ Invoking guix refresh
>  missing keys are downloaded to this keyring as well (see
>  @option{--key-download} below).
>  
> -You can export keys from your default GPG keyring into a keybox file using
> -commands like this one:
> -
> -@example
> -gpg --export rms@@gnu.org | kbxutil --import-openpgp >> mykeyring.kbx
> -@end example
> -
> -Likewise, you can fetch keys to a specific keybox file like this:
> +You can fetch keys to a specific keybox file like this:
>  
>  @example
>  gpg --no-default-keyring --keyring mykeyring.kbx \

Sounds reasonable to me.

-- 
Thanks,
Maxim