From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: About Guile crypto support Date: Tue, 05 Feb 2013 16:48:28 +0100 Message-ID: <87mwvisqwj.fsf@gnu.org> References: <1359896146.2754.19.camel@Renee-desktop.suse> <871ucvof60.fsf@gnu.org> <1360032192.2754.61.camel@Renee-desktop.suse> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1360079330 6773 80.91.229.3 (5 Feb 2013 15:48:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Feb 2013 15:48:50 +0000 (UTC) Cc: guile-devel@gnu.org To: Nala Ginrut Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Feb 05 16:49:10 2013 Return-path: Envelope-to: guile-devel@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 1U2kli-000126-25 for guile-devel@m.gmane.org; Tue, 05 Feb 2013 16:49:10 +0100 Original-Received: from localhost ([::1]:49126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U2klP-0005L2-8y for guile-devel@m.gmane.org; Tue, 05 Feb 2013 10:48:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U2klM-0005Kx-DP for guile-devel@gnu.org; Tue, 05 Feb 2013 10:48:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U2klH-0006BH-O7 for guile-devel@gnu.org; Tue, 05 Feb 2013 10:48:48 -0500 Original-Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:50774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U2klH-0006B7-Hb for guile-devel@gnu.org; Tue, 05 Feb 2013 10:48:43 -0500 X-IronPort-AV: E=Sophos;i="4.84,602,1355094000"; d="scan'208";a="1493808" Original-Received: from nat-eduroam-37.bordeaux.inria.fr (HELO pluto) ([194.199.1.37]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 05 Feb 2013 16:48:28 +0100 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 =?utf-8?Q?Pluvi=C3=B4se?= an 221 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <1360032192.2754.61.camel@Renee-desktop.suse> (Nala Ginrut's message of "Tue, 05 Feb 2013 10:43:12 +0800") User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.134.164.83 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:15686 Archived-At: Nala Ginrut skribis: > On Tue, 2013-02-05 at 00:03 +0100, Ludovic Court=C3=A8s wrote: [...] >> We probably don=E2=80=99t want Guile to depend on libgcrypt. >>=20 > > No, I didn't mean to use libgcrypt directly, I just suggested reuse part > of libgcrypt code(only the common digest algorithm) and make wrapper, > then put the C code in libguile. [...] > The gcrypt-guile project is doing so, I'll help it if I can.=20 > But my original thought is orthogonal with gcrypt-guile, just put some > common digest algorithm in libguile rather than a full-stack crypto-lib. We could actually use the Gnulib crypto modules. There=E2=80=99s a duplication/convenience trade-off: we=E2=80=99d provide useful functionalit= y by default, at the expense of duplicating C code in our tarballs (2500 SLOC for Gnulib=E2=80=99s sha*.[ch] and md5.[ch].) Opinions? I think I=E2=80=99d be more inclined to have good bindings in libgcrypt pro= per, but I=E2=80=99d like to hear what others think. Ludo=E2=80=99.