#3796: Invoke pgp_sign_command when sending non-interactive
-----------------------------+----------------------
Reporter: kakkau | Owner: mutt-dev
Type: enhancement | Status: new
Priority: major | Milestone:
Component: crypto | Version: 1.5.23
Keywords: pgp sign crypto |
-----------------------------+----------------------
hey guys,
first of all thank you for that awesome piece of work.
before continue reading i want you to feel free to leave any note on how
the following could be achieved with the mutt version pinned.
to fulfill my needs i just wondered if one is able to send signed emails
automatically in non-interactive mode, e.g. when running a command like
this:
$ mutt -F .muttrc -s "autosign" -a file.txt -- [email protected] < msg.txt
sending signed email in interactive mode works just fine as the necessary
libs/configure options were considered upon compilation and it asks me for
the pgp mantra when hitting "y" while trying to send messages.
inspecting the debug logs i realized the pgp_sign_command is simply not
invoked as it is when sending in interactive mode but i think it should
be.
one could be asked to enter the pgp mantra as well or if security aspects
are less important one could modify the pgp_sign_command by replacing
--passphrase-fd with --passphrase-file or similar to get the mutt command
invoking pgp_sign_command as well.
so if you can give me any hint on how to achieve this w/ the mutt version
mentioned i would be grateful.
thanks for reading.
i hope this functionality will be implemented as it already exists at
least in the version mentioned but it seems to be simply not called in
non-interactive mode.
kind regards emil
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3796>
Mutt <http://www.mutt.org/>
The Mutt mail user agent