From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: GnuTLS and the “trust store”
Date: Fri, 6 Jan 2017 15:20:03 +0100 [thread overview]
Message-ID: <idjk2a88e3w.fsf@bimsb-sys02.mdc-berlin.net> (raw)
In-Reply-To: <87zij52jd2.fsf@gnu.org>
Ludovic Courtès <ludo@gnu.org> writes:
> Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> skribis:
>
>> Marius Bakke <mbakke@fastmail.com> writes:
>>
>>> Curl respects the variable "CURL_CA_BUNDLE". I think we could add a
>>> "native-search-path" for that, similar to how it's done for "git".
>>
>> “curl” does but libcurl does not.
>
> But that’s probably on purpose. What do the cURL developers recommend
> for their users?
>
> If they recommend that users roll their own mechanism to designate the
> trust store, then they probably do (?), and I think we should avoid
> interfering with that.
I don’t know what they recommend but on an FHS-compliant system libcurl
would be configured to default to a well-known path for the default CA
bundle. This allows users of libcurl to just not care about
implementing a mechanism to override the default CA bundle, because it
would fall back to the well-known system-wide path.
One of these packages is “r-curl”, which just assumes that the libcurl
defaults are fine. We patch it to enable CURL_CA_BUNDLE lookup (a
feature that was intended only for Windows).
Since GuixSD does not offer this path and Guix can be used on different
systems I think we need to provide an alternative. One alternative is
to replace the well-known path with a call to getenv("CURL_CA_BUNDLE").
~~ Ricardo
next prev parent reply other threads:[~2017-01-06 14:20 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-04 14:46 PATCH as first attempt to fix the sad curl situation ng0
2017-01-04 14:46 ` [PATCH] gnu: curl: Add ca-bundle to config ng0
2017-01-04 16:00 ` Marius Bakke
2017-01-04 16:37 ` Marius Bakke
2017-01-04 17:07 ` ng0
2017-01-04 17:16 ` ng0
2017-01-04 17:23 ` ng0
2017-01-05 15:24 ` Ricardo Wurmus
2017-01-04 20:40 ` GnuTLS and the “trust store” Ludovic Courtès
2017-01-04 22:09 ` ng0
2017-01-05 10:28 ` Ludovic Courtès
2017-01-05 15:12 ` Ricardo Wurmus
2017-01-05 14:11 ` Marius Bakke
2017-01-05 15:08 ` Ricardo Wurmus
2017-01-05 23:10 ` Ludovic Courtès
2017-01-06 14:20 ` Ricardo Wurmus [this message]
2017-01-07 21:12 ` Ludovic Courtès
2017-01-04 14:48 ` PATCH as first attempt to fix the sad curl situation ng0
2017-01-04 17:56 ` Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=idjk2a88e3w.fsf@bimsb-sys02.mdc-berlin.net \
--to=ricardo.wurmus@mdc-berlin.de \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.