Subject: Re: bug#12696: 24.2.50; epa bug with gpg-agent

From: Richard Stallman <[email-masked]>
Date: Thu, 25 Oct 2012 21:33:31 -0400

Can you reproduce the failure?  What happens when you try?

Here's gpg --version.
gpg (GnuPG) 1.4.9
Copyright (C) 2008 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-E, RSA-S, ELG-E, DSA
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

Here's the  *epg-debug* buffer contents after the test.

/usr/bin/X11/gpg --no-tty --status-fd 1 --yes --use-agent --enable-progress-filter --command-fd 0 --armor --textmode --output /tmp/epg-output2472DQN --encrypt -r 624DC565135EA668
[GNUPG:] PROGRESS stdin ? 0 0
[GNUPG:] BEGIN_ENCRYPTION 2 7
[GNUPG:] PROGRESS stdin ? 234 0
[GNUPG:] END_ENCRYPTION
/usr/bin/X11/gpg --no-tty --status-fd 1 --yes --use-agent --enable-progress-filter --command-fd 0 --output /tmp/epg-output2472dkZ --decrypt -- /tmp/epg-input2472QaT
[GNUPG:] PROGRESS /tmp/epg-input2472Qa ? 0 822
[GNUPG:] ENC_TO 879A7C37B1B10ED6 16 0
[GNUPG:] USERID_HINT 879A7C37B1B10ED6 Richard Stallman (Chief GNUisance) <[email-masked]>
[GNUPG:] NEED_PASSPHRASE 879A7C37B1B10ED6 624DC565135EA668 16 0
gpg: cancelled by user
[GNUPG:] MISSING_PASSPHRASE
[GNUPG:] BAD_PASSPHRASE 879A7C37B1B10ED6
gpg: encrypted with 1024-bit ELG-E key, ID B1B10ED6, created 2001-03-05
      "Richard Stallman (Chief GNUisance) <[email-masked]>"
gpg: public key decryption failed: bad passphrase
[GNUPG:] BEGIN_DECRYPTION
[GNUPG:] DECRYPTION_FAILED
gpg: decryption failed: secret key not available
[GNUPG:] PROGRESS /tmp/epg-input2472Qa ? 822 822
[GNUPG:] END_DECRYPTION

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call