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

Werner Koch wk at gnupg.org
Fri Jun 12 13:42:55 CEST 2015

On Fri, 12 Jun 2015 12:23, neal at walfield.org said:

> Is any change actually required on the pinentry side?  If gpg-agent
> doesn't pass the INSIDE_EMACS environment variable through, then emacs
> support is automatically disabled.

- I'd like to have this explicitly allowed.  Technically suppressing
  INSIDE_EMACS is possible but it is a more code.  It also goes nicely
  with the allow-external-cache option.

- In case gpg-agent is started within Emacs, that envvar will be passed
  anyway.  The special treatmeant of these envars affects is only fo gpg
  and gpgsm to override the envvars known by gpg-agent if they want
  different ones.  The best examples here are the DISPLAY or LC_* envars
  which are often different than those use at the time gpg-agent was



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-devel mailing list