summaryrefslogtreecommitdiff
path: root/debian/control
Commit message (Collapse)AuthorAge
* imap-dl: Kerberos support using python3-gssapiRobbie Harwood2020-03-19
| | | | | | | | | | | This is based off offlineimap's code rather than getmail's. getmail relied on pykerberos, which is considered deprecated in Fedora/RHEL/CentOS; offlineimap relied on python-gssapi, which is considered its replacement there. python3-gssapi doesn't yet have type annotations, but this is planned to change in the future. Signed-off-by: Robbie Harwood <rharwood@redhat.com> Acked-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* notmuch-slurp-debbug: use Mail::Box instead of shelling outSean Whitton2020-02-22
| | | | | | Also some refactoring for readability. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* notmuch-extract-patch: rewrite & split out mbox-extract-patchSean Whitton2020-02-15
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* Add imap-dl, a simple imap downloaderDaniel Kahn Gillmor2020-02-14
| | | | | | | | | | | | | | | | | | getmail upstream appears to have no plans to convert to python3 in the near future. Some of us use only a minimal subset of features of getmail, and it would be nice to have something simpler, with the main complexity offloaded to the modern python3 stdlib. This patch represents a squashed series of changes from both Jameson Graef Rollins and Daniel Kahn Gillmor (dkg), though dkg is primarily responsible for any remaining bugs. Thanks to Sean Whitton for useful and significant feedback. Signed-off-by: Jameson Graef Rollins <jrollins@finestructure.net> Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* email-print-mime-structure: Avoid test suite dependency on dirmngrDaniel Kahn Gillmor2019-12-04
| | | | | | | | There is no clear reason why gpgsm should try to invoke dirmngr (see https://dev.gnupg.org/T4765), but for now we can explicitly avoid the checks. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* Add <!nocheck> build-dep on dirmngrSean Whitton2019-11-28
| | | | | | Needed for the gpgsm usage in the test suite, it would seem. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* don't depend on an Essential: yes package, diffutilsSean Whitton2019-11-28
| | | | | | Thanks, Lintian. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* email-print-mime-structure: handle one-part PKCS#7 signature objectsDaniel Kahn Gillmor2019-11-28
| | | | | | | | | | | | | | | | PKCS#7 offers a signed-only mode which is distinct from multipart/signed. This mode is more robust to breakage by transforming MTAs, but it is also unreadable *unless* the receiver knows how to cope with S/MIME. See https://tools.ietf.org/html/rfc8551#section-3.5 for more details about the different formats. email-print-mime-structure should now be able to handle these messages and display the structure of their content as well. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net> Acked-by: Sean Whitton <spwhitton@spwhitton.name>
* email-print-mime-structure: decrypt S/MIME parts with OpenSSLDaniel Kahn Gillmor2019-11-28
| | | | | | | | | | If the user supplies a secret key like the ones found in https://www.ietf.org/id/draft-dkg-lamps-samples-01.html, then email-print-mime-structure will try to use that for decryption of CMS-encrypted (S/MIME) message parts. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net> Acked-by: Sean Whitton <spwhitton@spwhitton.name>
* email-print-mime-structure: decrypt S/MIME parts using gpgsmDaniel Kahn Gillmor2019-11-28
| | | | | | | | | | Decrypt ciphertext using gpgsm if the user has indicated that it's ok. This includes a new element in the test suite, which uses secret key material from https://www.ietf.org/id/draft-dkg-lamps-samples-01.html Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net> Acked-by: Sean Whitton <spwhitton@spwhitton.name>
* email-print-mime-structure: Verify Python type annotationsDaniel Kahn Gillmor2019-11-25
| | | | Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* email-print-mime-structure: Add test for --use-gpg-agent as wellDaniel Kahn Gillmor2019-11-25
| | | | Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* email-print-mime-structure: added test for PGP/MIME decryptionDaniel Kahn Gillmor2019-11-25
| | | | | | | The secret key material in this test comes from https://datatracker.ietf.org/doc/draft-bre-openpgp-samples/ Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* email-print-mime-structure: simple baseline test suiteDaniel Kahn Gillmor2019-11-25
| | | | | | | I want to ensure that any changes don't ultimately break the behavior of email-print-mime-structure. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* Declare compliance with Debian Policy 4.4.1Sean Whitton2019-11-10
| | | | | | | Thanks to Daniel Kahn Gillmor for taking the time to verify that no changes are required. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* email-print-mime-structure: add tab completionDaniel Kahn Gillmor2019-11-10
| | | | | | | | This is modeled after the use of argcomplete in diffoscope, and it should be possible to use it for any other pythonic mailscript that uses argparse. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* demote gpg, gpg-agent Recommends->SuggestsSean Whitton2019-11-10
| | | | | | See discussion in #944340. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* email-print-mime-structure: Add --use-gpg-agent for decryptionDaniel Kahn Gillmor2019-11-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | In some cases, the user may want to try to use their own GnuPG secret keys to decrypt encrypted parts of the message. By default it is disabled so that we aren't accidentally triggering the use of user secret key material. Note that gpg(1) says: It is highly recommended to use [--batch] along with the options --status-fd and --with-colons for any unattended use of gpg. I am deliberately choosing to not use either --status-fd or --with-colons for email-print-mime-structure. I'm not using --with-colons because there is no output from GnuPG that we expect to be machine-readable -- we're just looking for the cleartext of whatever ciphertext is in the message part. I'm not using --status-fd because there is nothing actionable we can do with GnuPG status messages, and asking for them would require switching from subprocess.run to subprocess.Popen to take advantage of the pass_fds argument, which in turn would make the script only work in a POSIX environment (I believe, but have not tested, that the script can currently be used on Windows). 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>
* update email-print-mime-structure headers to include licensingDaniel Kahn Gillmor2019-09-14
| | | | Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* new scripts: maildir-import-patch(1), notmuch-import-patch(1)Sean Whitton2019-05-03
| | | | 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>
* debian: update description to include notmuch-extract-patchSean Whitton2018-07-26
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* wrap-and-sort -abstSean Whitton2018-07-24
|
* debian: use the perl:Depends substvarSean Whitton2018-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* debian: new elpa-mailscripts binary packageSean Whitton2018-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* debian: add other tools to long descriptionSean Whitton2018-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* debian: drop fourth component from Standards-VersionSean Whitton2018-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* notmuch-slurp-debbug: rewrite in perl with some new featuresSean Whitton2018-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* wrap-and-sort -abstSean Whitton2018-07-24
|
* new script: notmuch-slurp-debbugSean Whitton2018-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* debian: write a long descriptionSean Whitton2018-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* depend on python3, not pythonSean Whitton2018-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* build and install a manpage for mdmvSean Whitton2018-07-24
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* initial DebianisationSean Whitton2018-07-24
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>