Timout for gpg-agent related operations performed by enigmail like: decrypt a message

Bug #1518068 reported by Uwe Kaminski
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnupg2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This bug was also reported to the Bugtracker of the Enigmail Project: http://sourceforge.net/p/enigmail/bugs/540/
As it seems to be related to Ubuntu I open this bug here:

I am running a freshly installed Ubuntu 15.10 using GnuPG 2.0.28 and Thunderbird 38.3.0 using Enigmail 1.8.2.

All operations that access the gpg-agent seem to run into a timeout and for this reason they are very slow. This means that signing, decrypting, encrypting take additional ~25 seconds in order to be performed.

One specific example:

1. There is an encrypted email in my inbox and I select these email.
2. The message body is shown as encrypted text block
3.    I am waiting ~ 25 seconds
4.    I am asked to enter the password for the key used to decrypt the message
5.    Entering the password
6.    The message is shown in plain text.

This behaviour is exactely the same if I jump to another unencrypted email in my inbox and afterwards back to the encrypted one.

There seems to be a timeout with the gpg-agent because the Enigmail log says for the example above:

Initializing Enigmail service ...
EnigmailAgentPath=/usr/bin/gpg2

enigmail> /usr/bin/gpg2 --version --version --batch --no-tty --charset utf-8 --display-charset utf-8
gpg (GnuPG) 2.0.28
libgcrypt 1.6.3
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA, RSA, ELG, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

enigmail> /usr/bin/gpg2 --charset utf-8 --display-charset utf-8 --batch --no-tty --status-fd 2 --max-output 319000 --decrypt --use-agent
enigmail> /usr/bin/gpg2 --charset utf-8 --display-charset utf-8 --batch --no-tty --status-fd 2 --fixed-list-mode --with-colons --list-keys ABCDEFGHIJK12345

Uwe Kaminski (jukey)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnupg2 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.