From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59877 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: Tue, 22 Feb 2005 17:57:56 +0100 Message-ID: References: <87u0ohv8vg.fsf@seamus.arnested.dk> <877jlbrzdq.fsf@seamus.arnested.dk> <871xbjarv7.fsf@seamus.arnested.dk> <877jl6bwdi.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 1109091323 18326 80.91.229.2 (22 Feb 2005 16:55:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 22 Feb 2005 16:55:23 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M8418@lists.math.uh.edu Tue Feb 22 17:55:22 2005 Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by ciao.gmane.org with esmtp (Exim 4.43) id 1D3dJO-0005pp-0K for ding-account@gmane.org; Tue, 22 Feb 2005 17:55:02 +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 1D3dMX-0007H9-00; Tue, 22 Feb 2005 10:58:17 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1D3dMT-0007H4-00 for ding@lists.math.uh.edu; Tue, 22 Feb 2005 10:58:13 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1D3dMQ-0002Gt-E2 for ding@lists.math.uh.edu; Tue, 22 Feb 2005 10:58:10 -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 1D3dMP-0000S4-00 for ; Tue, 22 Feb 2005 17:58:09 +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.3/8.13.3/Debian-6) with ESMTP id j1MGw4BT031948 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 22 Feb 2005 17:58:05 +0100 Original-To: Arne =?iso-8859-1?Q?J=F8rgensen?= OpenPGP: id=B565716F; url=http://josefsson.org/key.txt X-Hashcash: 1:21:050222:ding@gnus.org::P1+enp32IdNV1uaa:0oYe X-Hashcash: 1:21:050222:arne@arnested.dk::OEiwrPrvAGJAZ+ey:Dk8n In-Reply-To: <877jl6bwdi.fsf@seamus.arnested.dk> (Arne =?iso-8859-1?Q?J=F8?= =?iso-8859-1?Q?rgensen's?= message of "Fri, 18 Feb 2005 00:27:21 +0100") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.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 j1MGw4BT031948 X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu X-MailScanner-From: ding-owner+m8418@lists.math.uh.edu X-MailScanner-To: ding-account@gmane.org Xref: main.gmane.org gmane.emacs.gnus.general:59877 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59877 Arne J=F8rgensen writes: > The only thing that will make it fail is if there is no ldapsearch > program available (btw so will smime-cert-by-dns if there is no dig). > > Maybe this can be solved by using condition-case and installing an > error handler. But I just learn about condition-case a few minutes > ago. It might be easier to wrap the call-process in a unwind-protect. > I don't think auto-query of certificates is the first thing on my todo > list for smime anyway, so there is time to think. No hurry; it was just a "neat feature". The idea is in the ding archives now, if someone wants to pick this up later on.