Issue with guix-install.sh script?

  • Done
  • quality assurance status badge
Details
3 participants
  • Ludovic Courtès
  • operator.name
  • zimoun
Owner
unassigned
Submitted by
operator.name
Severity
normal

Debbugs page

O
O
operator.name wrote on 23 Apr 2020 16:20
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
SlKAPRI5yOfrmaDjpbQv447KCxsqHw4YhOO7CreLJIR3LtHWA-Swfyb-w-AT7Q0T4uodKyrJ0dh19_wJSR5WF7UPy5gBZ1gzbfp0tdiN75A=@protonmail.com
I'd like to preface this with the fact that I have little experience with PGP/GPG.

$ gpg --version
gpg (GnuPG) 2.2.20
libgcrypt 1.8.5
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /home/operator.name/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

gpg: key 090B11993D9AEBB5: 129 signatures not checked due to missing keys
gpg: key 090B11993D9AEBB5: "Ludovic Courtès <ludo@gnu.org>" not changed
gpg: key 090B11993D9AEBB5: "Ludovic Courtès <ludo@gnu.org>" not changed
gpg: Total number processed: 2
gpg: unchanged: 2

$ sudo ./guix-install.sh
░░░ ░░░
░░▒▒░░░░░░░░░ ░░░░░░░░░▒▒░░
░░▒▒▒▒▒░░░░░░░ ░░░░░░░▒▒▒▒▒░
░▒▒▒░░▒▒▒▒▒ ░░░░░░░▒▒░
░▒▒▒▒░ ░░░░░░
▒▒▒▒▒ ░░░░░░
▒▒▒▒▒ ░░░░░
░▒▒▒▒▒ ░░░░░
▒▒▒▒▒ ░░░░░
▒▒▒▒▒ ░░░░░
░▒▒▒▒▒░░░░░
▒▒▒▒▒▒░░░
▒▒▒▒▒▒░
_____ _ _ _ _ _____ _
/ ____| \ | | | | | / ____| (_)
| | __| \| | | | | | | __ _ _ ___ __
| | |_ | . ' | | | | | | |_ | | | | \ \/ /
| |__| | |\ | |__| | | |__| | |_| | |> <
\_____|_| \_|\____/ \_____|\__,_|_/_/\_\

This script installs GNU Guix on your system

Press return to continue...
[1587683635.547]: Starting installation (Fri 24 Apr 00:13:55 BST 2020)
[1587683635.567]: [ PASS ] verification of required commands completed
[1587683635.575]: [ FAIL ] Missing OpenPGP public key. Fetch it with this command:

gpg: key 090B11993D9AEBB5: 129 signatures not checked due to missing keys
gpg: key 090B11993D9AEBB5: "Ludovic Courtès <ludo@gnu.org>" not changed
gpg: key 090B11993D9AEBB5: "Ludovic Courtès <ludo@gnu.org>" not changed
gpg: Total number processed: 2
gpg: unchanged: 2

$ sudo ./guix-install.sh
░░░ ░░░
░░▒▒░░░░░░░░░ ░░░░░░░░░▒▒░░
░░▒▒▒▒▒░░░░░░░ ░░░░░░░▒▒▒▒▒░
░▒▒▒░░▒▒▒▒▒ ░░░░░░░▒▒░
░▒▒▒▒░ ░░░░░░
▒▒▒▒▒ ░░░░░░
▒▒▒▒▒ ░░░░░
░▒▒▒▒▒ ░░░░░
▒▒▒▒▒ ░░░░░
▒▒▒▒▒ ░░░░░
░▒▒▒▒▒░░░░░
▒▒▒▒▒▒░░░
▒▒▒▒▒▒░
_____ _ _ _ _ _____ _
/ ____| \ | | | | | / ____| (_)
| | __| \| | | | | | | __ _ _ ___ __
| | |_ | . ' | | | | | | |_ | | | | \ \/ /
| |__| | |\ | |__| | | |__| | |_| | |> <
\_____|_| \_|\____/ \_____|\__,_|_/_/\_\

This script installs GNU Guix on your system

Press return to continue...
[1587683635.547]: Starting installation (Fri 24 Apr 00:13:55 BST 2020)
[1587683635.567]: [ PASS ] verification of required commands completed
[1587683635.575]: [ FAIL ] Missing OpenPGP public key. Fetch it with this command:
Z
Z
zimoun wrote on 23 Apr 2020 16:29
(name . operator.name)(address . operator.name@protonmail.com)(address . 40804@debbugs.gnu.org)
CAJ3okZ3n0eRfUWRyfmU-7SH9mwecOHV+FrA=ppsYp318UFCooQ@mail.gmail.com
On Fri, 24 Apr 2020 at 01:22, operator.name via Bug reports for GNU
Guix <bug-guix@gnu.org> wrote:

Toggle quote (2 lines)
> $ sudo ./guix-install.sh

[...]

Toggle quote (8 lines)
> Press return to continue...
> [1587683635.547]: Starting installation (Fri 24 Apr 00:13:55 BST 2020)
> [1587683635.567]: [ PASS ] verification of required commands completed
> [1587683635.575]: [ FAIL ] Missing OpenPGP public key. Fetch it with this command:
> wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | gpg --import -
>
> $ wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | gpg --import -

gpg --import -

Because the root needs to know the keysigning dance to check, not your
regular user.
Other said, the ./guix-install.sh script is run as root and it is as
root that it check the public key.


Hope that helps.

All the best,
simon
L
L
Ludovic Courtès wrote on 24 Apr 2020 07:24
(name . zimoun)(address . zimon.toutoune@gmail.com)
875zdphsg7.fsf@gnu.org
Hi,

zimoun <zimon.toutoune@gmail.com> skribis:

Toggle quote (18 lines)
> On Fri, 24 Apr 2020 at 01:22, operator.name via Bug reports for GNU
> Guix <bug-guix@gnu.org> wrote:
>
>> $ sudo ./guix-install.sh
>
> [...]
>
>> Press return to continue...
>> [1587683635.547]: Starting installation (Fri 24 Apr 00:13:55 BST 2020)
>> [1587683635.567]: [ PASS ] verification of required commands completed
>> [1587683635.575]: [ FAIL ] Missing OpenPGP public key. Fetch it with this command:
>> wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | gpg --import -
>>
>> $ wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | gpg --import -
>
> sudo wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - |
> gpg --import -

Rather:

sudo gpg --import -

:-)

Ludo’.
L
L
Ludovic Courtès wrote on 24 Apr 2020 07:25
control message for bug #40804
(address . control@debbugs.gnu.org)
874kt9hsfy.fsf@gnu.org
tags 40804 notabug
close 40804
quit
Z
Z
zimoun wrote on 24 Apr 2020 08:27
Re: bug#40804: Issue with guix-install.sh script?
(name . Ludovic Courtès)(address . ludo@gnu.org)
CAJ3okZ3MgGnQ0N=3M9f65qSTdUqVyqApA-Ff0PWxv_Rhk=etOQ@mail.gmail.com
On Fri, 24 Apr 2020 at 16:24, Ludovic Courtès <ludo@gnu.org> wrote:

Toggle quote (7 lines)
> Rather:
>
> wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | \
> sudo gpg --import -
>
> :-)

Nothing good happens after 1am. ;-)

Well, it is not a bug so closing.


Feel free "operator.name" to ask such questions on help-guix@gnu.org.

All the best,
simon
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 40804@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 40804
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch