Repository navigation
Commit 772ba7a
Eva
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
173 | 175 | | |
174 | 176 | | |
175 | 177 | | |
| |||
0 commit comments