Repository navigation
fix: cache RevocationList2020 JSON-LD context - #288
Merged
Merged
Conversation
|
Coverage after merging feat/cache-revocation-list into main will be
Coverage Report |
mohamed-affinidi
approved these changes
May 20, 2026
yaroslava-kurash
force-pushed
the
feat/cache-revocation-list
branch
from
June 8, 2026 11:54
a6d998e to
6a8721e
Compare
yaroslava-kurash
requested review from
ivan-branets-affinidi and
oleksiipiliugin
and removed request for
ivan-branets-affinidi and
oleksiipiliugin
June 8, 2026 11:57
|
Coverage after merging feat/cache-revocation-list into main will be
Coverage Report |
ivan-branets-affinidi
approved these changes
Jun 8, 2026
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.
Problem
Intermittent
JsonLdException: JSON-LD normalization failederrors occurring during revocation list credential signing. Root cause: thehttps://w3id.org/vc-revocation-list-2020/v1context is fetched live from the network, which involves a redirect chain (w3id.org -> w3c-ccg.github.io) that can fail transiently.Solution
Added the RevocationList2020 JSON-LD context to the static document cache in:
base_secp256k1_verifier.dartecdsa_secp256k1_signature2019_suite.dartThis matches how other standard contexts (credentials/v1, credentials/v2, security/v1, security/v2) are already cached, eliminating network dependency during VC signing operations.