From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Daiki Ueno" Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: SASL related files in gnus/ Date: Mon, 12 Nov 2007 10:04:17 +0900 Message-ID: <54a15d860711111704j33ec6452r7f860131f926929e@mail.gmail.com> References: <54a15d860710312047x3cafbba2ke000af9c0f05c2a4@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1194829478 5007 80.91.229.12 (12 Nov 2007 01:04:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Nov 2007 01:04:38 +0000 (UTC) Cc: miles@gnu.org, ding@gnus.org, Reiner.Steib@gmx.de, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 12 02:04:40 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IrNjC-0006AG-My for ged-emacs-devel@m.gmane.org; Mon, 12 Nov 2007 02:04:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IrNj0-0004gb-Ec for ged-emacs-devel@m.gmane.org; Sun, 11 Nov 2007 20:04:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IrNiv-0004aW-8G for emacs-devel@gnu.org; Sun, 11 Nov 2007 20:04:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IrNiu-0004YC-8j for emacs-devel@gnu.org; Sun, 11 Nov 2007 20:04:20 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IrNiu-0004Xl-3O for emacs-devel@gnu.org; Sun, 11 Nov 2007 20:04:20 -0500 Original-Received: from nz-out-0506.google.com ([64.233.162.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IrNit-0007Yf-KI for emacs-devel@gnu.org; Sun, 11 Nov 2007 20:04:19 -0500 Original-Received: by nz-out-0506.google.com with SMTP id f1so742518nzc for ; Sun, 11 Nov 2007 17:04:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=JIiBg+o5Q1bcvi3UHi7kYpw9UyfebulbYebp4AHUHs0=; b=GbXpXef22OU3skkAjZoUUmEuTBJNt1aMRYNfD6Qgrfu+YZe8CjdahX5SbVwzO/zvmo5L7YrMKxTVyCI4O/T31xdcb9hXzi9UhBY5nSHKyq4cAwAgusbc/UL82AGs3s0O4zfmqheTdrwSqgJHi09iTAeAnB2s76wKIikFgwUwPXY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Fw69NsvhThNeFKSliAsNCAz0EwNfJpUwnxSoXJcp0AWrVRMykapTzhM+Wmx/S1s0KQK0VS20YqRmXMpNDB3NslaTP9b1dBuKwDasNZJD2j0sNLmwjRtPm0oZjXL4orvb1u63oR0UrEBdZDlsmOu79xrLJxeP1pYYnOCmoXrryI8= Original-Received: by 10.142.113.17 with SMTP id l17mr571248wfc.1194829457851; Sun, 11 Nov 2007 17:04:17 -0800 (PST) Original-Received: by 10.142.237.3 with HTTP; Sun, 11 Nov 2007 17:04:17 -0800 (PST) In-Reply-To: Content-Disposition: inline X-Google-Sender-Auth: f82431f917c4d328 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:83004 gmane.emacs.gnus.general:65621 Archived-At: 2007/11/12, Richard Stallman : > I think these files should be moved outside of gnus. I'm sure that > they have been mature for years and do not depend on other components > of Gnus. > > Ok let's think about it. > What does each of these packages do? Since there are several layers, I reordered these packages in top-to-bottom order. [SASL related packages] SASL (Simple Authentication and Security Layer, RFC2222) is an abstraction of "challenge and response" authentication mechanisms. It provides a simple method for adding authentication support to various application protocols such as IMAP, SMTP, POP3, Jabber, etc. > > sasl.el:;; Author: Daiki Ueno This is the top-level interface which allow elisp programs to use SASL. > > sasl-cram.el:;; Author: Daiki Ueno This adds the CRAM-MD5 authentication mechanism to sasl.el. > > sasl-digest.el:;; Author: Daiki Ueno This adds the DIGEST-MD5 authentication mechanism to sasl.el. > > sasl-ntlm.el:;; Author: Taro Kawagishi This adds the NTLM authentication mechanism to sasl.el. [HMAC related packages] HMAC (RFC2104) is MAC (message authentication code) mechanism based on cryptographic hash functions such as MD5, SHA1, etc. MAC provides a way to check the integrity of information transmitted over or stored in an unreliable medium using a secret-key. HMAC is also used by some SASL authentication mechanisms. > > hmac-md5.el:;; Author: Shuhei KOBAYASHI This provides the HMAC-MD5 function which is based on the MD5 hash function. > > hmac-def.el:;; Author: Shuhei KOBAYASHI This provides a macro to define new HMAC functions based on other cryptographic hash functions. [Other packages] > > ntlm.el:;; Author: Taro Kawagishi This provides the raw NTLM authentication mechanism, which is used by sasl-ntlm.el. > > md4.el:;; Author: Taro Kawagishi This provides the MD4 hash function, which is used by ntlm.el. BTW, I noticed that a couple of files are missing in gnus. The original sasl*.el and hmac*.el distribution contains the following 2 files: sasl-scram.el:;; Author: Shuhei KOBAYASHI This adds the SCRAM-MD5 authentication mechanism to sasl.el. hmac-sha1.el:;; Author: Shuhei KOBAYASHI This provides the HMAC-SHA1 function which is based on the SHA1 hash function. Found at http://cvs.m17n.org/viewcvs/*checkout*/root/flim/Attic/sasl-scram.el?rev=1.1.4.2 http://cvs.m17n.org/viewcvs/*checkout*/root/flim/Attic/hmac-sha1.el?rev=1.1.6.4 Regards, -- Daiki Ueno