Debian Bug report logs - #856995
Unattended passphrase for gpg2 (pinentry-mode loopback)

version graph

Package: debarchiver; Maintainer for debarchiver is Ola Lundqvist <[email protected]>; Source for debarchiver is src:debarchiver (PTS, buildd, popcon).

Reported by: Christian Schrötter <[email protected]>

Date: Tue, 7 Mar 2017 00:48:01 UTC

Severity: minor

Found in version debarchiver/0.11.0

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#856995: Unattended passphrase for gpg2 (pinentry-mode loopback)
Reply-To: Ola Lundqvist <[email protected]>, [email protected]
Resent-From: Ola Lundqvist <[email protected]>
Original-Sender: [email protected]
Resent-To: [email protected]
Resent-CC: Ola Lundqvist <[email protected]>
X-Loop: [email protected]
Resent-Date: Tue, 07 Mar 2017 13:33:05 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: followup 856995
X-Debian-PR-Package: debarchiver
X-Debian-PR-Keywords: 
X-Debian-PR-Source: debarchiver
Received: via spool by [email protected] id=B856995.148889351529482
          (code B ref 856995); Tue, 07 Mar 2017 13:33:05 +0000
Received: (at 856995) by bugs.debian.org; 7 Mar 2017 13:31:55 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
	(2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.5 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HAS_BUG_NUMBER,
	HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MULTALT,RCVD_IN_DNSWL_LOW,SPF_PASS,
	URIBL_CNKR autolearn=no autolearn_force=no
	version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 35; hammy, 150; neutral, 149; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Google-DKIM-Signature:in-reply-to,
	0.000-+--sk:unatten, 0.000-+--Maintainer, 0.000-+--GnuPG, 0.000-+--gnupg
Received: from mail-io0-x231.google.com ([2607:f8b0:4001:c06::231])
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1clFDX-0007Zx-9q
	for [email protected]; Tue, 07 Mar 2017 13:31:55 +0000
Received: by mail-io0-x231.google.com with SMTP id l7so3280207ioe.3
        for <[email protected]>; Tue, 07 Mar 2017 05:31:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:sender:in-reply-to:references:from:date:message-id
         :subject:to;
        bh=/DUCdiG3R2pSOKHfp7jE3ETdrIFMWuAamUjShCiEbNg=;
        b=ugBs7uMuQSk6UpxtyTTSSvx25K/z6HwaLgGEGMpeL41dq9VvTcoxMuairPbM6IUiCG
         YL2IVB4Pr6I35+jD6IUO0h4yeLNTpEHr6A4SY0v7+A/1lDV7WHvZ7k5UC9D7xBrp+dF1
         fMdBFNohdXhghmdxRVS7OcPWKe56Cpki+DFfLRg8yCX3fwS1g02ukRlFop0tehsBXF4j
         qgwnzYSHdoY3PtC0fLL0klYyUub7UlEFEs4sM/szspY1YfSRY5+BF5o1xTRd3VPop7lB
         w8sjmFKUE4Q/EFz5k+7zOkVGTbZF6fDQTpCSabQnxnT5uuvn9a1kfu0YvM8BU+EVgKh4
         Cupw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
         :date:message-id:subject:to;
        bh=/DUCdiG3R2pSOKHfp7jE3ETdrIFMWuAamUjShCiEbNg=;
        b=eaNNLxOYgNObue4ee3/DtxDZKYNTb9iU1ocWukRFWJCkB9eItJ33QvyUsvEx0VTH2W
         JmJkhAFHIkLMh3Q3o/Y/wrXZm+Q71iOWF65lwNdkpJ0EG7BZprDsSX+Op+nT9kfxU6V9
         UmS3p4msKADa7qG/mPSJJ7tgNVmzXJzHLsLk7yEw1VN0rCNFChwzazwbfCTgW/YN4BxX
         eupynrasu3p125J2iGCO9vo9ejBgSfZ0xve5q1tauY8SvJY71mnRc4jiU1IyaOv82P+B
         mJXjFZxYOkAq6+/dTMK37ogzIQ54R/OP9eaS49rM7/HahaR0r+KyYqlHbzf0OKl25NPA
         G8BQ==
X-Gm-Message-State: AMke39ljtUe5EawJsTDY+UxqRJQ3b3bmxiyt1mUG4Jox8rBegJ1JCTjph6dH2rw5SY4o03HwfEW5WWeWw3zelg==
X-Received: by 10.107.133.224 with SMTP id p93mr822802ioi.175.1488893508825;
 Tue, 07 Mar 2017 05:31:48 -0800 (PST)
MIME-Version: 1.0
Sender: [email protected]
Received: by 10.50.25.161 with HTTP; Tue, 7 Mar 2017 05:31:48 -0800 (PST)
In-Reply-To: <[email protected]>
References: <[email protected]>
From: Ola Lundqvist <[email protected]>
Date: Tue, 7 Mar 2017 14:31:48 +0100
X-Google-Sender-Auth: ny5rqmVezlDxS4PZ2LJGXD7Z95g
Message-ID: <CABY6=0ng5YPVmsigAn06W=D-Ck53xs5PK8vv-DWVzD6HiWsNiQ@mail.gmail.com>
To: Christian Schrötter <[email protected]>, [email protected]
Content-Type: multipart/alternative; boundary=001a113ecbb6b3bb41054a24087d
[Message part 1 (text/plain, inline)]
Hi

Thank you for the report. I'll adjust the documentation (or code).

Best regards

// Ola

On 7 March 2017 at 01:44, Christian Schrötter <[email protected]> wrote:

> Package: debarchiver
> Version: 0.11.0
> Severity: minor
>
> Dear Maintainer,
>
> starting with Stretch and gpg2 it's impossible to call debarchiver with
> enabled archive signing (and $gpgpassfile) from commandline with a
> foreign TTY, i.e. a session created by "su <user>".
>
> > gpg: signing failed: Inappropriate ioctl for device
> > gpg: signing failed: Inappropriate ioctl for device
>
> It looks like the gpg call should use "--pinentry-mode loopback" OR the
> documentation should recommend a new line in ~/.gnupg/gpg.conf:
>
> > pinentry-mode loopback
>
> There is an interesting section at the Arch Wiki at [1] too. The change
> in ~/.gnupg/gpg-agent.conf is not required as far as I can see.
>
> --
> With kind regards,
> Christian Schrötter
>
> [1] https://wiki.archlinux.org/index.php/GnuPG#Unattended_passphrase
>



-- 
 --- Inguza Technology AB --- MSc in Information Technology ----
/  [email protected]                    Folkebogatan 26            \
|  [email protected]                   654 68 KARLSTAD            |
|  http://inguza.com/                Mobile: +46 (0)70-332 1551 |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9  /
 ---------------------------------------------------------------
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 18:37:09 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.