evcc config shows E3/DC config rscp key as clear text
Describe the bug
$ evcc config is supposed to deliver the run configuration with credentials / passwords / etc anonymized as *****. With an E3DC device configured, this works fine for user / Password / etc. However, the rscp key is clear text 111111 - not the real one, anonymized manually for this issue.
Steps to reproduce
evcc configwith E3/DC device in the configuration
...
Configuration details
...
meter
---
db:3 {Type:template Title: Icon: Product:E3/DC} map[host:192.168.0.204 key:111111 maxacpower:0 password:***** port:5033 template:e3dc-rscp usage:grid user:*****]
db:4 {Type:template Title:Batterie Icon: Product:E3/DC} map[capacity:11.7 host:192.168.0.204 key:111111 maxacpower:0 password:***** port:5033 template:e3dc-rscp usage:battery user:*****]
db:6 {Type:template Title:PV2 Icon: Product:Hoymiles HM & HMS Series (via OpenDTU)} map[host:192.168.0.229 template:hoymiles-opendtu usage:pv]
db:9 {Type:template Title:PV1 S3 Icon: Product:Huawei SUN2000} map[forceaccharging:false host:192.168.0.206 id:0 maxacpower:0 maxchargepower:10000 modbus:tcpip port:6607 storageunit:1 template:huawei-sun2000 timeout:3e+10 usage:pv]
db:10 {Type:custom Title:PV1 Icon: Product:} map[yaml:## required attributes
Log details
nothing to be shown
What type of operating system or environment does evcc run on?
Docker container
External automation
- [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.
Nightly build
- [x] I have verified that the issue is reproducible with the latest nightly build
Version
evcc version 0.207.6 (bf6721d3)
Is that an issue, being a local credential?
Credential remains credentials, local or not, right?
Feel free to propose a fix. This is not an urgent concern.
See https://github.com/evcc-io/evcc/issues/23545 for the general case