Is it posible to configure gpg in a way that I enter passphrase only once, and it will work for the whole session (I'm using Ubuntu/XFce)?
I'm not sure how gpg works, it seems that the default function is that gpg asks gpg-agent for the passphrase and the agent runs pin-entry to ask for passphrase.
I would like to use pinentry-curses only once per session, so I can paste my passphrase (I have hex string from a sentence - I use echo -n <SENTENCE> | str-hex) and sign email from Claws Mail without putting passphrase (you can't use pinentry-curses with Claws Mail).