Repository navigation
Support to set securityKeys values in zwavejs-runtime node via default node-red injection methods #351
Replies: 1 comment 1 reply
|
Hi @github-dodt The only way to do this properly is to use the Node-RED credentials API. I've looked into this in the past, but haven't implemented it yet. The keys need to be available before the flows start, as the Z-Wave JS backend library needs them during initialisation. This happens before any flows are started, so injecting the keys through a flow isn't an option. Moving to the credentials API would likely involve breaking changes, as the editor-side node definitions and the corresponding runtime nodes would need to be updated to support it. I'll look at bringing this in for v12, as a major version is the right time to introduce potentially breaking changes. I agree that storing these keys securely would be a worthwhile improvement. In the meantime, unless your neighbour is also using Z-Wave and has access to your keys, the practical risk is relatively low. |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
using the node-red-contrib-zwave-js library (v11) the zwave security keys are stored within the flows.json file. When using Github as repository these values can be exposed. I would like the libray to support the ability to 'inject' the keys in a secure, preferably a node-red supported, way.
Best regards,
Rob
All reactions