Closed EvilBMP closed 3 years ago
~Update: Only happens, when the user who is trying to add a deployment credential is an admin in Redmine - any ideas?~
Ok, it has nothing to do with the admin user. But it seems, the problem occurs because of different deployment key formats...
Note: We manage all deployment keys within one generic user account (which also has admin rights).
We lately moved our redmine to a newer VPS and updated redmine from 3.x to 4.1 as well. Now every new deployment key in the list is displayed in the format:
project-a-deploy | SHA256:sx9tRwHqGO7Ew3sZn29TLU2lk624Ry4uZTEz0n7pRhg
instead of the old/ existing ones:
project-b-deploy | 7d:62:d6:a8:fa:7c:22:c8:c4:39:ce:0d:01:1c:0f:23
If I now want to assign an old/ existing deploy key with md5 fingerprint to a new project/ repository I get the error mentioned above. If I choose a new key with sha256 fingerprint, everything is working correctly.
Do I have to migrate all deployment keys to sha256 fingerprinted versions?
This problem should be fixed with 5.0.0.
@alexandermeindl Thanks for the note. I just wanted to give feedback as well. We fixed the issue by converting all the old md5 fingerprints to sha256 by ourselves. But it would have been nice if there were some kind of migration available. If this is the case in 5.0.0 I am happy for every other user struggling with this (maybe rare) situation.
With the latest version of the plugin I am (again) not able to add deployment keys to a repository. I get the following log output, if I try to do:
Our environment: