[PATCH] Add inside-Emacs mode to GUI pinentry programs

Daiki Ueno ueno at gnu.org
Fri May 29 05:06:02 CEST 2015


"Neal H. Walfield" <neal at walfield.org> writes:

>> Why not using an emacs specific variable for this or change it in
>> pinentry-emacs.

Yes, it would be certainly possible.  On the other hand, I now have a
few concerns on using the emacsclient protocol for the Pinentry purpose:
the output strings are encoded in 'file-name-coding-system', which can
be different from the locale encoding, and are even pretty-printed with
'pp'.

So, I wonder if it might be better to invent a dedicated protocol for
pinentry-emacs, only supporting raw UTF-8 strings and communicating
through a fixed socket.  In that case, we could eliminate the need for
the envvar.

>> @neal: Do you have time to look at the patch?
>
> I don't think I'll find time today, but I'll take a look at it in the
> next few days.

Thanks.

Regards,
-- 
Daiki Ueno



More information about the Gnupg-devel mailing list