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>
This commit is contained in:
Eva
2026-08-20 16:05:53 -04:00
parent 783019a95b
commit 772ba7a723

View File

@@ -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`.