Page 1 of 1

Script Request - Password Encryption

Posted: 29 Jul 2010 13:34
by SkyFrontier
Recent changes and an old wish may now meet each other in terms of a simple password encryption.
The idea is to hide values contained in a right click on a CTB so only after processing a script based on "replacelist" such passwords will be valid and ready to use anywhere else.
So:
1) One CTB has the "encrypted passwords" - a list that will be read by the proposed script.
2) Another CTB/UDC/catalog item disguised in another place will contain the script that will translate those "random" values into the correct ones and prompt user on which one he'll want to use at a moment, then make it available to clipboard via copytext.
3) One can have the statusbar hidden (also discussed here) for security reasons or included a simple code like

Code: Select all

focus "PI"; focus "PI"
to quickly display a neutral status instead of this "well protected" thus far password/value.
Thanks!

Re: Script Request - Password Encryption

Posted: 29 Jul 2010 14:16
by SkyFrontier
Improvement (ideas for the code):
CTB value: "Account 2" 9 3 2 7 - as of copytext "9327"; focus "PI"; focus "PI"
internal search/replacement:
$out = replace($out,"2","pa");
$out = replace($out,"3","st");
$out = replace($out,"9","te");
$out = replace($out,"7","ss");
Real password: testpass (te/9 st/3 pa/2 ss/7)
-is it possible to have a mounting order, so instead of "pa st te ss" (assuming that search/replacement is linear, reading commands from top to bottom in order to form "testpass" as output...)
-the idea is to have such passwords invisible to the system, also - they will only be mounted on execution of script.

Prompt must be user - define-able so one can add as many pairs he needs and tell the prompt what the names will be, so "GMail password" can be shown as "Account 2" or anything else.

IF a master password could be set in such prompt, allowing or not execution of this decryptiont script, then we could have a real password protector built in the most unsuspected places of all: a file manager! :mrgreen: