[Bug 1518068] [NEW] Timout for gpg-agent related operations performed by enigmail like: decrypt a message

Uwe Kaminski 1518068 at bugs.launchpad.net
Thu Nov 19 20:33:18 UTC 2015


Public bug reported:

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

** Affects: gnupg2 (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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
-     I am waiting ~ 25 seconds
-     I am asked to enter the password for the key used to decrypt the message
-     Entering the password
-     The message is shown in plain text.
+ 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
+         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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gnupg2 in Ubuntu.
https://bugs.launchpad.net/bugs/1518068

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

Status in gnupg2 package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1518068/+subscriptions



More information about the foundations-bugs mailing list