harbor: failed to create a new keydbstore: pq: unknown authentication response: 10
I’m using the Harbor Operator to deploy a harbor cluster and in my notary server and signer pods I’m getting the following output
2021/10/05 16:55:06 Updating database.
2021/10/05 16:55:06 schema_migrations table does not require update, skip.
no change
notarysigner database migrated to latest version
{"level":"info","msg":"Version: 0.6.1, Git commit: d6e1431f","time":"2021-10-05T16:55:06Z"}
{"level":"fatal","msg":"failed to create a new keydbstore: pq: unknown authentication response: 10","time":"2021-10-05T16:55:06Z"}
I believe this has to do with the scram-sha-256 client library needing to be updated as per this post on stackoverflow.
Is this something I can work around or does this need to be fixed in the codebase? Thank you!
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 4
- Comments: 15 (1 by maintainers)
@InderpreetSaini Here you go! He links to the code you can use in his response to me.
I was having the same issue, but the link mentioned above worked for me in resolving it. Are there any plans on adding support for
SCRAM-SHA-256?Hi @Ramki33 , as per my understanding, notary in Harbor does not support SCRAM-SHA-256 encrypted password authentication. Have you tried generating the verifier using algorithm value as md5 instead of scram-sha-256?
Besides the latest version of Harbor 2.5.0 supports Cosign integration as an image signing solution along with Notary. So you have the option to go along with Cosign, instead of Notary.