Commit 58b7810
committed
Lengthen the demo signing keys in the identity-assertion examples
The identity-assertion tutorial and its example story signed their demo
ID-JAG tokens with HMAC keys of 30 and 20 bytes. PyJWT 2.11+ warns
when an HS256 key is shorter than the 32-byte minimum from RFC 7518,
and pyjwt is uncapped, so a fresh install already emitted that warning
from the shipped example. The demo keys are now at least 32 bytes.
No-Verification-Needed: docs-example demo constants; behavior driven directly1 parent 11934c9 commit 58b7810
3 files changed
Lines changed: 3 additions & 3 deletions
File tree
- docs_src/identity_assertion
- examples/stories/identity_assertion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments