diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2019-11-02 01:28:24 -0400 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2019-11-02 08:44:19 -0700 |
commit | 67a847605769d5e255168a65d780594383569b75 (patch) | |
tree | ffdc4362c00917605de5baf23f033be46eda3ef2 /debian | |
parent | a858e19c0eb6c2a12d832b3dd256ef64c72f0fc1 (diff) | |
download | mailscripts-67a847605769d5e255168a65d780594383569b75.tar.gz |
email-print-mime-structure: add decryption capability
Add simple decryption capability for email-print-mime-structure, so
that it can do stuff like this:
$ email-print-mime-structure --pgpkey alice@openpgp.example.sec.asc < msg.eml
└┬╴multipart/encrypted 2190 bytes
├─╴application/pgp-encrypted 11 bytes
└─╴application/octet-stream 1613 bytes
↧ (decrypts to)
└─╴text/plain 425 bytes
$
At the moment, it only works with keys that can be found in the
filesystem, and when the pgpy module is installed.
Possible future work:
- try using gpg to do the decryption from whatever gpg's system
capabilities are
I've added python3-pgpy to the list of Recommends, since it is not a
hard dependency.
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/control | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/control b/debian/control index 6d3a54f..fc2bccc 100644 --- a/debian/control +++ b/debian/control @@ -39,6 +39,7 @@ Recommends: devscripts, git, notmuch, + python3-pgpy, Architecture: all Description: collection of scripts for manipulating e-mail on Debian This package provides a collection of scripts for manipulating e-mail |