Skip to content

Assert claim.subject==linkingKey, for jwt. #37

Description

@G8XSU

Refer: #26 (comment)

Since VSS uses claim.subject as the user identity, I still think the client should verify that it matches the linkingKey.

Otherwise, if the auth-server—intentionally or unintentionally—returns a different claim.subject, the client could end up reading or writing data against a different key.
Even if the data is encrypted on the client side, this could still increase the risk of unintended exposure.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions