[prev in list] [next in list] [prev in thread] [next in thread]
List: gnupg-users
Subject: Re: Failed to export secret key
From: Werner Koch via Gnupg-users <gnupg-users () gnupg ! org>
Date: 2023-09-13 10:34:50
Message-ID: 87il8ejr91.fsf () jacob ! g10code ! de
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Hi,
so everthing looks okay. What I would now do is to strace pinentry;
Here is a wpinentry wrapper I have used in the past.
--8<---------------cut here---------------start------------->8---
#!/bin/sh
MYPINENTRY="/usr/local/bin/pinentry-qt"
locale >/tmp/pinentry.err
set >>/tmp/pinentry.err
exec strace -o /tmp/pinentry.trc -e read=0 $MYPINENTRY -v -d "$@" 2>>/tmp/pinentry.err
#exec valgrind $MYPINENTRY -d "$@" 2>>/tmp/pinentry.err
--8<---------------cut here---------------end--------------->8---
Adjust to your needs and put
pinentry-program /home/foo/bin/pinentry-wrapper
into gpg-agent.conf. gpgconf --kill gpg-agent and try again.
Salam-Shalom,
Werner
--
The pioneers of a warless world are the youth that
refuse military service. - A. Einstein
["openpgp-digital-signature.asc" (application/pgp-signature)]
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic