From: ludo@gnu.org (Ludovic Courtès)
To: Marius Bakke <mbakke@fastmail.com>
Cc: Kei Kebreau <kkebreau@posteo.net>, 32530@debbugs.gnu.org
Subject: [bug#32530] [PATCH] gnu: octave: Fix CA certificate use.
Date: Wed, 19 Sep 2018 21:52:32 +0200 [thread overview]
Message-ID: <87k1nhfenz.fsf@gnu.org> (raw)
In-Reply-To: <875zz4oxil.fsf@fastmail.com> (Marius Bakke's message of "Mon, 17 Sep 2018 19:16:02 +0200")
Hello,
Marius Bakke <mbakke@fastmail.com> skribis:
> Kei Kebreau <kkebreau@posteo.net> writes:
[...]
>> Here's the search path patch. With this, I needed both nss-certs and
>> cURL installed alongside Octave to get certificates working.
This is expected (see <https://issues.guix.info/issue/22138>), which is
why I wrote it wouldn’t quite solve the issue; still, it’s a step in the
right direction. :-)
>> diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
>> index 6d45dc0cc..8bdba8655 100644
>> --- a/gnu/packages/curl.scm
>> +++ b/gnu/packages/curl.scm
>> @@ -83,7 +83,10 @@
>> (variable "CURL_CA_BUNDLE")
>> (file-type 'regular)
>> (separator #f) ;single entry
>> - (files '("etc/ssl/certs/ca-certificates.crt")))))
>> + (files '("etc/ssl/certs/ca-certificates.crt")))
>> + (search-path-specification
>> + (variable "CURLOPT_CAPATH")
>> + (files '("etc/ssl/certs")))))
>
> Adding this native-search-path to the "octave" package should be
> sufficient.
I think we should avoid doing this though, because conceptually
CURLOPT_CAPATH “belongs” to cURL, not to Octave.
> Then you won't need curl in the profile, nor do we need to rebuild all
> the things that depend on curl. Can you try that?
The patch above can go to the next ‘core-updates’ IMO.
Kei, what about the two other options we discussed? Namely:
> 2. On GuixSD, we could define CURLOPT_CAPATH=/etc/ssl/certs in
> /etc/profile, like we already do for other variables.
>
> 3. We could document this variable under “X.509 Certificates” in the
> manual.
Thank you!
Ludo’.
next prev parent reply other threads:[~2018-09-19 19:53 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-26 0:42 [bug#32530] [PATCH] gnu: octave: Fix CA certificate use Kei Kebreau
2018-09-13 8:43 ` Ludovic Courtès
2018-09-13 23:44 ` Kei Kebreau
2018-09-15 1:54 ` Kei Kebreau
2018-09-15 8:37 ` Marius Bakke
2018-09-15 18:30 ` Kei Kebreau
2018-09-17 16:33 ` Kei Kebreau
2018-09-17 17:16 ` Marius Bakke
2018-09-18 20:57 ` Kei Kebreau
2018-09-19 17:27 ` Marius Bakke
2018-09-19 19:52 ` Ludovic Courtès [this message]
2018-09-19 20:09 ` Marius Bakke
2018-09-19 20:18 ` Ludovic Courtès
2018-09-20 18:03 ` Kei Kebreau
2018-09-24 9:02 ` Ludovic Courtès
2018-09-25 1:43 ` bug#32530: " Kei Kebreau
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=87k1nhfenz.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=32530@debbugs.gnu.org \
--cc=kkebreau@posteo.net \
--cc=mbakke@fastmail.com \
/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.