[Users] Pinentry issues

Brad Rogers brad at fineby.me.uk
Tue May 28 23:56:15 CEST 2013


Hello All,

Today, for the first time, I am having trouble PGP signing my mails.  I
get an error dialog box come with the following in it;

Error

Could not queue message for sending.

Signature failed: Data signing failed, Bad passphrase

Doing a bit of checking of recent updates to my Debian testing set up, I
see that Pinentry was pulled in as part of recent GPGME updates, so I
took a look the the CM pages regarding setting up pinentry.  I ensured
that use-agent is set in gpg.conf, gpg-agent.conf has the

pinentry-program /usr/bin/pinentry-qt4 # See (1)
no-grab
default-cache-ttl 1800

in it, and created a startup script containing the line

eval "$(gpg-agent --daemon)"

I do have pinentry-qt, not -gtk installed.

(1) Yes, pinentry-qt4 is what the binary is called on my system.

The --debug output for loading the message and trying to sign it;

template.c:162:template.c:163 reading templates
dir /home/brad/.claws-mail/templates compose.c:8097:activated privacy
system: pgpmime message/rfc822 (offset:257 length:2592 encoding: 6)
        text/plain (offset:1877 length:972 encoding: 0)
    message/rfc822 (offset:257 length:2592 encoding: 6)
        text/plain (offset:1877 length:972 encoding: 0)
undo.c:562:add:undo add 0-11
undo.c:562:add:undo add 11-12
undo.c:562:add:undo add 12-84
undo.c:562:add:undo add 84-139
undo.c:562:add:undo add 139-140
undo.c:562:add:undo add 140-146
undo.c:562:add:undo add 146-147
undo.c:562:add:undo add 147-184
undo.c:562:add:undo add 184-185
undo.c:562:add:undo add 185-239
undo.c:562:add:undo add 239-240
undo.c:562:add:undo add 240-313
undo.c:562:add:undo add 313-383
undo.c:562:add:undo add 383-454
undo.c:562:add:undo add 454-512
undo.c:562:add:undo add 512-513
undo.c:562:add:undo add 513-562
undo.c:562:add:undo add 562-570
undo.c:562:add:undo add 570-593
undo.c:562:add:undo add 593-594
undo.c:562:add:undo add 594-650
undo.c:562:add:undo add 650-651
undo.c:562:add:undo add 651-680
undo.c:562:add:undo add 680-681
undo.c:562:add:undo add 681-724
undo.c:562:add:undo add 724-725
undo.c:562:add:undo add 725-790
undo.c:562:add:undo add 790-791
undo.c:562:add:undo add 791-795
undo.c:562:add:undo add 795-807
undo.c:562:add:undo add 807-857
undo.c:562:add:undo add 857-908
undo.c:562:add:undo add 908-950
undo.c:562:add:undo add 950-972
    message/rfc822 (offset:257 length:2592 encoding: 6)
        text/plain (offset:1877 length:972 encoding: 0)
compose.c:3786:First text part found
compose.c:9574:called inc_lock (lock count 1)
compose.c:5768:queueing message...
compose.c:5806:queuing
to /home/brad/.claws-mail/tmp/queue.0x1c378007631ae1b
codeconv.c:1486:current locale: en_GB.UTF-8 compose.c:6124:Adding
To-fields compose.c:6124:Adding Newsgroups-fields
compose.c:6124:Adding Cc-fields
compose.c:6124:Adding Bcc-fields
utils.c:2124:domain name = abydos.stargate.org.uk
compose.c:6124:Adding Followup-To-fields
compose.c:6124:Adding Reply-To-fields
autofaces.c:42:header content file 'xface.brad at fineby.me.uk' not found
autofaces.c:42:header content file 'face.brad at fineby.me.uk' not found
compose.c:5488:src encoding = UTF-8, out encoding = US-ASCII, transfer
encoding = 7bit compose.c:5547:main text: 972 bytes encoded as US-ASCII
in 3 procmime.c:2593:procmime_write_mimeinfo
procmime.c:2451:procmime_write_message_rfc822
procmime.c:2370:procmime_write_mime_header
procmime.c:2593:procmime_write_mimeinfo
procmime.c:2593:procmime_write_mimeinfo
procmime.c:2523:procmime_write_multipart
procmime.c:2370:procmime_write_mime_header
procmime.c:2593:procmime_write_mimeinfo
sgpgme.c:512:using default gnupg key
prefs_gpg.c:538:unset GPG_AGENT_INFO=/tmp/gpg-Xm3URM/S.gpg-agent:3288:1
pgpmime.c:528:gpgme_op_sign error : 700000b
compose.c:9578:called inc_unlock (lock count 0)
alertpanel.c:254:Creating alert panel dialog...
alertpanel.c:213:called inc_lock (lock count 1)

In the short term, I can do without the GPG sigs, but would really
prefer to get them back if I can.  So now I've reached the limit of my
knowledge and am turning to the experts for help.

-- 
 Regards  _
         / )           "The blindingly obvious is
        / _)rad        never immediately apparent"
Bet you thought you had it all worked out
Problem - Sex Pistols



More information about the Users mailing list