Skip to content

Fingerprint sha256 has already been taken: message not useful enough

Proposal

Adding new deploy key to project -> settings -> repository -> deploy keys, I get the following message, but the deploy key is not applied to the project: Fingerprint sha256 has already been taken, Deploy keys projects deploy key fingerprint sha256 has already been taken It's some mysterious pkcs8, and I cannot reproduce the sha256 / base64 fingerprint that's already in the below list on the page (Privately accessible deploy keys (18) )

It would be nice to implement one of the following solutions:

  • Print out the resulted sha256 fingerprint, that conflicts with an existing one, so I can enable it to this project.
  • Handle this case, as not an error, but add the existing key to the project (notify the user, that the key name was not replaced)

GitLab Enterprise Edition 15.3.1-ee