From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60369 Path: news.gmane.org!not-for-mail From: Ulf Stegemann Newsgroups: gmane.emacs.gnus.general Subject: Re: ldap cert retrieval and pem encoding Date: Mon, 30 May 2005 10:39:10 +0200 Organization: Message-ID: References: <87wtpkbzyz.fsf@arnested.dk> <874qcnh9kb.fsf@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 1117442472 14759 80.91.229.2 (30 May 2005 08:41:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 May 2005 08:41:12 +0000 (UTC) Cc: Simon Josefsson , ding@gnus.org Original-X-From: ding-owner+M8896@lists.math.uh.edu Mon May 30 10:41:04 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DcfpI-00030c-9z for ding-account@gmane.org; Mon, 30 May 2005 10:40:48 +0200 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 1DcfoD-0007Dm-00; Mon, 30 May 2005 03:39:41 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Dcfo5-0007Dg-00 for ding@lists.math.uh.edu; Mon, 30 May 2005 03:39:33 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Dcfo3-00049O-NM for ding@lists.math.uh.edu; Mon, 30 May 2005 03:39:31 -0500 Original-Received: from guildenstern.zeitform.de ([146.140.212.220]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Dcfnu-0003p4-00 for ; Mon, 30 May 2005 10:39:22 +0200 Original-Received: (qmail 4674 invoked by uid 89); 30 May 2005 08:39:13 -0000 Original-Received: by simscan 1.0.8 ppid: 4665, pid: 4668, t: 1.9422s scanners: attach: 1.0.8 clamav: 0.85.1/m:31/d:899 spam: 3.0.3 Original-Received: from host1914.igd.fhg.de (HELO naos.igd.fhg.de) (146.140.8.122) by guildenstern.zeitform.de with (DHE-RSA-AES256-SHA encrypted) SMTP; 30 May 2005 08:39:11 -0000 Original-Received: by naos.igd.fhg.de (Postfix, from userid 6852) id D402C4F538; Mon, 30 May 2005 10:39:10 +0200 (CEST) Original-To: Arne =?iso-8859-1?Q?J=F8rgensen?= In-Reply-To: (Simon Josefsson's message of "Sat, 28 May 2005 13:53:38 +0200") X-Request-PGP: http://ulf.zeitform.de/GnuPG/ulf_stegemann.key.asc X-PGP-KeyID: 8862250A OpenPGP: id=0x8862250A (short key ID); algo=17 (DSA); size=1024 (bits); created=876873600 (1997-10-15); url=http://ulf.zeitform.de/GnuPG/ulf_stegemann.key.asc X-Campaign: Campaign against senseless mail headers X-Shakespeare: "Alas, poor Yorick! I knew him, Horatio; a fellow of infinite jest, of most excellent fancy." -- Hamlet, V.1.203-204 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEVqLTBbGxb86te6alvt gluPTk35pnZ0O0IsBQVLEg8se1WwAAACYElEQVR4nGXUMW+cMBQAYFspomy2qlPEWKLcnAjIHCkO cytjeQ6hnh1VCHXLUtVs3JTzv+17D7jkWg8nnT/ee+b53bEC1pUdl+VZaiqlGtcVDOHabvuwNII7 B4zQEKH+AwagCLp/ITmD+r1GgpmghjsDDEBAOYPR6KrBRFsqYz6AcyfYG7OEDNaoFSjVtdlCBr0k WqE2pxC9nHVPUENuADvYwWjV9PDaBdZ4tp4NBKfieCB2NfrPYYY0mCwdynLZL1h9ZCFM6fqCzJsK eo7wKwBASAr94HmUzEA2hBDeWB4mhpAfQzgw89B0BH94jFjF8wixIYqycgvg1wkgD7RmXaoOYVnJ +HLE52OYEjgAwZjBx27kuH+QeRTM3HUEPjuGS+IJTEoutEMwPotT6rM16XRIXtgdgoXzzCPLN5jl jWzxVNAsJjzLsHh4y6f5cSe/EOA8sQViPIbXT5oj/LY+9WM60vvFKIXh9f0KLLV3z7fwMJxJCP3A lAIYLLR7aIqbPB6ng5Rypx7bFfygm+JHHmNEEKWiCBgEP7Rd0XMpI+63vesbBLg7U3WFu5W0BF3v BnAF+2cp4A65aN0KMDY/G5i7nsP+ANPb7AmotkOoy6pXcE1w63uC1LYITi0Lp4EifDISFPUKDh4i GMaKhulerz+Opbj1ZoWnpFTVOtUIfIv4KpKyWuedAGs4AmZgRJp38JqO8gS3bZY/AOjVq+Wpv3go IQM2BEYUoFFsni0b04QfZPKdOpW0SvXQ3ThbuDyYpt3Wwwt6GQC41QzGvL0Xi9B/gGIT/miyXF6W 9Tf+Af4C2PJlBUt1nJAAAAAASUVORK5CYII= X-Hashcash: 1:20:050530:arne@arnested.dk::9V5Mr+xY83hDrNzS:0000000000000000000000000000000000000000000006XwJ X-Hashcash: 1:20:050530:jas@extundo.com::qD1F+zpRkmHmEIUP:0000000000000000000000000000000000000000000000JoVe X-Hashcash: 1:20:050530:ding@gnus.org::vt9t/qdgHinzlItZ:00006gn8 User-Agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.17 (linux) X-Spam-Contact: Please contact postmaster@zeitform.de if spam detection is wrong X-Spam-Checker-Version: SpamAssassin 3.0.3-zeitform_3.01 (2005-04-27) on guildenstern.zeitform.de X-Spam-Level: X-Spam-Status: No, score=-2.4 required=7.0 tests=AWL,BAYEES_00 autolearn=ham version=3.0.3-zeitform_3.01 X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60369 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60369 Simon Josefsson wrote: > Arne J=F8rgensen writes: > >> What we could do in Gnus is: >> >> 1. If it contains "-----BEGIN CERTIFICATE-----" it is in PEM-format. >> >> 2. Otherwise try to base64-decode it and if that succeeds also assumed >> it is in PEM-format. >> >> 3. Finally decide it must be in DER-format. >> >> This shouldn't be difficult to implement. I have time make an >> implementation on Tuesday. > > Great! The approach look good to me. I second that! If you've any code ready, I would like to test it here right away and tell you if it is working or not (at least for PEM encoded certs *with* header/footer and DER encoded certs). Ulf