How to decrypt flows_cred.json from NodeRED data ?

1. Digging the code The first step is to reverse the code from NodeRED, simple steps 1. Clone the sources git clone https://github.com/node-red/node-red.git 2. Dig with grep in the code grep -ril crypto packages/ packages/node_modules/@node-red/editor-api/lib/auth/index.js packages/node_modules/@node-red/editor-api/lib/auth/strategies.js packages/node_modules/@node-red/editor-api/lib/auth/tokens.js packages/node_modules/@node-red/editor-api/lib/editor/comms.js packages/node_modules/@node-red/editor-client/src/js/ui/editors/code-editors/monaco.js packages/node_modules/@node-red/editor-client/src/types/README.md Read more…