i'm writing a ble usermod. I have the ble pairing key as a cfg.json entry, but this comes back over the air with the /json/cfg.json call in the clear.
it would be nice to either:
add addToSecureConfig and readFromSecureConfig calls to the usermods and stub those out in the base class.
add some specially handled key in addToConfig that would store the value in the secure area rather than the regular cfg.json
I haven't been able to come up with any alternative. i'm not super paranoid about someone getting my ble pairing key, so i'll likely just go without it being secure... alternately, I could make the change and then contribute it back as part of my PR.
btw: I really like the usermod structure... very clean, easily understandable and flexible
i'm writing a ble usermod. I have the ble pairing key as a
cfg.json
entry, but this comes back over the air with the/json/cfg.json
call in the clear.it would be nice to either:
addToSecureConfig
andreadFromSecureConfig
calls to the usermods and stub those out in the base class.addToConfig
that would store the value in the secure area rather than the regular cfg.jsonI haven't been able to come up with any alternative. i'm not super paranoid about someone getting my ble pairing key, so i'll likely just go without it being secure... alternately, I could make the change and then contribute it back as part of my PR.
btw: I really like the usermod structure... very clean, easily understandable and flexible