Repository navigation
fix(stack-auth,stack-profile): clamp server expires_in and wipe secret buffers #1553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
a076649
8cc9c40
dd043af
5c1a11b
0565c5e
da0cbf6
a5fa05f
6162ddb
027cb1f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| "@cipherstash/auth": patch | ||
| --- | ||
|
|
||
| Sign-in and token refresh no longer trust an unbounded `expires_in` from the | ||
| auth server. A token lifetime longer than 30 days is treated as 30 days, and a | ||
| device code is polled for at most one hour, so an oversized value can no | ||
| longer panic the process or wrap to an already-expired token. The buffers that | ||
| carry saved tokens and keys to and from `~/.cipherstash`, and an access key | ||
| read from `CS_CLIENT_ACCESS_KEY`, are now wiped from memory once used. | ||
| A device code's lifetime now runs from when it was issued, and polling stops | ||
| at that deadline rather than at the next poll after it. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.