Kevin J. McCarthy wrote:
> On Thu, Nov 12, 2026 at 07:28:04PM -0500, Todd Zullinger wrote:
>> ckeader via Mutt-dev wrote:
>>> 
>>> Looking for certificate files on my system, I came across
>>> contrib/ca-bundle.crt under a mutt git clone, which includes some 50 now
>>> outdated certificates. The file is dated 2019, but potentially much
>>> older, as per the "Netscape Communicator 4.72" reference at the top. If
>>> anyone is indeed using it (mutt plus pre-gpgme SMIME, perhaps), mutt
>>> should provide an updated copy.
>>> 
>>> An up to date bundle can be created from the certdata.txt file in
>>> Mozilla's nss distribution, using the extraction script provided by
>>> Linux distributions' ca-certificates source packages. I've done this
>>> with EL and Trixie.
>> 
>> I think it would be better to just drop this file.  Mutt
>> really has no business maintaining its own ca-bundle.crt
>> anymore.
>> 
>> It was added in January 2002, when that was at least less
>> clearly the case.  That it has seen no updates since says
>> all that needs to be said about its usefulness, I'd say. :)
> 
> I agree.  At the very least, I'll drop the file and update the notes.
> 
> I'll think about the sample config.  Debian's approach doesn't seem too bad.
> It's an easy change, and easy enough to update if other distros store it in
> a different place.

Would it make sense to have `smime_ca_location` default to
the value of either `ssl_ca_certificates_file` (with gnutls)
or `ssl_usesystemcerts` (with openssl)?  And if so, is that
even reasonably easy to do?

The example using a simple for loop from Debian is certainly
a decent approach, even if a decent default could obviate
the need for setting it in many cases.

It's a shame there isn't a bit more standardization
regarding the path for the system CA trust store.

Thanks,

-- 
Todd

Attachment: signature.asc
Description: PGP signature

Reply via email to