From ce6f9238f3b8afe1ba1564a7dcbdf2d6f6445db4 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sat, 14 Jan 2023 10:54:22 +0100 Subject: [PATCH] Use newer security context instead of identity for LD sig --- app/ldsig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ldsig.py b/app/ldsig.py index f01074d..2eea9de 100644 --- a/app/ldsig.py +++ b/app/ldsig.py @@ -41,7 +41,7 @@ def _options_hash(doc: ap.RawObject) -> str: for k in ["type", "id", "signatureValue"]: if k in doc: del doc[k] - doc["@context"] = "https://w3id.org/identity/v1" + doc["@context"] = "https://w3id.org/security/v1" normalized = jsonld.normalize( doc, {"algorithm": "URDNA2015", "format": "application/nquads"} )