summaryrefslogtreecommitdiff
path: root/email-print-mime-structure.1.pod
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-11-20 22:19:15 -0700
committerSean Whitton <spwhitton@spwhitton.name>2019-11-20 22:19:15 -0700
commit33afb1e3af7ce05c8f2ce4af354c8908a14573f5 (patch)
tree3c0eae4836e7f20c054c193ac3e76da5e0462dfa /email-print-mime-structure.1.pod
parent914b13d9c578aab098f427aef88b7cbd5eb3f5a2 (diff)
parent693117551a0e21359ac6dbadba443516c56b04df (diff)
downloadmailscripts-33afb1e3af7ce05c8f2ce4af354c8908a14573f5.tar.gz
Merge tag 'debian/0.14-1' into buster-bpo
mailscripts release 0.14-1 for unstable (sid) [dgit] [dgit distro=debian no-split --quilt=linear] # gpg: Signature made Fri 15 Nov 2019 06:20:35 PM MST # gpg: using RSA key 9B917007AE030E36E4FC248B695B7AE4BF066240 # gpg: Good signature from "Sean Whitton <spwhitton@spwhitton.name>" [ultimate] # Primary key fingerprint: 8DC2 487E 51AB DD90 B5C4 753F 0F56 D055 3B6D 411B # Subkey fingerprint: 9B91 7007 AE03 0E36 E4FC 248B 695B 7AE4 BF06 6240
Diffstat (limited to 'email-print-mime-structure.1.pod')
-rw-r--r--email-print-mime-structure.1.pod47
1 files changed, 41 insertions, 6 deletions
diff --git a/email-print-mime-structure.1.pod b/email-print-mime-structure.1.pod
index ab1ec05..d8545ad 100644
--- a/email-print-mime-structure.1.pod
+++ b/email-print-mime-structure.1.pod
@@ -19,7 +19,45 @@ something like "cat -n".
=head1 OPTIONS
-None.
+=over 4
+
+=item B<--pgpkey=>I<KEYFILE>
+
+I<KEYFILE> should name an OpenPGP transferable secret key that is not
+password-protected. If a PGP/MIME-encrypted message is found on
+standard input, this key will be tried for decryption. May be used
+multiple times if you want to try decrypting with more than one secret
+key.
+
+OpenPGP secret keys listed in B<--pgpkey=> are used ephemerally, and
+do not interact with any local GnuPG keyring.
+
+=item B<--use-gpg-agent>
+
+If this flag is present, and B<email-print-mime-structure> encounters
+a PGP/MIME-encrypted part, it will try to decrypt the part using the
+secret keys found in the local installation of GnuPG.
+
+If both B<--pgpkey=>I<KEYFILE> and B<--use-gpg-agent> are
+supplied, I<KEYFILE> arguments will be tried before falling back to
+GnuPG.
+
+If B<email-print-mime-structure> has been asked to decrypt parts with
+either B<--pgpkey=>I<KEYFILE> or with B<--use-gpg-agent>, and it
+is unable to decrypt an encrypted part, it will emit a warning to
+stderr.
+
+=item B<--no-use-gpg-agent>
+
+Don't try to decrypt PGP/MIME-encrypted parts using secret keys found
+in the local installation of GnuPG. This is the default.
+
+=item B<--help>, B<-h>
+
+Show usage instructions.
+
+=back
+
=head1 EXAMPLE
@@ -34,10 +72,6 @@ None.
=head1 LIMITATIONS
-B<email-print-mime-structure> currently does not try to decrypt
-encrypted e-mails, so it cannot display the MIME structure that is
-inside the message's cryptographic envelope.
-
B<email-print-mime-structure>'s output is not stable, and is not
intended to be interpreted by machines, so please do not depend on it
in scripts!
@@ -52,7 +86,8 @@ environment.
=head1 SEE ALSO
-https://tools.ietf.org/html/rfc2045, https://tools.ietf.org/html/rfc2049
+https://tools.ietf.org/html/rfc2045, https://tools.ietf.org/html/rfc2049,
+https://tools.ietf.org/html/rfc3156
=head1 AUTHOR