In case this is not clear, I would like sup to use gpg-agent correctly, so as not to have to enter my passphrase repeatedly.
Do any of you see something I'm doing wrong?
Thanks!

On Tuesday, 17 March 2015 13:49:24 UTC+1, valentin.reis wrote:
Hello,

Sup asks for my gpg passphrase every time it has to encrypt, sign or
decrypt an e-mail, even though I am using gpg-agent.
When decrypting files sequentially using gpg or gpg2, gpg-agent is used,
and I have to provide the passphrase just once.

Here are the contents of my config files:

.gnupg/gpg.conf
keyserver hkp://keys.gnupg.net
use-agent

.gnupg/gpg-agent.conf
pinentry-program /usr/bin/pinentry-curses

.sup/config.yaml
...
:accounts:
  :default:
  ...
    :gpgkey: 59EA13A1
...

No crypto hooks in .sup/hooks are in use.

gpg --list-keys
/home/fre/.gnupg/pubring.gpg
----------------------------
pub   2048R/59EA13A1 2014-04-28
uid                  Valentin Reis <valentin.reis@gmail.com>
sub   2048R/C8DA9D35 2014-04-28
sub   2048R/4F728EEB 2014-04-28

It is a debian machine. Various apt-get output:
gnupg-agent is already the newest version.
libgpgme11 is already the newest version.
gnupg2 is already the newest version.

Cheers!
val

--