Connection to remote git repository is not possible

When trying to push my changes to my remote repo, node-red is not initiating the push. Just the following progress display is appearing for some milliseconds.

What I miss is that node-red is asking for the private key for my id_rsa. Days ago, when I set up the remote connection, this was working fine. But now it stoped working. Also a restart of the node-red service is not helping.

Node-red is running on a Raspberry Pi and was installed acording follwing instruction: Running on Raspberry Pi : Node-RED

What is going wrong here?

If it did initially work and now does not due to the private key not being unlocked then it must have been unlocked when you first tried. Either you need an unlocked key or you need a key manager that lets you unlock it.

I don't use git with node-red so I don't have an exact answer. However, with recent npm attacks, I do now use signed git commits which require an unlocked key and I use a secrets manager for that. I'm currently using Kleopatra for that.

But how to unlock the key? I thought node-red project will do this automatically or at least will ask for it.

I unlock the key before it the cert is needed, it stays active in-memory, ready for use. That's what Kleopatra does for you.

But I see no need in unlocking the key with some external tool. This seems just like a workaround for a bug in Node-RED to me.

Node-RED asked the first time when connecting to the remote for password to unlock id_rsa. So it should just ask again the next time.

Are you running NR as a service?

If so you may need to check this issue

Yes, I am. Thanks, I'll give it a try.

Absolutely not!

The point of an external key manager is to manage the keys in a dedicated, security-focused tool away from other systems and services that might get compromised. Or, as in Node-RED's case, where anyone who can amend a flow would be able to get your pass code.

The 2nd point is to be able to automate service restarts without human intervention. The key manager takes care of it so if Node-RED has to restart for some reason, you don't have to have a person with access to the server to manually put in the passcode before it will restart.