From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Newsgroups: gmane.lisp.guile.bugs Subject: bug#40486: http-get doesn't respect #:verify-certificate? Date: Wed, 27 May 2020 23:29:49 +0200 Message-ID: <87zh9tgj76.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="1880"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: 40486-done@debbugs.gnu.org To: Jan Synacek Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Wed May 27 23:30:10 2020 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1je3cn-0000MW-FT for guile-bugs@m.gmane-mx.org; Wed, 27 May 2020 23:30:09 +0200 Original-Received: from localhost ([::1]:57502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1je3cm-0004jo-GL for guile-bugs@m.gmane-mx.org; Wed, 27 May 2020 17:30:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1je3ch-0004j5-J8 for bug-guile@gnu.org; Wed, 27 May 2020 17:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38618) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1je3ch-0007be-9t for bug-guile@gnu.org; Wed, 27 May 2020 17:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1je3ch-0005zQ-6M for bug-guile@gnu.org; Wed, 27 May 2020 17:30:03 -0400 Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guile@gnu.org Resent-Date: Wed, 27 May 2020 21:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 40486 X-GNU-PR-Package: guile Mail-Followup-To: 40486@debbugs.gnu.org, ludo@gnu.org, jsynacek@redhat.com Original-Received: via spool by 40486-done@debbugs.gnu.org id=D40486.159061500022983 (code D ref 40486); Wed, 27 May 2020 21:30:02 +0000 Original-Received: (at 40486-done) by debbugs.gnu.org; 27 May 2020 21:30:00 +0000 Original-Received: from localhost ([127.0.0.1]:50163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1je3cd-0005ya-UA for submit@debbugs.gnu.org; Wed, 27 May 2020 17:30:00 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1je3cc-0005yI-Vh for 40486-done@debbugs.gnu.org; Wed, 27 May 2020 17:29:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46135) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1je3cX-0007Ui-Nd; Wed, 27 May 2020 17:29:53 -0400 Original-Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37172 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1je3cW-00030x-Nc; Wed, 27 May 2020 17:29:53 -0400 In-Reply-To: (Jan Synacek's message of "Tue, 07 Apr 2020 17:29:54 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:9785 Archived-At: Hi, Jan Synacek skribis: > When I run the following piece of code: > > (use-modules (web client)) > (http-get "https://bugzilla.redhat.com/rest/bug/1" #:verify-certificate? = #f) > > I get: > ... > In web/client.scm: > 563:0 1 (http-get "https://bugzilla.redhat.com/rest/bug/1" # _ # =E2= =80=A6) > 231:6 0 (tls-wrap # _ # _) > > web/client.scm:231:6: In procedure tls-wrap: > X.509 certificate of 'bugzilla.redhat.com' could not be verified: > signer-not-found invalid > > If I use http-request instead of http-get, the keyword argument is > correctly taken into account and the certificate is not verified. > > I use v3.0.2. Fixed in a5421d2bb6e27fe77e794f950833ca6d84c8c523, thanks! Ludo=E2=80=99.