User Profile
Collapse
-
So this would mean I need to seperately install the expect module on every machine that I run this program on.... I run this on multiple platforms and this is going to be a time consuming thing for me :( -
I know using expect in my code is going to be really very complex. Unfortunately the client does not have an option to provide the passphrase and the client is coded in C and we dont want to make any changes to it now. So the question nw is hw can this be implemented using perl in the automation script.Leave a comment:
-
Hi Jeff,
Thanks for your reply,
But even after trying out your code My code is not picking the passphrase from the file It stil prompts me for the passphrase
Code:open(CFGFILE, "<../phrase.cfg"); while (<CFGFILE>) { ($key,$value)=split(/\s+/,$_); $config{$key}=$value; } #My client code , following which it will prompt for passphrase
Leave a comment:
-
How to make an automated password file for perl script
Hi All,
Im new to perl programming and currently using a automation code written in perl by someone else.
My script uses an openssl client to perform some handshake operation using the client certificate, for the handshake to be successful it prompts for a passphrase. So I thought of keeping the passphrase in a file and at run time my ssl client should pick from the file. But I'm nt sure hw to go abt with it any suggestions guys??...
No activity results to display
Show More
Leave a comment: