[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssl-users
Subject:    Re: Encrypted attachments
From:       "Dr. Stephen Henson" <steve () openssl ! org>
Date:       2004-03-31 22:13:22
Message-ID: 20040331221322.GA56704 () openssl ! org
[Download RAW message or body]

On Wed, Mar 31, 2004, Dave wrote:

> 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 trob@airmail.net
> 
> The details tab seems to show the file just fine:
> begin 644 eei.zip
> M4$L#!!0``@`(`"16CRZ,@
> 
> However Outlook does not show this as an attachment.  Unencrypted it looks
> about the same but Outlook sees it as an attachment.
> 

That's because its uuencoded and not MIME. Base64 encode it with something
like this:

openssl base64 -in whatever.zip -out whatever.b64

then precede that with appropriate MIME headers for example:

Content-Type: application/x-zip-compressed
Content-Transfer-Encoding: base64

If you can get that to show up as an attachment then try it with the smime
command. You could also try creating an email with outlook with an attachment
and copying what it does.

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                    openssl-users@openssl.org
Automated List Manager                           majordomo@openssl.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic