From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/43412 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: attachments in S/MIME encrypted messages Date: Mon, 04 Mar 2002 22:00:43 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035178509 17467 80.91.224.250 (21 Oct 2002 05:35:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:35:09 +0000 (UTC) Cc: The Gnus Mailing List Return-Path: Original-Received: (qmail 9194 invoked from network); 4 Mar 2002 21:00:55 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 4 Mar 2002 21:00:55 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16hzZP-00014Q-00; Mon, 04 Mar 2002 15:00:31 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 04 Mar 2002 15:00:34 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id PAA21908 for ; Mon, 4 Mar 2002 15:00:23 -0600 (CST) Original-Received: (qmail 9188 invoked by alias); 4 Mar 2002 21:00:15 -0000 Original-Received: (qmail 9183 invoked from network); 4 Mar 2002 21:00:14 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 4 Mar 2002 21:00:14 -0000 Original-Received: from localhost.localdomain (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.2/8.12.2) with ESMTP id g24L0DKY014847; Mon, 4 Mar 2002 22:00:13 +0100 Original-To: david.goldberg6@verizon.net (David S. Goldberg) In-Reply-To: (david.goldberg6@verizon.net's message of "Mon, 04 Mar 2002 15:15:24 -0500") Mail-Copies-To: nobody Original-Lines: 29 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i686-pc-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:43412 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:43412 david.goldberg6@verizon.net (David S. Goldberg) writes: >> Ah. So there is a MULE bug somewhere. I always enable that stuff, >> which probably explains why I couldn't reproduce it. I'll try to >> compile without it sometime, thanks. > > Maybe, but I had the same problem with a MULE-enabled XEmacs 21.1.14 But without --with-file-coding enabled, right? When I built without --with-file-coding I also got CRLFs. >> You need a recent OpenSSL, but even with that sometimes the -email >> switch to OpenSSL doesn't get the email address. Maybe it is when the >> email address is encoded in the CN instead of stored in a >> subjectAltName extension. > > I'm running openssl 0.9.6c but most, if not all the messages in > question all are generated by Netscape. Messages that are only signed > verify OK, but perhaps netscape does something different when it's > encrypted. I'll try to debug it. Just run OpenSSL on the certificates in the S/MIME blob: openssl smime -pk7out < mail > foo openssl pkcs7 -print_certs -text < foo > bar openssl x509 -email -noout < bar try it with different messages and see when the last command doesn't output the email address from the cert.