summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* update version in mailscripts.elSean Whitton2019-11-02
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* changelogSean Whitton2019-11-02
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* drop space before shell redirection operatorSean Whitton2019-11-02
| | | | | | For consistency with the manpage. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* email-print-mime-structure.1.pod: update LIMITATIONS about OpenPGP decryptionDaniel Kahn Gillmor2019-11-02
| | | | Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* email-print-mime-structure: add decryption capabilityDaniel Kahn Gillmor2019-11-02
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* email-print-mime-structure: renamed MimePrinter.test() to print_tree()Daniel Kahn Gillmor2019-11-02
| | | | | | No functional changes. This is just a more readable function name. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* email-print-mime-structure: add another FIXME about bytecountingDaniel Kahn Gillmor2019-11-02
| | | | Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* email-print-mime-structure: Pass parent and nth child info during walkDaniel Kahn Gillmor2019-11-02
| | | | | | | | | No functional change. This is preparatory work to be able to consider the structure of each part and determine whether we should consider trying to decrypt it. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* email-print-mime-structure: nbytes should show as a decimal integerDaniel Kahn Gillmor2019-11-02
| | | | | | No functional changes. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* email-print-mime-structure: parse argmentsDaniel Kahn Gillmor2019-11-02
| | | | | | | | This adds a -h and --help option, which is currently pretty useless. But the argparse will become useful shortly. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* email-print-mime-structure: put main() into its own functionDaniel Kahn Gillmor2019-11-02
| | | | | | | No functional changes. This is a refactoring commit to provide some non-global scoping and easier readability. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* email-print-mime-structure: refactor to a classDaniel Kahn Gillmor2019-11-02
| | | | | | | | | | | We will need to send arguments to the printer, so it's handy to wrap the functionality in a class. No functional changes. This diff is probably best reviewed with whitespace changes ignored. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* changelogSean Whitton2019-11-01
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* email-print-mime-structure: be typesafeDaniel Kahn Gillmor2019-11-01
| | | | | | | | This adds enough typechecking that the following check passes: mypy --strict email-print-mimestructure Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* changelog: notmuch project shipped but did not install the scriptSean Whitton2019-09-16
| | | | | Reported-by: David Bremner <bremner@debian.org> Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* release 0.11 (0.11-1 to Debian unstable)debian/0.11-1archive/debian/0.11-10.11Sean Whitton2019-09-15
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* changelog typoSean Whitton2019-09-15
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* changelogSean Whitton2019-09-15
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* use https:// instead of http://Daniel Kahn Gillmor2019-09-14
| | | | Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* mailscripts.el: update versionSean Whitton2019-09-14
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* changelogSean Whitton2019-09-14
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* generate nroff output in UTF-8. it is 2019!Daniel Kahn Gillmor2019-09-14
| | | | | | | | | | | | also, email-print-mime-structure's manpage uses UTF-8. groff can handle it just fine these days (assuming a UTF-8 locale, i haven't tested otherwise), so i don't think any debian system where this is installed is going to have a problem with it. We use UTF-8 in lots of different manpages already (see the tables in systemd.unit(5), for example). Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* ship email-print-mime-structureDaniel Kahn Gillmor2019-09-14
| | | | Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* add manpage for email-print-mime-structureDaniel Kahn Gillmor2019-09-14
| | | | Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* update email-print-mime-structure headers to include licensingDaniel Kahn Gillmor2019-09-14
| | | | Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* rename printmimestructure to email-print-mime-structureDaniel Kahn Gillmor2019-09-14
| | | | Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* move printmimestructure to python3, dropping py2 compatibilityDaniel Kahn Gillmor2019-09-14
| | | | Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* minor cleanup to printmimestructureJameson Graef Rollins2019-09-14
| | | | | | make the source slightly easier to read. no functional change. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* devel: make printmimestructure py3 compatibleDaniel Kahn Gillmor2019-09-14
| | | | | | Make printmimestructure work in python3 as well as python2. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* devel: add printmimestructure script (from notmuch devel scripts)Daniel Kahn Gillmor2019-09-14
| | | | | | | | | | | | David Bremner writes: I find this script pretty useful when figuring out who to blame for MIME rendering problems. The notmuch repo will be the new primary home for this script, unless and until a better home turns up. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* release 0.10 (0.10-1 to Debian unstable)debian/0.10-1archive/debian/0.10-10.10Sean Whitton2019-07-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* close bugSean Whitton2019-07-30
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* install email-extract-openpgp-certs & its manpage to the debSean Whitton2019-07-29
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* changelogSean Whitton2019-07-29
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* email-extract-openpgp-certs(1): Improve redirection readabilitySean Whitton2019-07-29
| | | | | | At least to me. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add a GPL-3+ copyright header to email-extract-openpgp-certsSean Whitton2019-07-29
| | | | | | See <https://bugs.debian.org/932993>. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* Add email-extract-openpgp-certsDaniel Kahn Gillmor2019-07-29
| | | | | | | Hopefully this tool is useful for other people, not just for myself and Anarcat. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* d/copyright: completely new scripts may use any DFSG licenseSean Whitton2019-07-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* add CONTRIBUTING.rstSean Whitton2019-07-27
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* release 0.9 (0.9-1 to Debian unstable)debian/0.9-1archive/debian/0.9-10.9Sean Whitton2019-07-14
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* fix notmuch-extract-thread-patches docstringSean Whitton2019-05-17
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* release 0.8 (0.8-1 to Debian experimental)debian/0.8-1archive/debian/0.8-10.8Sean Whitton2019-05-03
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* new scripts: maildir-import-patch(1), notmuch-import-patch(1)Sean Whitton2019-05-03
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* mbox2maildir: acquire a lock, and flush after copying all messagesSean Whitton2019-05-03
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* release 0.7 (0.7-1 to Debian unstable)debian/0.7-1archive/debian/0.7-10.7Sean Whitton2019-03-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* notmuch-slurp-debbug: Fix the --bts-server argumentSean Whitton2019-03-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* drop a joke in a commentSean Whitton2019-03-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* release 0.6 (0.6-1 to Debian unstable)debian/0.6-1archive/debian/0.6-10.6Sean Whitton2019-03-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* normalise an importSean Whitton2019-03-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* notmuch-slurp-debbug: use IPC::System::SimpleSean Whitton2019-03-06
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>