From 1aa04a3ad6dae7afa45b8847376040c832181cf4 Mon Sep 17 00:00:00 2001 From: silverpill Date: Fri, 14 Jun 2024 15:12:39 +0000 Subject: [PATCH] FEP-521a: Update proposal (#324) - Clarification regarding non-compliant entries in assertionMethod array - Add Fedify to implementations Resolves #317 Reviewed-on: https://codeberg.org/fediverse/fep/pulls/324 Co-authored-by: silverpill Co-committed-by: silverpill --- fep/521a/fep-521a.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/fep/521a/fep-521a.md b/fep/521a/fep-521a.md index d9ce241..81c2ad8 100644 --- a/fep/521a/fep-521a.md +++ b/fep/521a/fep-521a.md @@ -24,7 +24,7 @@ The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "S ## Multikey -Actor's public key MUST be represented as an object with `Multikey` type, as defined in section *2.3.1.2 Multikey* of [Data Integrity](https://www.w3.org/TR/vc-data-integrity/#multikey) specification. This object MUST have the following properties: +Each public key MUST be represented as an object with `Multikey` type, as defined in section *2.3.1.2 Multikey* of [Data Integrity](https://www.w3.org/TR/vc-data-integrity/#multikey) specification. This object MUST have the following properties: - `id`: the unique global identifier of the public key. - `type`: the value of this property MUST contain the string `Multikey`. @@ -48,14 +48,14 @@ Implementers can use cryptographic keys of any type for which [Multicodec] prefi ## Controller document -Actor object MUST be used as a controller document, as described in section *2.3 Controller Documents* of [Data Integrity](https://w3c.github.io/vc-data-integrity/#controller-documents) specification. - -### Key purposes +`Multikey` objects MUST be added to the actor object, which is considered a controller document, as described in section *2.3 Controller Documents* of [Data Integrity](https://w3c.github.io/vc-data-integrity/#controller-documents) specification. If the key is intended to be used for signing ActivityPub objects, it MUST be added to the [`assertionMethod`](https://www.w3.org/TR/vc-data-integrity/#assertion) array of the actor object. Other use cases are currently out of scope of this proposal. +Implementations are discouraged from adding any objects to the `assertionMethod` array that does not conform to this specification. Implementations encountering non-conformant entries in the `assertionMethod` array SHOULD ignore them. + ### Example ```json @@ -95,6 +95,7 @@ See [fep-521a.feature](./fep-521a.feature) - Mitra - streams - Hubzilla +- Fedify ## References