Hi Mario:

Am 02.10.18 09:43 schrieb(en) Mario Mikočević:
It's not actual balsa hang but it very much feels like one
 - ssh window where balsa is started gets fully working ascii dialogue, if 
dealt with (passphrase or smlr) balsa window resumes working ..

Something like ->

Ah!  That's the Pinentry curses dialogue…  The calling chain is something like

        Balsa ⟶ GpgME library ⟶ gpg or gpgsm ⟶ GPG Agent ⟶ pinentry

to get the passphrase for signing or decryption.

Every other 'popup' window works fine so this very much could be gpg config 
problem, just that I don't know how to fix that .. yet.

On the machine where balsa is running (i.e. the remote box), you must install 
(Debian/Ubuntu package names, ymmv) gpg-agent and pinentry-gnome3 or 
pinentry-gtk2 (or the Qt/kde flavour of pinentry).  As they are X11 
applications (in contrast to the curses version), they get tunnelled through 
ssh like Balsa itself.

Then, make sure (again on the remote machine), the file ~/.gnupg/gpg-agent.conf 
exists and contains something like (see man gpg-agent for more options)

<snip>
debug-level none
default-cache-ttl 10800         # …or whatever you like, in seconds
pinentry-program /usr/bin/pinentry-gtk-2        # …may be named differently on 
other distos
allow-mark-trusted
lc-ctype de_DE.UTF-8            # …German locale for me, choose the proper one
lc-messages de_DE.UTF-8
</snip>

Note that the “use-agent” option in ~/.gnupg/gpg.conf is a no-op and gpg2 now 
/always/ uses the agent (gpgsm never worked without it).

Hope this helps,
Albrecht.

Attachment: pgpzJdAnUrO2B.pgp
Description: PGP signature

_______________________________________________
balsa-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/balsa-list

Reply via email to