-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
discovery should save passwords encrypted #111
Comments
@Garfonso @Apollon77 A password should not only be encrypted in the discovery module via Background: https://github.com/iobroker-community-adapters/ioBroker.frontier_silicon/tree/master https://github.com/pdbjjens/ioBroker.discovery/blob/master/lib/adapters/frontier_silicon.js I have defined a password (PIN) in io-package.json and in jsonConfig.json,
which I would like to assign a default PIN to by the discovery module.
For the IP that is also defined, the preassignment works when the adapter starts, It would be perfect if the discovery adapter would support something like tools.encrypt:
|
Legacy encryption via encryptWithLegacy
You can use |
Legacy encryption via encryptWithLegacy
@GermanBluefox
|
@Garfonso @GermanBluefox |
@Apollon77 @GermanBluefox @Garfonso |
Adapters can use discovery to ask user for a password (input of type "password"). It will be a password field in browser with typo-check by repeating entry in a second field (i.e. you can not see the typed password).
Currently the discovery adapter writes those passwords into the adapter configurations as plain text. It would be much preferably if it would support encryption. To be backward compatible this probably should only be an option at first (i.e. a property of 'input' like 'encrypt = true' -> will be stored encrypted).
Because the adapter can not detect if the password stored in its config is encrypted or not, this should be optional at first. There are quite some adapters using an input of type password:
The text was updated successfully, but these errors were encountered: