From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christopher Allan Webber Newsgroups: gmane.lisp.guile.bugs Subject: bug#24075: tls/https support in Guile (through r6rs binary ports?) Date: Tue, 26 Jul 2016 10:55:46 -0500 Message-ID: <8760rss8al.fsf@dustycloud.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1469548644 14499 80.91.229.3 (26 Jul 2016 15:57:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Jul 2016 15:57:24 +0000 (UTC) To: 24075@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Jul 26 17:57:13 2016 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bS4jJ-00006A-Gw for guile-bugs@m.gmane.org; Tue, 26 Jul 2016 17:57:13 +0200 Original-Received: from localhost ([::1]:40650 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS4jI-0007BO-OK for guile-bugs@m.gmane.org; Tue, 26 Jul 2016 11:57:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS4jC-00079e-9Q for bug-guile@gnu.org; Tue, 26 Jul 2016 11:57:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bS4j8-0003pr-5k for bug-guile@gnu.org; Tue, 26 Jul 2016 11:57:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS4j8-0003pn-2E for bug-guile@gnu.org; Tue, 26 Jul 2016 11:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bS4j7-0000Wn-RA for bug-guile@gnu.org; Tue, 26 Jul 2016 11:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christopher Allan Webber Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 26 Jul 2016 15:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24075 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14695485731966 (code B ref -1); Tue, 26 Jul 2016 15:57:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Jul 2016 15:56:13 +0000 Original-Received: from localhost ([127.0.0.1]:38311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bS4iL-0000Vc-58 for submit@debbugs.gnu.org; Tue, 26 Jul 2016 11:56:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bS4iK-0000VP-9S for submit@debbugs.gnu.org; Tue, 26 Jul 2016 11:56:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bS4iE-0003aT-Am for submit@debbugs.gnu.org; Tue, 26 Jul 2016 11:56:07 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS4iE-0003a9-80 for submit@debbugs.gnu.org; Tue, 26 Jul 2016 11:56:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS4iB-0006sM-UC for bug-guile@gnu.org; Tue, 26 Jul 2016 11:56:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bS4i7-0003Yy-Mh for bug-guile@gnu.org; Tue, 26 Jul 2016 11:56:02 -0400 Original-Received: from dustycloud.org ([50.116.34.160]:53740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bS4i7-0003XZ-IS for bug-guile@gnu.org; Tue, 26 Jul 2016 11:55:59 -0400 Original-Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 5E7AA2672A for ; Tue, 26 Jul 2016 11:55:47 -0400 (EDT) User-agent: mu4e 0.9.16; emacs 24.5.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8319 Archived-At: Guile lacks https support by default, which is a really glaring omission in any modern language! I've submitted some code adapted from Guix previously as a step towards adding https support: https://lists.gnu.org/archive/html/guile-devel/2015-09/msg00031.html While it can be pulled off through some gnutls hacks, these have problems. Unfortunately, it seems that the file descriptor is leaked: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20145 I've been told on IRC that the "right solution" is to add r6rs style binary ports: http://www.r6rs.org/final/html/r6rs-lib/r6rs-lib-Z-H-9.html So maybe that's what should be done? Anyway, I think this is one of *the most important things* that Guile currently lacks. (It's held me back from considering Guile as a serious choice for at least one project, myself!) Hope it can be fixed! - Chris