Skip to content

JWT_SECRET & COOKIE_SECRET bad defaults #171

@happyjamstack

Description

@happyjamstack

Is there a reason why JWT_SECRET and COOKIE_SECRET are not automatically randomly generated? Do they need to be the same each time the server restarts? What cryptographic requirements are they supposed to have? I haven't seen any information documenting these things.

It could be set to to some random string generated with crypto but that value would change every time the server restarted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions