[Pkg-mozext-maintainers] Bug#775933: enigmail: calls 'gpg --list-keys' before encrypting. This is slow, esp. with gpg2

Andrew Gallagher Andrew.Gallagher at ward.ie
Wed Jan 21 17:25:13 UTC 2015


Package: enigmail
Version: 2:1.7.2-3
Severity: normal

Dear Maintainer,

Enigmail appears to call 'gpg --list-keys' when trying to work out if it
should encrypt an email, even if that mail has only one recipient. This means 
slurping up every single key ID into memory, required or not. It also causes 
gpg to walk its entire database, which is ridiculously inefficient - with a 
large keyring and gpg2 this can take several minutes, during which time gpg 
hogs 99% of CPU. (gpg1 is faster, but there is still a noticeable delay)

Is this all really necessary? It would be hundreds of times faster to call 
'gpg --list-keys $email' for each recipient in turn. 

Andrew.

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.utf8, LC_CTYPE=en_IE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages enigmail depends on:
ii  gnupg    1.4.18-6
ii  icedove  31.3.0-1
ii  libc6    2.19-13

Versions of packages enigmail recommends:
ii  gnupg-agent  2.0.26-4

enigmail suggests no packages.

-- no debconf information

The information in this email and any attachments contain confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail, the attachments or any part thereof. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. Unless expressly stated, this email is not intended to create any contractual relationship. If this email is not sent in the course of the senders employment or fulfilment of his/her duties to Ward Solutions, Ward Solutions accepts no liability whatsoever for the content of this message or any attachment(s). Ward Solutions Ltd. Registered in Republic of Ireland at 2054 Castle Drive, CityWest Business Campus, Dublin 24 Reg. No. 316165. 



More information about the Pkg-mozext-maintainers mailing list