Actually the solution above cannot be the solution, as it simply deactivates the gpg signing flag.
In my case what worked was this: https://gist.github.com/bahadiraraz/f2fb15b07e0fce92d8d5a86ab33469f7
the error was "simply" due to a freezing during the git commit. removing the lock file, solved it immediately.