christianTF/LoxBerry-Plugin-MQTT-Gateway

Permissions for cred.json / cred.json.bkp

Closed this issue · 0 comments

Permissions sollten aus Sicherheitsgründen 640 (-rw-r-----) sein, da diese Dateien das Passwort im Klartext enthalten:

Aktuell für jeden lesbar:

loxberry@loxberrymatic:~/config/plugins/mqttgateway $ ls -l cred*
total 36
-rw-r--r-- 1 loxberry loxberry  180 Nov 29  2019 cred.json
-rw-r--r-- 1 loxberry loxberry  163 Nov 29  2019 cred.json.bkp