From: "Ludovic Courtès" <ludo@gnu.org>
To: Leo Famulari <leo@famulari.name>
Cc: 49508@debbugs.gnu.org
Subject: bug#49508: Implement --allow-insecure-transport for `guix pull`
Date: Tue, 08 Feb 2022 11:18:08 +0100 [thread overview]
Message-ID: <875yppbr1b.fsf@gnu.org> (raw)
In-Reply-To: <YOnYqnI8fXzyFXgi@jasmine.lan> (Leo Famulari's message of "Sat, 10 Jul 2021 13:28:10 -0400")
Hi,
Leo Famulari <leo@famulari.name> skribis:
> As discussed in #46829, `guix pull` needs an option like
> --allow-insecure-transport so that users can continue to pull from the
> same channel even when their local certificate store has expired or is
> otherwise invalid.
Agreed.
Unfortunately it seems that libgit2 doesn’t let us turn off certificate
verification:
https://libgit2.org/libgit2/#HEAD/group/libgit2
‘verify_server_cert’ in src/streams/openssl.c is called
unconditionally. So it seems that the first thing to do would be to
submit a patch upstream that would allow users to disable certificate
checks via ‘git_libgit2_opts’.
Now, by default, ‘guix pull’ honors /etc/ssl/certs. Assuming those are
up-to-date, it should be fine, right?
Thanks,
Ludo’.
next prev parent reply other threads:[~2022-02-08 10:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-10 17:28 bug#49508: Implement --allow-insecure-transport for `guix pull` Leo Famulari
2022-02-08 10:18 ` Ludovic Courtès [this message]
2022-02-08 17:11 ` Leo Famulari
2022-11-01 17:30 ` Mathieu Othacehe
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875yppbr1b.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=49508@debbugs.gnu.org \
--cc=leo@famulari.name \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).