What are projects doing about LD-Signatures since https://w3id.org/security/v1 went away?

Oh! I think I might know what’s going on. The Security V1 loads fine. It’s the Identity V1 context that fails to load: https://w3id.org/identity/v1 redirects to the web-payments domain which no longer resolves. So yes, any LD-signed activity that references the context https://w3id.org/identity/v1 will break.

Somewhat fortunately, the only properties that are used for LD Signatures are dc:creator, dc:created, sec:signature, and sec:signatureValue – all of which are defined in the Security V1 context. So you could probably rewrite https://w3id.org/identity/v1 wherever it occurs and replace it with https://w3id.org/security/v1.

Unfortunately, that still leaves RsaSignature2017 completely undefined. You could maybe define it in an inline context extension, mapping it to the sec: namespace just like we all lie to ourselves with as:Hashtag or as:sensitive or as:manuallyApprovesFollowers. Alternatively, if you instead inject https://w3id.org/security/v2, then you gain access to all of Security V1 and also RsaSignature2018, which doesn’t help you unless you also rewrite RsaSignature2017 to RsaSignature2018 (and then rewrite it back before distribution, because Mastodon is hardcoded to only accept RsaSignature2017…)

More generally, this just goes to show that we should try to migrate away from using LD Signatures as soon as possible, since the draft they are based on was obsoleted several times over. You may consider FEP-8b32 as a proposal to adopt VCDI 1.0 proof, which is defined in https://w3id.org/security/data-integrity/v1 currently.

3 Likes