chore: status list and PoP huuge review, cryptojwt updated#538
Merged
peppelinux merged 2 commits intoJun 11, 2026
Conversation
manpace
approved these changes
Jun 9, 2026
mciofo
approved these changes
Jun 9, 2026
peppelinux
merged commit Jun 11, 2026
0815460
into
feature/status_list_and_key_attestation
15 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several important improvements and bug fixes across the trust chain builder, OpenID4VCI endpoints, storage, status list encoding, validation utilities, and test coverage. The most significant changes include robust handling of JWT decoding, atomic allocation of credential status list indexes, improved bitstring encoding for status lists, and enhanced DPoP-bound access token handling and tests.
Key changes:
Trust Chain Builder and JWT Handling
pyeudiw/federation/trust_chain_builder.py) [1] [2]OpenID4VCI Endpoints and Token Handling
pyeudiw/satosa/frontends/openid4vci/endpoints/status_list_endpoint.py,token_endpoint.py) [1] [2]status_list_endpoint.py)token_response.py) [1] [2]Credential Storage and Status List Indexing
findAndModify, preventing race conditions and duplicates. Also enforced uniqueness with a database index. (credential_storage.py) [1] [2] [3]Status List Bitstring Encoding
array_to_bitstring_v1function now packs credential status bits in least-significant-bit-first order, indexed byincremental_id, and handles sparse arrays correctly, aligning with the OAuth status list draft. The original wrapper is retained for backward compatibility. (status_list/__init__.py)Validation Utilities and Test Improvements
validation.py) [1] [2]test_dpop.py,test_credential_endpoint.py) [1] [2] [3] [4] [5] [6] [7] [8]Miscellaneous
CredentialConfigurationoptional for better flexibility and compatibility. (metadata.py)