Subject: bug#15553: 24.3.50; epg.el and GnuPG 2.x cause unavoidable pinentry prompts for symmetrically encrypted files

From: Stefan Monnier <[email-masked]>
Date: Tue, 08 Oct 2013 12:57:53 -0400

>>>> - on a headless server this can lock up Emacs
>> That's not good.  We should try to make sure that detect the
>> problematic situation, or make it easy for the user to get out of it
>> (with something like a C-g).
> I doubt such a hard lockup is possible, as epg.el uses async process.

But it calls accept-process-output, so it can still get stuck.  And even
if inhibit-quit is nil, maybe there's no frame open anywhere so the user
can't hit C-g.  So the only recourse would be connecting to it via
another emacsclient, which might fail to work if Emacs is stuck in an
accept-process-output waiting for a specific process.

        Stefan