Re: PGP popups are b0rken on ssh tunnel usage.
Albrecht Dreß <[email protected]>
| Newsgroups | gmane.comp.gnome.apps.balsa |
|---|---|
| Message-ID | <[email protected]> |
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. _______________________________________________ balsa-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/balsa-list
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEcCEPemLFTtyGf4zATKlvDmfn2fgFAluzMqsACgkQTKlvDmfn 2fjekAgAgaoAlOGnhwDATKeMy6sfWXxhOQuoysca4kGEsYq0oyvgvZW2flilKIqT Z7XTf6SSzb9sW0VHCsjz6rsGW7rO8VR0ytZKXGUjTRovKgM6hUIJjXyPpyzdDyMa pwM+C7UMUa8cy/vveqJIOm7DuJicq2wPo79ZqCfeGEtaM3jlIH3dqqUCJT0n7qo8 lnkqas+KwLweHjwvhbp4kgO0EmV3ffPUnvyXp+kXzW+dSk99gX7jh3nEDv5qto5A cQjxTXqiVQU8ZcQh0K0w1dzLDF54daHRZEmfobRng2MBQ+/zgOaJyvBdymZhUg+c pLgoTwWyBFZb7CwwTjZhK4ZprKW3Nw== =PIRW -----END PGP SIGNATURE-----