Skip to content

JWT signing secret is shared between server and trustauth #34

Closed

Description

@HellFelix

Both services derive their JWT secret from the same source and use only the iss claim to distinguish tokens. A token issued by the server is structurally verifiable on trustauth and vice versa.

Fix: Generate separate secrets per service.

Activity

  1. added this to the v2.1 milestone on Mar 4, 2026
  2. HellFelix commented on Apr 13, 2026

    @HellFelix
    CollaboratorAuthor

    This was not totally accurate. The secrets have been previously separated, so this was not an issue in production. What was a bit of an issue however was that the secrets used in integration testing were set to zeroed arrays (not necessarily a problem, but a little bit weird nonetheless). This has been fixed with d7054f7.

  3. HellFelix commented on Apr 13, 2026

    @HellFelix
    CollaboratorAuthor

    Fix mentioned in comment above merged to stage with #63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    LowLow prioritysecurityRelated to safety of the system

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions