summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* changelogdebian/0.19-1_bpo10+1archive/debian/0.19-1_bpo10+1Sean Whitton2020-04-19
| | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* Merge tag 'debian/0.19-1' into buster-bpoSean Whitton2020-04-19
|\ | | | | | | | | | | | | | | | | | | | | | | mailscripts release 0.19-1 for unstable (sid) [dgit] [dgit distro=debian no-split --quilt=linear] # gpg: Signature made Fri 20 Mar 2020 01:16:48 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
| * release 0.19 (-1 to Debian unstable)debian/0.19-1archive/debian/0.19-10.19Sean Whitton2020-03-20
| | | | | | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
| * imap-dl: Use "gssapi" as a synonym for "kerberos"Daniel Kahn Gillmor2020-03-20
| | | | | | | | | | | | | | | | | | | | Robbie Harwood says that "gssapi" is more accurate. I regularly get perplexed by the layers of SASL, GSSAPI, and Kerberos, so i'm happy to have this alias Just Work in any case. Suggested-by: Robbie Harwood <rharwood@redhat.com> Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
| * copyright notices for Robbie Harwood's recent commitsSean Whitton2020-03-20
| | | | | | | | | | | | Verified with the author. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
| * changelogSean Whitton2020-03-19
| | | | | | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
| * fix grammarSean Whitton2020-03-19
| | | | | | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
| * imap-dl: use retriever.authentication configurationDaniel Kahn Gillmor2020-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After discussion with Sean Whitton and Robbie Harwood, I think makes more sense to have a straight "retriever.authentication" configuration setting rather than a rather odd boolean "use_kerberos". This is a divergence from getmail, but that seems OK at this point. The implementation now also makes it pretty straightforward to add new authentication mechanisms if someone wants to add them. One additional thing that would be nice would be for imap-dl to be able to dynamically choose the "best" available authentication method. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthorseman.net>
| * 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>
| * imap-dl: Factor password auth into separate functionRobbie Harwood2020-03-19
| | | | | | | | | | Signed-off-by: Robbie Harwood <rharwood@redhat.com> Acked-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
| * imap-dl: Allow specifying ssl_ciphersRobbie Harwood2020-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In my case, this allows supporting servers which have unacceptably (for systemwide OpenSSL) small DH sizes by requesting non-DH ciphers. Specifically, hardcoding AES256-GCM-SHA384 prevents this traceback: Traceback (most recent call last): File "/usr/bin/imap-dl", line 273, in <module> scan_msgs(confname, args.verbose) File "/usr/bin/imap-dl", line 133, in scan_msgs ssl_context=ctx) as imap: File "/usr/lib/python3.7/imaplib.py", line 1288, in __init__ IMAP4.__init__(self, host, port) File "/usr/lib/python3.7/imaplib.py", line 198, in __init__ self.open(host, port) File "/usr/lib/python3.7/imaplib.py", line 1301, in open IMAP4.open(self, host, port) File "/usr/lib/python3.7/imaplib.py", line 299, in open self.sock = self._create_socket() File "/usr/lib/python3.7/imaplib.py", line 1293, in _create_socket server_hostname=self.host) File "/usr/lib/python3.7/ssl.py", line 423, in wrap_socket session=session File "/usr/lib/python3.7/ssl.py", line 870, in _create self.do_handshake() File "/usr/lib/python3.7/ssl.py", line 1139, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: DH_KEY_TOO_SMALL] dh key too small (_ssl.c:1076) Signed-off-by: Robbie Harwood <rharwood@redhat.com> Acked-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
| * changelogSean Whitton2020-03-11
| | | | | | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
| * imap-dl: update documentation to be less explicitly "getmail"yDaniel Kahn Gillmor2020-03-10
| | | | | | | | | | | | | | | | | | The fact that imap-dl came out of getmail and borrows a bit of configuration shouldn't be relevant for new users. Make the documentation more agnostic about where they're coming from. Signed-off-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>
* | changelogdebian/0.18-1_bpo10+1archive/debian/0.18-1_bpo10+1Sean Whitton2020-02-20
| | | | | | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* | Merge tag '0.18' into buster-bpoSean Whitton2020-02-20
|\| | | | | | | | | | | | | | | | | | | | | release 0.18 # gpg: Signature made Sat 15 Feb 2020 03:11:16 PM MST # gpg: using RSA key 9B917007AE030E36E4FC248B695B7AE4BF066240 # gpg: issuer "spwhitton@spwhitton.name" # 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
| * release 0.18 (-1 to Debian unstable)debian/0.18-1archive/debian/0.18-10.18Sean Whitton2020-02-15
| | | | | | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
| * fix versionSean Whitton2020-02-15
| | | | | | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
| * mailscripts.el: don't always pass --reroll-countSean Whitton2020-02-15
| | | | | | | | 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>
| * release 0.17 (-1 to Debian unstable)debian/0.17-1archive/debian/0.17-10.17Sean Whitton2020-02-14
| | | | | | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
| * update some more copyright noticesSean Whitton2020-02-14
| | | | | | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
| * changelogSean Whitton2020-02-14
| | | | | | | | 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>
| * update/format some copyright noticesSean Whitton2020-02-12
| | | | | | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
| * changelogSean Whitton2019-12-04
| | | | | | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
| * 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>
* | Drop python3-pgpy build-dep and override_dh_auto_test to do nothingdebian/0.16-1_bpo10+1archive/debian/0.16-1_bpo10+1Sean Whitton2019-12-04
| | | | | | | | | | | | python3-pgpy not available in buster. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* | changelogSean Whitton2019-12-04
| | | | | | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* | Merge tag 'debian/0.16-1' into buster-bpoSean Whitton2019-12-04
|\| | | | | | | | | | | | | | | | | | | | | | | mailscripts release 0.16-1 for unstable (sid) [dgit] [dgit distro=debian no-split --quilt=linear] # gpg: Signature made Thu 28 Nov 2019 11:30:44 AM 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
| * release mailscripts 0.16 (-1 to Debian unstable)debian/0.16-1archive/debian/0.16-10.16Sean Whitton2019-11-28
| | | | | | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
| * 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>
| * changelogSean Whitton2019-11-28
| | | | | | | | 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: Change pipe_decrypt to pipe_transformDaniel Kahn Gillmor2019-11-28
| | | | | | | | | | | | | | | | | | | | | | I plan to use the same harness to try to transform other leaf subparts that might be extractable into a MIME subtree, not just decryption. So give it a more generic name. No functional change. 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: move decrypt_part to its own functionDaniel Kahn Gillmor2019-11-28
| | | | | | | | | | | | | | No functional change. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net> Acked-by: Sean Whitton <spwhitton@spwhitton.name>
| * email-print-mime-structure: Generic pipe decryptionDaniel Kahn Gillmor2019-11-28
| | | | | | | | | | | | | | No functional change. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net> Acked-by: Sean Whitton <spwhitton@spwhitton.name>
| * email-print-mime-structure: decrypt PGP/MIME parts as bytesDaniel Kahn Gillmor2019-11-28
| | | | | | | | | | | | | | | | Fully decode the encrypted part before passing it to any decryption mechanism. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net> Acked-by: Sean Whitton <spwhitton@spwhitton.name>
| * normalise redirectsSean Whitton2019-11-25
| | | | | | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
| * changelogSean Whitton2019-11-25
| | | | | | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
| * disable dh_elpa_test so that dh_auto_test firesSean Whitton2019-11-25
| | | | | | | | | | | | See dh_elpa_test(1). Signed-off-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>
* | changelogdebian/0.15-1_bpo10+1archive/debian/0.15-1_bpo10+1Sean Whitton2019-11-27
| | | | | | | | Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
* | Merge tag 'debian/0.15-1' into buster-bpoSean Whitton2019-11-27
|\| | | | | | | | | | | | | | | | | | | | | | | mailscripts release 0.15-1 for unstable (sid) [dgit] [dgit distro=debian no-split --quilt=linear] # gpg: Signature made Thu 21 Nov 2019 03:34:55 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