Gnus development mailing list
 help / color / mirror / Atom feed
* signed/encrypted messages with attachments...
@ 2001-04-02 18:52 Josh Huber
  2001-04-03  3:10 ` Simon Josefsson
  0 siblings, 1 reply; 5+ messages in thread
From: Josh Huber @ 2001-04-02 18:52 UTC (permalink / raw)


Is there a way to get signatures or encryption working on messages
that contain attachments, or does mml2015.el just not do it yet?

ttyl,
-- 
Josh Huber


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: signed/encrypted messages with attachments...
  2001-04-02 18:52 signed/encrypted messages with attachments Josh Huber
@ 2001-04-03  3:10 ` Simon Josefsson
  2001-04-03 15:14   ` Josh Huber
  2001-04-04 22:33   ` Jack Twilley
  0 siblings, 2 replies; 5+ messages in thread
From: Simon Josefsson @ 2001-04-03  3:10 UTC (permalink / raw)
  Cc: ding

[-- Attachment #1: Type: text/plain, Size: 107 bytes --]

Josh Huber <huber@alum.wpi.edu> writes:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="==-=-="

[-- Attachment #2: Type: text/plain, Size: 851 bytes --]

> Is there a way to get signatures or encryption working on messages
> that contain attachments, or does mml2015.el just not do it yet?

It should work, does it not?  Let's see, I'll attach a dummy file and
sign this mail..  *previewing it* No, this doesn't look right, only
the text was signed.  Well, you can add "sign=pgpmime" to the
attachment MML tag as well, but then you'll get two multipart/signed
structures, which probably no other mail reader than Gnus would
handle.

Ah, you can do:

<$mml sign=pgpmime>
text...
<$part filename="~/foo">

and then you only get one top-level multipart/signed part containing a
multipart/mixed part with the text and the file.  But somehow the
attribution ("Josh Huber <huber@alum.wpi.edu> writes:") ends up inside
MIME headers.  Perhaps this breaks the signature as well.  Let's see..


[-- Attachment #3: foo --]
[-- Type: text/plain, Size: 15 bytes --]

This is text.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: signed/encrypted messages with attachments...
  2001-04-03  3:10 ` Simon Josefsson
@ 2001-04-03 15:14   ` Josh Huber
  2001-04-04 22:33   ` Jack Twilley
  1 sibling, 0 replies; 5+ messages in thread
From: Josh Huber @ 2001-04-03 15:14 UTC (permalink / raw)


Simon Josefsson <simon@josefsson.org> writes:

> Josh Huber <huber@alum.wpi.edu> writes:
> MIME-Version: 1.0
> Content-Type: multipart/mixed; boundary="==-=-="

Yeah, this definately doesn't look right :)  The headers got mixed in
with the body of the MIME part.

> It should work, does it not?  Let's see, I'll attach a dummy file and
> sign this mail..  *previewing it* No, this doesn't look right, only
> the text was signed.  Well, you can add "sign=pgpmime" to the
> attachment MML tag as well, but then you'll get two multipart/signed
> structures, which probably no other mail reader than Gnus would
> handle.

Right, I think mutt does this correctly.  For example, a signed
message I received has the following structure:

(headers)
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="Pd0ReVV5GZGQvF3a"
Content-Disposition: inline

...

(body)

--Pd0ReVV5GZGQvF3a
Content-Type: multipart/mixed; boundary="6c2NcOVqGQ03X4Wi"
Content-Disposition: inline

--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

[text here]

--6c2NcOVqGQ03X4Wi
Content-Type: text/x-csrc; charset=us-ascii
Content-Disposition: attachment; filename="foo.c"
Content-Transfer-Encoding: quoted-printable

[attached c file here]

--6c2NcOVqGQ03X4Wi--

--Pd0ReVV5GZGQvF3a
Content-Type: application/pgp-signature
Content-Disposition: inline

[pgp signature here]

--Pd0ReVV5GZGQvF3a--


> Ah, you can do:
> 
> <$mml sign=pgpmime>
> text...
> <$part filename="~/foo">
> 
> and then you only get one top-level multipart/signed part containing a
> multipart/mixed part with the text and the file.  But somehow the
> attribution ("Josh Huber <huber@alum.wpi.edu> writes:") ends up inside
> MIME headers.  Perhaps this breaks the signature as well.  Let's see..

Well, I don't know, because your signature doesn't seem to be
available from the keyservers.  oh well.

the message was definately screwed up, though.

anyone who's a little more familiar with the mml gnus code have any
ideas here?  If not, i'll take a look myself...

-- 
Josh Huber


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: signed/encrypted messages with attachments...
  2001-04-03  3:10 ` Simon Josefsson
  2001-04-03 15:14   ` Josh Huber
@ 2001-04-04 22:33   ` Jack Twilley
  2001-04-04 23:11     ` Josh Huber
  1 sibling, 1 reply; 5+ messages in thread
From: Jack Twilley @ 2001-04-04 22:33 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 200 bytes --]

This message failed signature testing, for what it's worth.

Not sure why.

Jack.
-- 
Jack Twilley
jmt at twilley dot org
http colon slash slash www dot twilley dot org slash tilde jmt slash

[-- Attachment #2: Type: application/pgp-signature, Size: 277 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: signed/encrypted messages with attachments...
  2001-04-04 22:33   ` Jack Twilley
@ 2001-04-04 23:11     ` Josh Huber
  0 siblings, 0 replies; 5+ messages in thread
From: Josh Huber @ 2001-04-04 23:11 UTC (permalink / raw)


Jack Twilley <jmt+usenet@twilley.org> writes:

> This message failed signature testing, for what it's worth.

it verified for me...

-- 
Josh Huber


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-04-04 23:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-02 18:52 signed/encrypted messages with attachments Josh Huber
2001-04-03  3:10 ` Simon Josefsson
2001-04-03 15:14   ` Josh Huber
2001-04-04 22:33   ` Jack Twilley
2001-04-04 23:11     ` Josh Huber

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).