From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Gibbons Subject: bug#36051: "guix import gnu" says public key is not in keyring Date: Sat, 1 Jun 2019 21:33:51 -0600 Message-ID: <20190601213351.5548038c@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:45706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXHGx-00053T-II for bug-guix@gnu.org; Sat, 01 Jun 2019 23:35:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXHGw-0001h3-D3 for bug-guix@gnu.org; Sat, 01 Jun 2019 23:35:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53902) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hXHGw-0001gq-7z for bug-guix@gnu.org; Sat, 01 Jun 2019 23:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hXHGw-0007NC-1Y for bug-guix@gnu.org; Sat, 01 Jun 2019 23:35:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:45605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXHFw-00050C-Nx for bug-guix@gnu.org; Sat, 01 Jun 2019 23:34:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXHFv-0000zr-Ch for bug-guix@gnu.org; Sat, 01 Jun 2019 23:34:00 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:37377) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hXHFv-0000yR-23 for bug-guix@gnu.org; Sat, 01 Jun 2019 23:33:59 -0400 Received: by mail-pf1-x42c.google.com with SMTP id a23so8582835pff.4 for ; Sat, 01 Jun 2019 20:33:57 -0700 (PDT) Received: from localhost ([199.68.53.171]) by smtp.gmail.com with ESMTPSA id u2sm10174579pjv.30.2019.06.01.20.33.54 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 01 Jun 2019 20:33:55 -0700 (PDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 36051@debbugs.gnu.org I am trying to define the gnurobots package using guix import. I try the following and get the corresponding results: ~$ guix import gnu gnurobots Starting download of /tmp/guix-file.sRnZ4I =46rom ftp://ftp.gnu.org/gnu/gnurobots/gnurobots-1.2.0.tar.gz... gnurobots-1.2.0.tar.gz 173KiB 163KiB/s 00:01 [##################] 100.0% Starting download of /tmp/guix-file.cZoC7H =46rom ftp://ftp.gnu.org/gnu/gnurobots/gnurobots-1.2.0.tar.gz.sig... =E2=80=A6.0.tar.gz.sig 72B 170KiB/s 00:00 [##################] 100.0% In execvp of gpgv: No such file or directory guix import: warning: signature verification failed for `ftp://ftp.gnu.org/gnu/gnurobots/gnurobots-1.2.0.tar.gz' guix import: warning: (could be because the public key is not in your keyring) guix import: error: 'gnu' import failed ~$ guix import gnu --key-download=3Dinteractive gnurobots Starting download of /tmp/guix-file.e0KAGy =46rom ftp://ftp.gnu.org/gnu/gnurobots/gnurobots-1.2.0.tar.gz... gnurobots-1.2.0.tar.gz 173KiB 162KiB/s 00:01 [##################] 100.0% Starting download of /tmp/guix-file.lStU1V =46rom ftp://ftp.gnu.org/gnu/gnurobots/gnurobots-1.2.0.tar.gz.sig... =E2=80=A6.0.tar.gz.sig 72B 111KiB/s 00:00 [##################] 100.0% In execvp of gpgv: No such file or directory guix import: warning: signature verification failed for `ftp://ftp.gnu.org/gnu/gnurobots/gnurobots-1.2.0.tar.gz' guix import: warning: (could be because the public key is not in your keyring) guix import: error: 'gnu' import failed ~$ guix import gnu --key-download=3Dalways gnurobots Starting download of /tmp/guix-file.DtCU1Y =46rom ftp://ftp.gnu.org/gnu/gnurobots/gnurobots-1.2.0.tar.gz... gnurobots-1.2.0.tar.gz 173KiB 178KiB/s 00:01 [##################] 100.0% Starting download of /tmp/guix-file.QOlbzN =46rom ftp://ftp.gnu.org/gnu/gnurobots/gnurobots-1.2.0.tar.gz.sig... =E2=80=A6.0.tar.gz.sig 72B 48KiB/s 00:00 [##################] 100.0% In execvp of gpgv: No such file or directory guix import: warning: signature verification failed for `ftp://ftp.gnu.org/gnu/gnurobots/gnurobots-1.2.0.tar.gz' guix import: warning: (could be because the public key is not in your keyring) guix import: error: 'gnu' import failed ~$ guix import gnu --key-download=3Dnever gnurobots Starting download of /tmp/guix-file.fgTq6E =46rom ftp://ftp.gnu.org/gnu/gnurobots/gnurobots-1.2.0.tar.gz... gnurobots-1.2.0.tar.gz 173KiB 132KiB/s 00:01 [##################] 100.0% Starting download of /tmp/guix-file.v4rsPY =46rom ftp://ftp.gnu.org/gnu/gnurobots/gnurobots-1.2.0.tar.gz.sig... =E2=80=A6.0.tar.gz.sig 72B 51KiB/s 00:00 [##################] 100.0% In execvp of gpgv: No such file or directory guix import: warning: signature verification failed for `ftp://ftp.gnu.org/gnu/gnurobots/gnurobots-1.2.0.tar.gz' guix import: warning: (could be because the public key is not in your keyring) guix import: error: 'gnu' import failed It appears the --key-download option does nothing, even though the documentation says --key-download=3Dalways should automatically install the missing keys, and there should be a prompt if the option is omitted. This is fixed when I install gnupg. It appears guix needs gnupg as a propagated input for this function to work statelessly. If anyone has a contrary opinion, please express it. I will make, test, and submit a patch on Monday if nobody beats me to it. --Jesse