From 772ba7a723bd86a5ba0896a4bba5acd05c6bda05 Mon Sep 17 00:00:00 2001 From: Eva <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@buzz.block.builderlab.xyz> Date: Thu, 20 Aug 2026 16:05:53 -0400 Subject: [PATCH] docs(nip-fi): except the NIP-98 proof from the pre-MAC derivation bound The derivation rule stated that no authorization decision derives from any request component outside the protected pre-MAC components. The pre-MAC input enumerates exactly ten components and the Authorization field is not one of them, yet on every proof-transport-0x02 route the decision must derive from the NIP-98 proof that field carries: the trusted-edge requirements mandate the field reach final admission unmodified and make admitting a 0x02 request without it nonconformant, and core requires the actor be returned by fresh Nostr-proof validation. Read literally, the rule and those obligations were jointly unsatisfiable. The fix excepts the one component that is integrity-protected by its own signed event rather than by the MAC; unprotected transport metadata remains excluded, and the Metadata negative case is unchanged. Oracle census unchanged at 58. Co-authored-by: Eva <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@buzz.block.builderlab.xyz> Signed-off-by: Eva <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@buzz.block.builderlab.xyz> --- docs/nips/NIP-FI-EDGE.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/nips/NIP-FI-EDGE.md b/docs/nips/NIP-FI-EDGE.md index ca915c2c2f..1b15699d25 100644 --- a/docs/nips/NIP-FI-EDGE.md +++ b/docs/nips/NIP-FI-EDGE.md @@ -169,7 +169,9 @@ time. - **Client peer:** Serialize the exact canonical ASCII field value. No authorization decision, target, resource, capability, or effect selector -derives from any request component outside the protected pre-MAC components; +derives from any request component outside the protected pre-MAC components, +except the independent NIP-98 proof conveyed in the `Authorization` field, +whose integrity is protected by its own signed event rather than by this MAC; body interpretation follows the server-resolved body semantics, never unprotected transport metadata such as `Content-Type` or `Content-Encoding`.