Crypto node dynamically set encryption key

Hi everyone,

I'm working on a project where I read an encryption key from an EEPROM chip and store it in the global context. I'm looking for a crypto node that allows me to set the encryption key dynamically during runtime.

I've tried using "node-red-contrib-crypto-js-dynamic" and attempted to set msg.key to dynamically update the key. However, it seems that the node requires a value in the "Key" field for deployment. The issue is that even after setting msg.key, the placeholder value I enter in the "Key" field doesn't get overridden, and it appears that the node uses this placeholder as the actual key.

Has anyone encountered this issue or know of a crypto node that allows for dynamic key assignment?

Thank you for your help!

I found the issue. The crypting node is expecting a msg.secrectkey and not a msg.secretkey.
Time to update my reading glasses.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.