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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Julien Lepiller <julien@HIDDEN>; dated Thu, 14 May 2020 16:29:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 41266 <at> debbugs.gnu.org:


Received: (at 41266) by debbugs.gnu.org; 14 May 2020 17:27:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 14 13:27:20 2020
Received: from localhost ([127.0.0.1]:34691 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jZHdg-0002F1-6f
	for submit <at> debbugs.gnu.org; Thu, 14 May 2020 13:27:20 -0400
Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21391)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1jZHdd-0002Er-O1
 for 41266 <at> debbugs.gnu.org; Thu, 14 May 2020 13:27:19 -0400
ARC-Seal: i=1; a=rsa-sha256; t=1589477233; cv=none; 
 d=zohomail.com; s=zohoarc; 
 b=APYynfFLDt9AyzVfCw2rXqtXGRWkgt8MEnaocHkAQjqoBhIUaPgpNP+1zCrugAaIEqeMWmpZMHjIm8bRaBnju575sxsLpmec4IegRVgH5YgFqiZly06L5/r0oDQELcmf/OF3/z/c7JrBKaW5deTgrzcmjPY4bMpVJg6ULBY/++0=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
 s=zohoarc; t=1589477233;
 h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To;
 bh=edIMeSXKL8bJk/yyj+7rD/mIj7pLn/TrkaHsGb+lyek=; 
 b=enfCdmfm3KN7WxRICKKvemmorj5eQAMWkozzqigXjVcZFE7ADXqeZCqt6tallkjwN3ZC/ZzIG0sxu3pxcwOjjL32p+BTymwJi779rktizEhvBTwNvZm55eclWqaF6GOS0DYRe4sDgWskVOifJN1oz3dMi6VttO0Hdi8aRKEWtfI=
ARC-Authentication-Results: i=1; mx.zohomail.com;
 dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN> header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1589477233; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;
 bh=edIMeSXKL8bJk/yyj+7rD/mIj7pLn/TrkaHsGb+lyek=;
 b=bKhLHg+7qIeynQwJRDF4ewv/tO32LxTGPWPglOSxX0Yj7xukJYA89iIb9V4j4BCO
 rApOX4r6NsJetM1lL9EInpLavivNUDHT5iVrZt9P9xDjIbm7rqZM55Tf97hmzyJmXbG
 rwyisrpvv5SzXsknos0N4sRrc8COfMZEj/Yu/SZs=
Received: from localhost (p54AD4B14.dip0.t-ipconnect.de [84.173.75.20]) by
 mx.zohomail.com with SMTPS id 1589477231382162.6090632856907;
 Thu, 14 May 2020 10:27:11 -0700 (PDT)
References: <FD3B73B4-AF2B-478A-999B-84ADEEA348AE@HIDDEN>
User-agent: mu4e 1.4.4; emacs 26.3
From: Ricardo Wurmus <rekado@HIDDEN>
To: Julien Lepiller <julien@HIDDEN>
Subject: Re: bug#41266: Suggested command to import key does not work on debian
In-reply-to: <FD3B73B4-AF2B-478A-999B-84ADEEA348AE@HIDDEN>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Thu, 14 May 2020 19:27:07 +0200
Message-ID: <87pnb6ig0k.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 41266
Cc: 41266 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Hi Julien,

> First it fails because it cannot find the public key and suggests running:
>
> wget =E2=80=A6 -q0 - | gpg --import
>
> -q0 does not work with debian's wget, but -O works.

The installer script does not display this command.  There is no zero in
the wget commands.

> 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.

Yes, this is correct.  Since the installer script runs as root the key
import also needs to be done as root to affect the root user=E2=80=99s keyr=
ing.

--=20
Ricardo




Information forwarded to bug-guix@HIDDEN:
bug#41266; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 May 2020 16:28:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 14 12:28:29 2020
Received: from localhost ([127.0.0.1]:34571 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jZGii-0000V3-Nl
	for submit <at> debbugs.gnu.org; Thu, 14 May 2020 12:28:28 -0400
Received: from lists.gnu.org ([209.51.188.17]:41738)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <julien@HIDDEN>) id 1jZGih-0000Uw-0n
 for submit <at> debbugs.gnu.org; Thu, 14 May 2020 12:28:27 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:59676)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <julien@HIDDEN>)
 id 1jZGig-000646-Of
 for bug-guix@HIDDEN; Thu, 14 May 2020 12:28:26 -0400
Received: from lepiller.eu ([2a00:5884:8208::1]:45978)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <julien@HIDDEN>)
 id 1jZGie-0000RI-17
 for bug-guix@HIDDEN; Thu, 14 May 2020 12:28:26 -0400
Received: from lepiller.eu (localhost [127.0.0.1])
 by lepiller.eu (OpenSMTPD) with ESMTP id 8d780ce3
 for <bug-guix@HIDDEN>; Thu, 14 May 2020 16:28:18 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date
 :mime-version:content-type:content-transfer-encoding:subject:to
 :from:message-id; s=dkim; bh=yVdQ6+p2/K51ano9Z50HpGFk7fnrTzzEBbm
 PjViCxZE=; b=ShD1VdivTdNBSgeg2Ntt3eUR0N05LkRuDY2au6f4cmoa9R4r7xE
 HqvFxV8A+LZvBcKKb54tE43DLOnUp4MyibFPHwy5i+8J1ROEKyIfGt1D2AX2j79Y
 4ELZBN7pBJ4We5ohmhuT/LiTNxP6dn76pAN6HLZbJd873PUwmNI/AgZKpXyqd2my
 GgJ+AYrO3h2MH24YM3XklUHkniDeWgbCwAXQso4EU4+RoV17jrF8B984m/SB19hg
 6bFcAy9+y4UgYTbXipnaEKA7M7o4b5JaWCmeAqW00BStxvvgo0rdlUyBrVDuFmn3
 u6dpi8PTvyLi+5DP/KJwKP7E/Q/MBvRbPzA==
Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 3afab2bd
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <bug-guix@HIDDEN>;
 Thu, 14 May 2020 16:28:17 +0000 (UTC)
Date: Thu, 14 May 2020 12:28:11 -0400
User-Agent: K-9 Mail for Android
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: Suggested command to import key does not work on debian
To: bug-guix@HIDDEN
From: Julien Lepiller <julien@HIDDEN>
Message-ID: <FD3B73B4-AF2B-478A-999B-84ADEEA348AE@HIDDEN>
Received-SPF: none client-ip=2a00:5884:8208::1;
 envelope-from=julien@HIDDEN; helo=lepiller.eu
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

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

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

wget =E2=80=A6 -q0 - | gpg --import

-q0 does not work with debian's wget, but -O works=2E

Aftcr importing the key, the script still complains it cannot find it=2E R=
e-running the same command with "sudo" in front of the gpg import command r=
e-imports the key and the script is then able to find it=2E

My guess is that the first import imported the key in my user's keyring, b=
ut the script looks in root's keyring=2E The second attempt added the key t=
o root's keyring=2E




Acknowledgement sent to Julien Lepiller <julien@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#41266; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 14 May 2020 17:30:02 UTC

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