openssl smime

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

openssl smime

Steven Bade
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is there a method/means to use the S/MIME function to encrypt a file,
but leave the content in a binary format, rather than conversion to
base64 etc??

Basically provide similar function to GnuPG but using X.509 certificates
, and the PKCS#X standards??
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFC6juGBKHgXq2RAKcRAiCpAJ9eDHnUO4GtkfK6EN6Ny75rEFEkCQCfWC6U
nrczvVA5C/UWag1YMUun5cc=
=eeKS
-----END PGP SIGNATURE-----

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: openssl smime

Steven Bade
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Steven Bade wrote:

| Is there a method/means to use the S/MIME function to encrypt a file,
| but leave the content in a binary format, rather than conversion to
| base64 etc??
|
| Basically provide similar function to GnuPG but using X.509 certificates
| , and the PKCS#X standards??
I think i figured this out (helps to read the man pages completely)... I
think if i just use the -binary option for the smime command i get what
i'm looking for.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFC6jy/BKHgXq2RAKcRAsoOAJ4gwo5jMw0iuEl62dclpyTD8T8M4wCeO98/
KEgkZuonEJaQd/DN6AEQsmw=
=SGjX
-----END PGP SIGNATURE-----

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: openssl smime

Dr. Stephen Henson
On Fri, Jul 29, 2005, Steven Bade wrote:

>
> Steven Bade wrote:
>
> | Is there a method/means to use the S/MIME function to encrypt a file,
> | but leave the content in a binary format, rather than conversion to
> | base64 etc??
> |
> | Basically provide similar function to GnuPG but using X.509 certificates
> | , and the PKCS#X standards??
> I think i figured this out (helps to read the man pages completely)... I
> think if i just use the -binary option for the smime command i get what
> i'm looking for.

If you mean no translation of the input file yes -binary does that. If you
want the output in binary form too you need -outform DER as well.

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                    [hidden email]
Automated List Manager                           [hidden email]