#3948: Please add a hook called just before sendmail invocation
--------------------------+----------------------
  Reporter:  tpikonen     |      Owner:  mutt-dev
      Type:  enhancement  |     Status:  closed
  Priority:  minor        |  Milestone:
 Component:  mutt         |    Version:
Resolution:  fixed        |   Keywords:
--------------------------+----------------------

Comment (by vinc17):

 Without more information, I disagree with this change as it makes Mutt
 uselessly more complex and possibly insecure.

 First, {{{GPG_TTY}}} is set only in {{{mutt_init()}}} from {{{init.c}}},
 thus I don't see why the user wouldn't set it in his environment
 (interactive shell startup). This is the correct way to do, IMHO, as it
 would benefit to user programs running in the terminal. See the {{{gpg-
 agent(1)}}} man page, for instance.

 If the user doesn't do this, then this may be for a good reason
 (security/privacy?). Note that since {{{GPG_TTY}}} is set from Mutt, it is
 exported to all external programs Mutt starts, which may not be what the
 user wants. I wonder if this can yield leakage of information in
 particular setups.

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3948#comment:8>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to