ProgrammingCube / lcdhost

Automatically exported from code.google.com/p/lcdhost
1 stars 0 forks source link

Password Field Setup Item #88

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I would like to see a new QString setup type, something like 
"lh_type_string_password".

This new type would:
(a) show masked text when you type a value 
(b) have LCDHost to store it's value in an encrypted form. 
(c) always have the LH_DATA_NOSOURCE flag set so it cannot be read out
(d) provide the unencrypted value in calls to this->value()

The encryption should use something local to the system or installation as the 
key so that users could not accidentally include a valid password in a layout.

The intention of this would be to only be used for plugin-level setup items (so 
a password should never be saved into the layout), but provision should be made 
in case future plugin developers break this convention (i.e. the key should be 
unique to the local copy of LCDHost).

Original issue reported on code.google.com by a...@bridgesuk.com on 31 Jul 2011 at 5:09

GoogleCodeExporter commented 8 years ago
Good idea.

Original comment by jo...@linkdata.se on 31 Jul 2011 at 7:47