Thank you for your reply. Actually I use -passin (email editing problem ?) Complete command line working fine in cmd is the following one :
openSSL> smime -decrypt -in OUT\TEST_OK.TXT -out OUT\OK.TXT -inkey SBE\sbe-test.key.pem -passin pass:tn!;bg+xy:tABrP1Y&ZK But I cannot have it working under windows shell => no way to give the pass argument. The other commands of my workflow (encrypting, signing, verifying) are ok. Thanks a lot if your can help me on that issue Steven 2010/6/12 Dr. Stephen Henson <[email protected]> > On Sat, Jun 12, 2010, fatalfr fatalfr wrote: > > > Hi all, > > > > I try to run the following command under vb6 project > > > > RetourRun = WshShell.Run("C:\OpenSSL\bin\openssl.exe smime -decrypt -in > > OUT\TEST_OK.TXT -out OUT\OK.TXT -inkey SBE\sbe-test.key.pem ?passin > pass:" & > > MotDpass$, 1, True) > > > > > > I face issue while shell does not recognize the pass argument and wait > for > > manual entering. > > Command line works fine when I try it directly in CMD prompt. > > > > Any idea about this ??? > > > > Other than the obvious that you seem to be using ?passin instead of -passin > ? > > Steve. > -- > Dr Stephen N. Henson. OpenSSL project core developer. > Commercial tech support now available see: http://www.openssl.org > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [email protected] > Automated List Manager [email protected] >
