Skip to content

Insecure defaults and lack of customization of JWT secret leads to insecure authentication settings in reaper #1729

Description

@gugu

What happened?

During debug of another bug I noticed that JWT secret of my reaper installation is default MySecretKeyForJWTWhichMustBeLongEnoughForHS256Algorithm, which makes authentication useless.

Did you expect to see something different?

I expect random jwt secret generated instead of default one

How to reproduce it (as minimally and precisely as possible):

Check JWT secret of default authenticated installation of k8ssandra-operator’s reaper

Environment

  • K8ssandra Operator version:

    Insert image tag or Git SHA here

  • Kubernetes version information:

    kubectl version

  • Kubernetes cluster kind:

    insert how you created your cluster: kops, bootkube, etc.

  • Manifests:

insert manifests relevant to the issue
  • K8ssandra Operator Logs:
insert K8ssandra Operator logs relevant to the issue here

Anything else we need to know?:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions