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

From: Daiki Ueno <[email-masked]>
Date: Wed, 14 Nov 2012 10:30:03 +0900

Richard Stallman <[email-masked]> writes:

> Are you presenting them as proof of a bug in GPG and gpg-agent?

Yes and in previous mail I was saying that you could probably workaround
this by trying decryption as well as signing before starting emacs:

#!/bin/sh

eval `gpg-agent --daemon`

# remember passphrase for signing
gpg --use-agent -u "your key-id" --output /dev/null --sign < /dev/null

# remember passphrase for decryption
gpg -r "your key-id" --encrypt < /dev/null | gpg --use-agent

emacs -f normal-start

Replace "your key-id" with your GPG key ID.

Regards,
-- 
Daiki Ueno