Hi,
I'm playing with a web-based tool to allow access to encrypted
files. I want to encrypt all files with a randomly generated
private key, and then encrypt the key with the Documentalist's
public key.
This I can do with e.g.
openssl smime -encrypt -des3 -binary -in file.txt \
-out file.enc Documentalist.crt
However, when decrypting the file I want to be able to extract
the encrypted private key from the file, send it to another
system which contains the Documentalist's private key, decrypt
the key, send it back, and use it to decrypt the file.
I have read the documentation but cannot work out exactly how to
do this? Any ppointers on how to extract the key would be greatly
appreciated. Also is this is the best way of doing this?
Thanks a lot,
Dave
--------------------------------------------------------------
Dave Stafford Globis Ltd.
Senior ICT Consultant Empire Office Building
[EMAIL PROTECTED] Keizer Karel V Singel 8
Mobile: +31 653 287 385 5615PE Eindhoven
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]