pdmangel / node-red-contrib-openhab2

Other
21 stars 15 forks source link

Passwords logged in cleartext to syslog #38

Open klepikov opened 5 years ago

klepikov commented 5 years ago

Sep 15 23:27:12 openhab Node-RED[387]: 15 Sep 23:27:12 - [warn] [openhab2-controller:home] response status 503 on 'http://openhabian:hunter2@localhost:8080/rest/items' .... retry later

Sep 15 23:27:17 openhab Node-RED[387]: 15 Sep 23:27:17 - [info] [openhab2-controller:home] getStateOfItems : config = {"id":"xxx.xxx","type":"openhab2-controller","z":"","name":"home","protocol":"http","host":"localhost","port":"8080","path":"","username":"openhabian","password":"hunter2","_users":["xxx.xxx"]} (obviously the password and ids are edited here)

Please sanitize passwords when logging.