Conversation
Expose a lower-level `allocate_credential_status` that takes an already-built unsigned VC, reserves status-list slots on a vc-status-server, and returns the augmented unsigned credential for the caller to sign. Refactor `issue_revocable_vc` to delegate to it (behavior and error strings unchanged). Add a write side to complement read-only `check_credential_status`: `update_credential_status` plus `revoke_vc` / `suspend_vc` / `unsuspend_vc` convenience wrappers, against the server's `POST /credentials/status` endpoint. Extend the revocable-vc example to exercise the full issue -> check -> revoke -> check lifecycle, and add wiremock tests for the new helpers. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
`build_unsigned_with_eqty_contexts` now attaches
`{"@vocab": "https://eqtylab.io/terms/"}` as the third @context entry
instead of the urn:cid: link to integrity-jsonld's common context. The
VC becomes self-describing: EQTY-namespaced terms (EqtyVComp*Evidence,
report, certificateChain, policy, statements, ...) expand under that
namespace with no fetched/CID-pinned context document required.
Verification is unchanged and the JSON-LD loader still ships the old CID
context, so previously-issued VCs that reference it continue to verify;
add test_verify_vc_with_ig_common_cid_context to guard that. Also assert
the new @vocab array shape in the vcomp-shape test.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Once this is merged and tagged it can be used in https://github.com/eqtylab/integrity-monorepo/pull/1651