From: david.goldberg6@verizon.net (David S. Goldberg)
Subject: Re: attachments in S/MIME encrypted messages
Date: Tue, 05 Mar 2002 11:40:54 -0500 [thread overview]
Message-ID: <a62t7b$v0l$1@quimby2.netfonds.no> (raw)
In-Reply-To: <iluvgcc2glg.fsf@extundo.com>
>>>>> On Mon, 04 Mar 2002 22:00:43 +0100, Simon Josefsson
>>>>> <jas@extundo.com> said:
> david.goldberg6@verizon.net (David S. Goldberg) writes:
>> 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.
Right. Under 21.1.14 I don't see --with-file-coding available as a
configure option (when I run configure --help). However a look into
the configure script itself shows that it's there.
I just fired up a 21.1.14 (no mule, no file-coding) to try to read an
encrypted message to check your fix and got this backtrace (lines
wrapped by me):
Signaling: (wrong-number-of-arguments
#<compiled-function
(prompt table &optional predicate
require-match initial-contents
history) "...(37)"
[table predicate require-match t nil
last-exact-completion minibuffer-completion-confirm
minibuffer-completion-predicate
minibuffer-completion-table read-from-minibuffer
prompt
initial-contents minibuffer-local-completion-map
minibuffer-local-must-match-map history] 6 756283>
7)
completing-read("Decipher using which key? (default dsg@mitre.org) "
(("dsg@mitre.org"
"/afs/rcf/user/dsg/private/certs/dsg-20020208-20030802.pem")
("old-dsg@mitre.org"
"/afs/rcf/user/dsg/private/certs/dsg-20000817-20020208.pem")
("oldest-dsg@mitre.org"
"/afs/rcf/user/dsg/private/certs/dsg-19990224-20000817.pem"))
nil nil nil nil "dsg@mitre.org")
mm-view-pkcs7-decrypt((#<buffer " *mm*<2>">
("application/x-pkcs7-mime"
(name . "smime.p7m")) base64 nil
("attachment" (filename . "smime.p7m"))
"S/MIME Encrypted Message" nil nil))
mm-view-pkcs7((#<buffer " *mm*<2>"> ("application/x-pkcs7-mime"
(name . "smime.p7m")) base64 nil
("attachment" (filename . "smime.p7m"))
"S/MIME Encrypted Message" nil nil))
mm-possibly-verify-or-decrypt((#<buffer " *mm*<2>">
("application/x-pkcs7-mime"
(name . "smime.p7m")) base64 nil
("attachment"
(filename . "smime.p7m"))
"S/MIME Encrypted Message" nil nil)
("application/x-pkcs7-mime"
(name . "smime.p7m")))
mm-dissect-buffer(nil nil)
gnus-display-mime()
gnus-article-prepare-display()
gnus-article-prepare(8040 nil)
gnus-summary-display-article(8040 nil)
gnus-summary-select-article(nil force)
gnus-summary-show-article(nil)
call-interactively(gnus-summary-show-article)
Which seems odd. It works just fine in 21.4.6.
> 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.
Hmm. If "mail" is just signed the last one works fine. If "mail" is
encrypted it barfs (the result of the previous command is empty,
which doesn't surprise me somehow :-), but if I decrypt mail first and
work on the decrypted output it works OK.
--
Dave Goldberg
david.goldberg6@verizon.net
next prev parent reply other threads:[~2002-03-05 16:40 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.33.0110041538250.14027-100000@lie.extundo.com>
[not found] ` <m1bsncoga19.fsf@blackbird.mitre.org>
[not found] ` <iluelo8yiop.fsf@barbar.josefsson.org>
2002-03-04 16:43 ` David S. Goldberg
2002-03-04 18:37 ` Simon Josefsson
2002-03-04 18:37 ` Simon Josefsson
2002-03-04 20:11 ` Simon Josefsson
2002-03-04 20:11 ` Simon Josefsson
2002-03-04 20:15 ` David S. Goldberg
2002-03-04 20:15 ` David S. Goldberg
2002-03-04 21:00 ` Simon Josefsson
2002-03-04 21:00 ` Simon Josefsson
2002-03-05 16:40 ` David S. Goldberg [this message]
2002-03-05 16:40 ` David S. Goldberg
2002-03-05 17:10 ` David S. Goldberg
2002-03-05 17:10 ` David S. Goldberg
2002-03-04 16:43 ` David S. Goldberg
2001-09-10 14:51 David S. Goldberg
2001-09-10 20:01 ` Simon Josefsson
[not found] ` <m1b1ykryw78.fsf@blackbird.mitre.org>
[not found] ` <iluhetn6rhk.fsf@barbar.josefsson.org>
[not found] ` <m1br8srxela.fsf@blackbird.mitre.org>
2001-09-28 20:28 ` David S. Goldberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='a62t7b$v0l$1@quimby2.netfonds.no' \
--to=david.goldberg6@verizon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).