GNU bug report logs - #41266
Suggested command to import key does not work on debian

Previous Next

Package: guix;

Reported by: Julien Lepiller <julien <at> lepiller.eu>

Date: Thu, 14 May 2020 16:29:01 UTC

Severity: normal

Done: zimoun <zimon.toutoune <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#41266: closed (Suggested command to import key does not work
 on debian)
Date: Wed, 28 Oct 2020 17:41:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 28 Oct 2020 18:40:39 +0100
with message-id <86eeli1c6g.fsf <at> gmail.com>
and subject line Re: bug#41266: Suggested command to import key does not work on debian
has caused the debbugs.gnu.org bug report #41266,
regarding Suggested command to import key does not work on debian
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
41266: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41266
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Julien Lepiller <julien <at> lepiller.eu>
To: bug-guix <at> gnu.org
Subject: Suggested command to import key does not work on debian
Date: Thu, 14 May 2020 12:28:11 -0400
Hi,

I just installed a debian VM to test changes in the install script and found this issue when running the installer script:

First it fails because it cannot find the public key and suggests running:

wget … -q0 - | gpg --import

-q0 does not work with debian's wget, but -O works.

Aftcr importing the key, the script still complains it cannot find it. Re-running the same command with "sudo" in front of the gpg import command re-imports the key and the script is then able to find it.

My guess is that the first import imported the key in my user's keyring, but the script looks in root's keyring. The second attempt added the key to root's keyring.


[Message part 3 (message/rfc822, inline)]
From: zimoun <zimon.toutoune <at> gmail.com>
To: Julien Lepiller <julien <at> lepiller.eu>
Cc: 41266-done <at> debbugs.gnu.org
Subject: Re: bug#41266: Suggested command to import key does not work on debian
Date: Wed, 28 Oct 2020 18:40:39 +0100
Hi,

On Sun, 17 May 2020 at 21:25, Julien Lepiller <julien <at> lepiller.eu> wrote:

> Forget the wget thing, it's my fault for not reading it properly. The
> gpg command still needs to be run with sudo on at least fedora and
> debian.

Now, the binary install script “guix-install.sh” displays:

  echo "  wget 'https://sv.gnu.org/people/viewgpg.php?user_id=15145' -qO - | sudo -i gpg --import -"

Therefore, it is fine, right?  I am closing but feel free to reopen if I
misread or miss something.


Cheers,
simon


This bug report was last modified 4 years and 203 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.