Commit 46acd1c
octo-patch
fix: accept Claude session keys in sk-ant-sid02 format (fixes #935)
Anthropic now issues session keys with the prefix sk-ant-sid02-
in addition to the previous sk-ant-sid01- format. The validation
was too strict, rejecting valid new-format keys with an error.
Relaxed the check to match any sk-ant-sid prefix to be
forward-compatible with future key format versions.1 parent c236a4b commit 46acd1c
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
| 77 | + | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
0 commit comments