On Tue, 2007-12-04 at 15:50 +0200, Aleksander Kamenik wrote: > Hi, > > I want to use openssl to encrypt and decrypt files using asymmetric > encryption. > > I tried to do symmetric encryption with enc, works fine. Example: > > openssl enc -e -aes128 -pass file:/path/to/passkey > > What command is used for asymmetric? What kind of keys do you recommend > to generate for this? When using asymmetric cryptography you in reality use hybrid symmetric and asymmetric methods. Depending on your needs, you may need different "hybrid" protocol. One of them is smime, you may get more info with: $ openssl smime -h
Best regards, -- Marek Marcola <[EMAIL PROTECTED]> ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]