From aa1eb8ebd9c7a9b6a84d6e15607b7fe9709ddbdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Sun, 15 Jan 2023 18:29:27 +0000 Subject: [PATCH] fix @context --- app/ldsig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ldsig.py b/app/ldsig.py index 382ff23..ab810c3 100644 --- a/app/ldsig.py +++ b/app/ldsig.py @@ -34,7 +34,7 @@ def _options_hash(doc: ap.RawObject) -> str: for k in ["type", "id", "signatureValue"]: if k in doc: del doc[k] - doc["@context"] = "https://raw.githubusercontent.com/web-payments/web-payments.org/master/contexts/identity-v1.jsonld" + doc["@context"] = "https://w3id.org/security/v1" normalized = jsonld.normalize( doc, {"algorithm": "URDNA2015", "format": "application/nquads"} )