Skip to content

[Harbor] /etc/core/key does not meet correct key lenght size #915

@HSoulat

Description

@HSoulat

Platform

Azure

bndiagnostic ID know more about bndiagnostic ID

none

bndiagnostic output

No response

bndiagnostic was not useful. Could you please tell us why?

Not related to Habor configuration

Describe your issue as much as you can

Encryption key lenght in /etc/core/key should be 16 bits long. Bitnami image is generating 64 bits long key.

This difference trigger the following error when we try to add external registry with credentials.
2023-05-15T14:31:25+02:00 [ERROR] [/lib/http/error.go:56]: {"errors":[{"code":"UNKNOWN","message":"unknown: crypto/aes: invalid key size 64"}]}

Here the linked issues / pull request on goharbor project

goharbor/harbor-operator#326
goharbor/harbor-operator#404

Metadata

Metadata

Assignees

Labels

on-holdIssues or Pull Requests with this label will never be considered staletech-issuesThe user has a technical issue about an application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions