← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #253923]: Help for a Sikuli newbee with only basic knowledge and experiences with scripting

 

Question #253923 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/253923

RaiMan proposed the following answer:
one more thing:
Currently it is typical for beginner scripts to have secret information (mostly automated logins) in the script as strings and hence readable.
This hinders people to publish their scripts as is or hand it over to others like me. 

I plan an easy to use feature to separate such information into a file
outside the script container (e.g. home folder).

Something like this:

click(password_field) # to give focus
paste("password")

you use:
click(password_field) # to give focus
pasteSecret("password_for_appx")

and have a file
sikulix_secrets.txt

containing
password_for_appx = realpassword

So the real password is only loaded at runtime from the file and never
revealed in any logging.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.