Skip to content

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

Open
@G8XSU

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.

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