On Fri, Aug 27, 2004, ecc samba wrote: > Hi Everybody, > we are trying to encrypt a file using the openssl command. > > openssl enc -ciphername [-in filename] [-out filename] [-pass arg] [-e] [-d] [-a] > [-A] [-k password] [-kfile filename] [-K key] [-iv IV] [-p] [-P] [-bufsize number] > [-debugopenssl enc -ciphername [-in filename] [-out filename] [-pass arg] [-e] [-d] > [-a] [-A] [-k password] [-kfile filename] [-K key] [-iv IV] [-p] [-P] [-bufsize > number] [-debug > > but the command works like, it either prompts for a password from the > standard terminal or takes the password from the a file. > > we want a situation like ssh authentication. The file is crypted > with private and public keys. The public keys are given to the requested > users and only those users can access those files. This is like access control > using openssl schemes. > The file being encrypted need not involve any transportation across > the network. >
Currently there's no way to do that with the 'cipher' utility. The 'smime' utility can be used for something similar provided the users have certificates. 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]