Add security context to the actor endpoint #109

Open
opened 2026-03-26 20:12:51 +00:00 by evanp · 0 comments

The actor endpoint includes properties from the security context https://w3id.org/security/v1, including publicKey, publicKeyPem, and owner.

Consumers that parse JSON-LD should see these namespaced identifiers as https://w3id.org/security#publicKey, https://w3id.org/security#publicKeyPem, and https://w3id.org/security#owner.

Instead, they get the default namespace, _:, so they appear as _:publicKey, _:publicKeyPem, and _:owner.

Adding the context URL https://w3id.org/security/v1 to the actor output should fix this problem.

The actor endpoint includes properties from the security context [https://w3id.org/security/v1](https://w3id.org/security/v1), including `publicKey`, `publicKeyPem`, and `owner`. Consumers that parse JSON-LD should see these namespaced identifiers as `https://w3id.org/security#publicKey`, `https://w3id.org/security#publicKeyPem`, and `https://w3id.org/security#owner`. Instead, they get the default namespace, `_:`, so they appear as `_:publicKey`, `_:publicKeyPem`, and `_:owner`. Adding the context URL `https://w3id.org/security/v1` to the actor output should fix this problem.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/relay#109
No description provided.