Re: Recommandation related to tools to be used with OpenSSL

2010-01-20 Thread John Doe
From: VictorMitu 
> I have the following scenario:
> i need an application that will do the following:
> 1. there is an input folder. In this folder, files will be
> copied/downloaded.
> 2. An application/script will periodically query this folder (auto-detection
> is also accepted).
> 3. if a new file is detected, the application will execute openssl smime
> -encrypt | openssl smime -sign commands on the file.
> 4. the output files (encrypted file and encrypted-signed files) will be
> dropped in an Output folder.
> The reverse operation is also expected:
> 1. an input folder will be queried periodically for new encrypted-signed
> files (auto-detection is also accepted).
> 2. if a new file is found, the following commands are applied: openssl smime
> -verify | openssl smime -decrypt and the following actions are perfromed:
> 2.1. The Signature is verified. The validation process will drop to an
> external file (txt, csv) the result of the validation (pass/failed).
> 2.2 The Encrypted file is decrypted in another folder.
> My question is actually a request for a recommandation related to an easy
> development tool (programming language, scripting) that is able to perform
> these operations, including the injection of openssl commands.

Most languages can do this (execute external programs).
Even a simple shell script run from cron...

cd $INPUT_DIR
ls | while read FILE
  do
openssl_cmd1 $FILE $FILE.crypted
openssl_cmd2 $FILE.crypted
...
mv $FILE.crypted $OUTPUT_DIR/
rm -f $FILE
  done

Copy/paste and adapt for the reverse.
It depends on the level of sophistication you want...

JD


  
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org


Recommandation related to tools to be used with OpenSSL

2010-01-19 Thread VictorMitu

I have the following scenario:

i need an application that will do the following:

1. there is an input folder. In this folder, files will be
copied/downloaded.
2. An application/script will periodically query this folder (auto-detection
is also accepted).
3. if a new file is detected, the application will execute openssl smime
-encrypt | openssl smime -sign commands on the file.
4. the output files (encrypted file and encrypted-signed files) will be
dropped in an Output folder.

The reverse operation is also expected:

1. an input folder will be queried periodically for new encrypted-signed
files (auto-detection is also accepted).
2. if a new file is found, the following commands are applied: openssl smime
-verify | openssl smime -decrypt and the following actions are perfromed:
2.1. The Signature is verified. The validation process will drop to an
external file (txt, csv) the result of the validation (pass/failed).
2.2 The Encrypted file is decrypted in another folder.

My question is actually a request for a recommandation related to an easy
development tool (programming language, scripting) that is able to perform
these operations, including the injection of openssl commands.

Thank you,
Victor 


-- 
View this message in context: 
http://old.nabble.com/Recommandation-related-to-tools-to-be-used-with-OpenSSL-tp27227875p27227875.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   majord...@openssl.org