Commit 9444999
authored
docs(readme): fix quickstart demo API key to match server hashing (#100)
The plaintext (`recotem-quickstart`, 18 chars) was below
`_API_KEY_MIN_LEN = 32`, and the published hash was a plain
sha256 instead of the scrypt KDF the server actually uses, so the
quickstart `curl /predict/...` always returned `invalid_api_key`.
Replace with a 32-char plaintext and the matching
`scrypt(N=2, r=8, p=1, salt=b"recotem.api-key.v1")` hex digest.1 parent e276bd5 commit 9444999
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
| 79 | + | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments