Here is how I am doing it:
  uuencode /users/ali/$f_name  $f_name \
  | /usr/local/ssl/bin/openssl smime -encrypt \
   /users/email/Trob.pem \
  | /usr/sbin/sendmail [EMAIL PROTECTED]

The details tab seems to show the file just fine:
begin 644 eei.zip
[EMAIL PROTECTED](`"16CRZ,@

However Outlook does not show this as an attachment.  Unencrypted it looks
about the same but Outlook sees it as an attachment.

Any ideas

Dave
----- Original Message -----
From: "Dr. Stephen Henson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 31, 2004 2:38 PM
Subject: Re: Encrypted attachments


> On Wed, Mar 31, 2004, Dave wrote:
>
> > I am encrypting email attachments.  I am on HP-UX 11.11 using openssl
> > 0.9.7c.  I can send unencrypted attachments.  I am having trouble
sending
> > encrypted attachments to Outlook.  When I look at the message source the
> > attachment seems to be there but Outlook can not make sense of it.  Any
> > ideas?
> >
> >
>
> The encrypted entity has to include appropriate MIME headers. Several mail
> clients wont display the content if it doesn't include MIME headers.
>
> In practice all you should need to concatenate some appropriate headers
and
> the base64 encoded content (openssl base64 can be used for that) and pipe
the
> result into 'openssl smime' (don't use the -binary switch).
>
> Try it without enncryption first so you can find a form your mail client
will
> tolerate.
>
> Steve.
> --
> Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
> OpenSSL project core developer and freelance consultant.
> Funding needed! Details on homepage.
> Homepage: http://www.drh-consultancy.demon.co.uk
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to