Skip to content

Conversation

@lhazlewood
Copy link
Contributor

@lhazlewood lhazlewood commented Aug 11, 2025

Resolves #996.

Allowed the JwtParser to have empty nested algorithm collections, effectively disabling the parser's associated feature:

  • Clearing the zip() nested collection means parser decompression is disabled
  • Clearing the sig() nested collection means parser signature verification is disabled (i.e. all JWSs will be unsupported/rejected)
  • Clearing the enc() or key() nested collections means parser decryption is disabled (i.e. all JWEs will be unsupported/rejected)

Allowed the JwtParser to have empty nested algorithm collections, effectively disabling the parser's associated feature:
 - Clearing the zip() nested collection means parser decompression is disabled
 - Clearing the sig() nested collection means parser signature verification is disabled (i.e. all JWSs will be unsupported/rejected)
 - Clearing the enc() or key() nested collections means parser decryption is disabled (i.e. all JWEs will be unsupported/rejected)
@lhazlewood lhazlewood added this to the 0.12.7 milestone Aug 11, 2025
@lhazlewood lhazlewood self-assigned this Aug 11, 2025
Allowed the JwtParser to have empty nested algorithm collections, effectively disabling the parser's associated feature:
 - Clearing the zip() nested collection means parser decompression is disabled
 - Clearing the sig() nested collection means parser signature verification is disabled (i.e. all JWSs will be unsupported/rejected)
 - Clearing the enc() or key() nested collections means parser decryption is disabled (i.e. all JWEs will be unsupported/rejected)
@lhazlewood lhazlewood merged commit 7ec7dd1 into master Aug 13, 2025
23 checks passed
@lhazlewood lhazlewood deleted the 996-empty-algs branch August 13, 2025 19:18
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.

Can't remove all compression algorithms

2 participants