From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CH8HCK1/vV6yXwAA0tVLHw (envelope-from ) for ; Thu, 14 May 2020 17:28:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QJ8yAq1/vV58LgAAbx9fmQ (envelope-from ) for ; Thu, 14 May 2020 17:28:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0960F940429 for ; Thu, 14 May 2020 17:28:12 +0000 (UTC) Received: from localhost ([::1]:47954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZHeU-0000UL-Jw for larch@yhetil.org; Thu, 14 May 2020 13:28:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZHeM-0000Sm-UP for bug-guix@gnu.org; Thu, 14 May 2020 13:28:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51378) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZHeM-0006Ky-IU for bug-guix@gnu.org; Thu, 14 May 2020 13:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZHeM-0002GH-Ch for bug-guix@gnu.org; Thu, 14 May 2020 13:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41266: Suggested command to import key does not work on debian Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 14 May 2020 17:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41266 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Julien Lepiller Received: via spool by 41266-submit@debbugs.gnu.org id=B41266.15894772408623 (code B ref 41266); Thu, 14 May 2020 17:28:02 +0000 Received: (at 41266) by debbugs.gnu.org; 14 May 2020 17:27:20 +0000 Received: from localhost ([127.0.0.1]:34691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZHdg-0002F1-6f for submit@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 ) id 1jZHdd-0002Er-O1 for 41266@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@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1589477233; s=zoho; d=elephly.net; i=rekado@elephly.net; 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: User-agent: mu4e 1.4.4; emacs 26.3 From: Ricardo Wurmus In-reply-to: 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@elephly.net> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 41266@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=elephly.net header.s=zoho header.b=bKhLHg+7; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 3.49 X-TUID: vPYQfWP2vlw/ 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