Pinentry problem with different home dir

Falko Strenzke falko.strenzke at mtg.de
Thu Oct 26 11:12:24 CEST 2023


Hi Ingo,

actually I could solve the problem now by placing the gpg-agent.conf 
with the specification of the pinentry program into the folder I specify 
as GNUPGHOME. I still don't understand why this is necessary, as my 
normal home directory doesn't contain this file. But it is working for 
me now.

- Falko

Am 26.10.23 um 10:35 schrieb Ingo Klöcker:
> On Mittwoch, 25. Oktober 2023 13:01:39 CEST Falko Strenzke wrote:
>> I am trying to run GnuPG with a different home directory by setting the
>> environment variable GNUPGHOME. However, in that case, for instance when
>> trying to generate a key, in that case I get the error
>>
>> gpg: DBG: chan_4 <- ERR 67108949 No pinentry <GPG Agent>
>> gpg: agent_genkey failed: No pinentry
>> Key generation failed: No pinentry
> I'm wondering why you have problems with something that I'm using almost daily
> while working on Kleopatra. I do
> GNUPGHOME=/somewhere gpg ...
> or
> GNUPGHOME=/somewhere kleopatra ...
> all of the time.
>
> I think you need to tell us the commands you are using. And the output of
> `gpg --version`.
>
> Regards,
> Ingo
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> https://lists.gnupg.org/mailman/listinfo/gnupg-users
-- 

*MTG AG*
Dr. Falko Strenzke
Executive System Architect

Phone: +49 6151 8000 24
E-Mail: falko.strenzke at mtg.de
Web: mtg.de <https://www.mtg.de>


------------------------------------------------------------------------

MTG AG - Dolivostr. 11 - 64293 Darmstadt, Germany
Commercial register: HRB 8901
Register Court: Amtsgericht Darmstadt
Management Board: Jürgen Ruf (CEO), Tamer Kemeröz
Chairman of the Supervisory Board: Dr. Thomas Milde

This email may contain confidential and/or privileged information. If 
you are not the correct recipient or have received this email in error,
please inform the sender immediately and delete this email. Unauthorised 
copying or distribution of this email is not permitted.

Data protection information: Privacy policy 
<https://www.mtg.de/en/privacy-policy>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20231026/34acd8c9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4813 bytes
Desc: Kryptografische S/MIME-Signatur
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20231026/34acd8c9/attachment.bin>


More information about the Gnupg-users mailing list