Kevin J. McCarthy wrote: > I'm just tossing this out quickly for feedback.
It looks good to me (with your 'can -> want' change to the docs). I gave the `smime_ca_location` definition a quick check on Debian 13, Fedora 44, and Rocky 9 (a RHEL rebuild) and it worked as expected on all of them. I didn't do a full build to test the `contrib/Makefile.am` change, but since that's exactly what the Fedora packages do (which I've been building locally for years), I didn't feel the need to test that. > My time has been a bit short this weekend, but I'll try to > finish this up later this week after a round of feedback. I hope you enjoy the weekend a bit. This stuff has been around for a long time and will certainly wait. :) > I'll also work on the ssl_ca_certificates_file autoconf > changes, but probably not til later in the week or next > weekend. Thanks for all of your work to tend and improve Mutt! > +- The contrib/smime.rc file sets $smime_ca_location to the first > + ca-bundle.crt or ca-certificates.crt file found in a list of common > + system locations, starting with ~/.smime. You can source that file > + and confirm its value by running ":set ?smime_ca_location" inside > + Mutt. If you have a particular set of trusted roots you can to use, > + then copy that inside ~/.smime. I don't know the S/MIME stuff enough to test this, but I wonder if simply not specifying `smime_ca_location` results in using the system OpenSSL cert store -- on distributions which set a default store? In openssl-smime(1ossl), the -CAfile/-CApath options refer to openssl-verification-options(1ossl) which has this in the "Trusted Certificate Options" section: Note that OpenSSL does not provide a default set of trust anchors. Many Linux distributions include a system default and configure OpenSSL to point to that. If someone familiar with S/MIME could test that (and/or explain how to do so easily), maybe the docs could note that as an option which might be more suitable for many users? (It's just a bonus if it mean less future adjustment to the path list.) -- Todd
signature.asc
Description: PGP signature
