Skip to content

Commit 772ba7a

Browse files
author
Eva
committed
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>
1 parent 783019a commit 772ba7a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎docs/nips/NIP-FI-EDGE.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,9 @@ time.
169169
- **Client peer:** Serialize the exact canonical ASCII field value.
170170

171171
No authorization decision, target, resource, capability, or effect selector
172-
derives from any request component outside the protected pre-MAC components;
172+
derives from any request component outside the protected pre-MAC components,
173+
except the independent NIP-98 proof conveyed in the `Authorization` field,
174+
whose integrity is protected by its own signed event rather than by this MAC;
173175
body interpretation follows the server-resolved body semantics, never
174176
unprotected transport metadata such as `Content-Type` or `Content-Encoding`.
175177

0 commit comments

Comments
 (0)