Handle PKCS#7 S/MIME messages v2

2020-05-12 Thread Daniel Kahn Gillmor
This revision of the PKCS#7 S/MIME handling series is based on (and very similar to) the series sent on the thread starting at id:20200430201328.725651-1-...@fifthhorseman.net However, it is rebased after more gracefully handling the subtle errors in X.509 certificate validity when built against

Re: Handle PKCS#7 S/MIME messages

2020-05-05 Thread David Bremner
Tomi Ollila writes: > Reproducer in case gmime version is less than 3.2.7 -- with newer > gmimes that has to work so if that ever broke in newer gmimes we'd > notice (reproducer could hide that). > >> >> Any other suggestions? >> I guess it depends how many distros you think will patch this.

Re: Handle PKCS#7 S/MIME messages

2020-05-05 Thread Tomi Ollila
On Mon, May 04 2020, Daniel Kahn Gillmor wrote: > Hi Tomi-- > > On Sat 2020-05-02 00:15:57 +0300, Tomi Ollila wrote: >> I did not see anything suspicious in code, but >> >> I got these test failures: >> >> in ubuntu 19.10 native environment, and >> >> in debian 10 (podman) container running in

Re: Handle PKCS#7 S/MIME messages

2020-05-04 Thread Daniel Kahn Gillmor
Hi Tomi-- On Sat 2020-05-02 00:15:57 +0300, Tomi Ollila wrote: > I did not see anything suspicious in code, but > > I got these test failures: > > in ubuntu 19.10 native environment, and > > in debian 10 (podman) container running in fedora 31 system > > > T355-smime: Testing S/MIME signature

Re: Handle PKCS#7 S/MIME messages

2020-05-01 Thread Tomi Ollila
On Thu, Apr 30 2020, Daniel Kahn Gillmor wrote: > This series applies after the "Add tests for S/MIME PKCS#7 messages" > series, which was introduced in > id:20200428185723.660184-1-...@fifthhorseman.net > > With this series applied, notmuch handles standard PKCS#7 S/MIME > messages (using

Handle PKCS#7 S/MIME messages

2020-04-30 Thread Daniel Kahn Gillmor
This series applies after the "Add tests for S/MIME PKCS#7 messages" series, which was introduced in id:20200428185723.660184-1-...@fifthhorseman.net With this series applied, notmuch handles standard PKCS#7 S/MIME messages (using GnuPG's gpgsm as a backend, as mediated by GMime's use of GPGME)