public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alexander Ben Nasrallah <me@abn.sh>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] gpg2 - error gpg: public key decryption failed: No pinentry
Date: Wed, 17 Jan 2018 07:47:27 +0100	[thread overview]
Message-ID: <20180117064727.GA49075@scherox.fritz.box> (raw)
In-Reply-To: <7d43ed93-5c66-de97-a892-6e3cd57ddd2a@sys-concept.com>

On Tue, Jan 16, 2018 at 10:51:40PM -0700, thelma@sys-concept.com wrote:
> When I try to decrypt a file I get:
> 
> gpg2 text.asc
> ...
> gpg: public key decryption failed: No pinentry
> gpg: decryption failed: No secret key
> 
> app-crypt/pinentry-1.0.0-r2 is installed

Sometime you have to set one of the following.

	# PIN entry program
	pinentry-program /usr/bin/pinentry-curses # no X
	pinentry-program /usr/bin/pinentry-qt
	pinentry-program /usr/bin/pinentry-kwallet
	pinentry-program /usr/bin/pinentry-gtk-2

to whatever suits you in ~/.gnupg/gpg-agent.conf.

Hope that helps.


  reply	other threads:[~2018-01-17  6:47 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-17  5:51 [gentoo-user] gpg2 - error gpg: public key decryption failed: No pinentry thelma
2018-01-17  6:47 ` Alexander Ben Nasrallah [this message]
2018-01-17  8:51   ` Mick
2018-01-17 13:34   ` thelma
2018-01-17 13:51   ` thelma
2018-01-17 14:20     ` Mick
2018-01-17 14:30       ` thelma
2018-01-17 20:39         ` Alexander Ben Nasrallah
2018-01-17 20:56           ` Neil Bothwick
2018-01-17 21:14             ` thelma
2018-01-17 21:09           ` thelma
2018-01-17  9:46 ` Neil Bothwick
2018-01-17 13:35   ` thelma
2018-01-17 13:46     ` Neil Bothwick
2018-01-17 14:26       ` thelma
2018-01-17 14:48         ` Neil Bothwick
2018-01-17 16:22           ` thelma
2018-01-19  3:43       ` [gentoo-user] [SOLVED] " thelma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180117064727.GA49075@scherox.fritz.box \
    --to=me@abn.sh \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox