From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59793 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Get certificate from LDAP for S/MIME encryption (patch) Date: Sun, 13 Feb 2005 01:22:47 +0100 Message-ID: References: <87u0ohv8vg.fsf@seamus.arnested.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1108254207 23891 80.91.229.2 (13 Feb 2005 00:23:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 13 Feb 2005 00:23:27 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M8334@lists.math.uh.edu Sun Feb 13 01:23:27 2005 Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by ciao.gmane.org with esmtp (Exim 4.43) id 1D07Wh-0008Vq-GA for ding-account@gmane.org; Sun, 13 Feb 2005 01:22:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1D07Xo-0005ng-00; Sat, 12 Feb 2005 18:23:24 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1D07Xk-0005nb-00 for ding@lists.math.uh.edu; Sat, 12 Feb 2005 18:23:20 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1D07Xd-0003K7-67 for ding@lists.math.uh.edu; Sat, 12 Feb 2005 18:23:13 -0600 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1D07Xb-0004J2-00 for ; Sun, 13 Feb 2005 01:23:12 +0100 Original-Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65]) (authenticated bits=0) by yxa.extundo.com (8.13.2/8.13.2/Debian-1) with ESMTP id j1D0MpdK026733 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 13 Feb 2005 01:22:57 +0100 Original-To: Arne =?iso-8859-1?Q?J=F8rgensen?= OpenPGP: id=B565716F; url=http://josefsson.org/key.txt X-Hashcash: 1:21:050213:ding@gnus.org::aLCbEag0C08038kD:Hqw X-Hashcash: 1:21:050213:arne@arnested.dk::aI6P0EXLFspQgNst:1R2T In-Reply-To: <87u0ohv8vg.fsf@seamus.arnested.dk> (Arne =?iso-8859-1?Q?J=F8?= =?iso-8859-1?Q?rgensen's?= message of "Sat, 12 Feb 2005 21:08:51 +0100") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yxa-iv X-Virus-Scanned: ClamAV version 0.81, clamav-milter version 0.81b on yxa.extundo.com X-Virus-Status: Clean X-MIME-Autoconverted: from 8bit to quoted-printable by yxa.extundo.com id j1D0MpdK026733 X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu X-MailScanner-From: ding-owner+m8334@lists.math.uh.edu X-MailScanner-To: ding-account@gmane.org Xref: main.gmane.org gmane.emacs.gnus.general:59793 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59793 Arne J=F8rgensen writes: > I have written a patch for smime.el and mml-smime.el that implements > this. Neat! > At the moment the functions are added to Gnus at the same places where > you will find the support for getting certificates via DNS. So the > functionality is only at hand if you choose to encrypt a part and not > a message. But this is general problem not directly related to LDAP > support.[1] This came up recently as well. If you want to work on fixing that, it would be appreciated. > A major drawback is that it will only work with the Emacs 22 (the cvs > version). This is partly because Emacs 21.3's ldap.el is written > towards OpenLDAP v1 (and I think everybody uses OpenLDAP v2 these > days) and partly because a regexp in that ldap.el does not recognise > attribute description like the binary part of > "userCertificate;binary". A patch for Emacs 21.3's ldap.el is > attached. Can you post it to emacs-devel@gnu.org? If nobody objects to it, but nobody apply it, ping me and I might be able to. > I have not tested it on 20.7 (is it still supported by Gnus?). I > tried building No Gnus on 20.7, but that didn't work (this may be > because of a bad emacs installation on the machine with 20.7). It > will probably not work on 20.7 because as fare as I can see there is > no ldap.el in 20.7. CVS Gnus do not support 20.7. > [1] Actually I will probably volunteer to reimplement the user > interface to the S/MIME stuff. But before coding we should agree > on how we would like it to be. (And PGP and S/MIME should probably > share the same interface ideas and I know noting about PGP (yet)). Great. What is there to agree on? Is there something wrong with making the MML tag for individual parts work on the "global" security MML tag? Have you assigned copyright on your work? It is required before we can install your patch. Thanks!