Skip to content

Conversation

@PascalDR
Copy link
Collaborator

@PascalDR PascalDR commented Sep 26, 2025

Resolves #498

KeyLike: TypeAlias = ECKey | RSAKey | OKPKey | SYMKey
SerializationFormat = Literal["compact", "json"]

JWT_REGEX = r'^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+$'
Copy link
Member

@peppelinux peppelinux Sep 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure that it might work with an SD-JWT

Copy link
Collaborator Author

@PascalDR PascalDR Sep 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case the signed request is always a simple JWS.
I can also add a proper function in the sd-jwt package if you want.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this helper used also for SD-JWT?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this moment this function is used exclusively to do the check for the signed request.

PascalDR and others added 2 commits September 29, 2025 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants