tarickb / sasl-xoauth2

SASL plugin for XOAUTH2
Other
72 stars 20 forks source link

Add ca_bundle_file and ca_certs_dir config options #39

Closed funilrys closed 1 year ago

funilrys commented 1 year ago

This patch (potentially) fixes tarickb/sasl-xoauth2#14.

Indeed, this patch introduces the "ca_bundle_file" and "ca_certs_dir" configuration keys.

From now on, "ca_bundle_file" will be plumbed into CURLOPT_CAINFO and "ca_certs_dir" into CURLOPT_CAPATH. However, when the value of "ca_certs_dir" is empty, we fallback to "ca_bundle_file" if it's not empty either.

funilrys commented 1 year ago

@tarickb I find it hard to find the right place to document this in the README file ... Can you take over that part?

funilrys commented 1 year ago

@tarickb I took over the requested changes. Please review.