~tsileo/microblog.pub

ce6f9238f3b8afe1ba1564a7dcbdf2d6f6445db4 — Thomas Sileo 1 year, 8 months ago 3f12985 2.0.0-rc.12
Use newer security context instead of identity for LD sig
1 files changed, 1 insertions(+), 1 deletions(-)

M app/ldsig.py
M app/ldsig.py => app/ldsig.py +1 -1
@@ 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"}
    )