Commit f60327e
committed
Address PR feedback: document RFC 7638 JWK-minimality invariant, log canonicalization failure
- Add in-context comment tying jwkThumbprint's correctness to jwkP256's
output being minimal ({crv, kty, x, y} only). Optional JWK fields would
silently break the authorize↔token binding; this makes the dependency
visible to a future jwkP256 author.
- Log a warn line when JSON canonicalization or SHA-256 hashing fails
before throwing thumbprintFailed, matching the diagnosability style of
the coordinator's appendDPoPJktIfNeededTo: soft-fail path.1 parent a08e267 commit f60327e
1 file changed
Lines changed: 7 additions & 1 deletion
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
123 | 128 | | |
124 | 129 | | |
125 | 130 | | |
| 131 | + | |
126 | 132 | | |
127 | 133 | | |
128 | 134 | | |
| |||
0 commit comments