"Manuel Streuhofer" <[EMAIL PROTECTED]> wrote in message 
news:<[EMAIL PROTECTED]>...
> On Wed, 28 Aug 2002 15:04:55 +0000, Jerry Baker wrote:
> 
> > Manuel Streuhofer says:
> >> another question....
> >> isn't this perfectly done by and pgp-like program you can easily
> >> install and use with almost every linux distribution?
> > 
> > No, it's not.
> 
> of course it is not directly the way the question was asked.
> but afaik would this solution do nothing more than hiding the real body,
> putting an signature and verify if the message is uncorrupted at the
> receivers side, isn't it?

Actually, the real body won't be hidden when sending the message, but
because it can be modified during transfer by some mail clients or
anti virus programms, all information needed to verify the message is
also sent redundantly as a part of the attachment.

For the verification process, only the body data of the attachment
will be taken into account. In other words if verification succeeds,
the only data I know has not been altered is the body stored in the
attachment.
After verification, the verified body must be displayed in some way,
either..

1) The "real body" of the recieved message is replaced by the verified
"attachment body". By replacing I mean in this case overwrite the
"real body" part of the message in my inbox file.

2) The "real body" of the recieved message is hidden, the "attachment
body" is displayed. The message in my inbox file does not get changed.

3) Generating a completely new message which will replace the one
recieved.

I would prefer the first solution because later on in my project i
will have to do some decryption work in a similar way and it would be
nice to have the clear message saved instead of decrypting it every
time the user wants to take a look at it.
I have been reading in the mozilla source code, the js files in the
messenger chrome package and the cpp files in the mailnews folder, but
I have to admit that I am a bit lost.

I hope someone can tell me what files of the mozilla source code I
should take a closer look at or where I can find some more information
about this topic.

thanks in advance,

rolf

Reply via email to