Skip to content
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

Token format / construction #70

Closed
moonshiner opened this issue Jul 5, 2023 · 0 comments
Closed

Token format / construction #70

moonshiner opened this issue Jul 5, 2023 · 0 comments

Comments

@moonshiner
Copy link
Contributor

(from Erik)

It seems like the actual token contents should have more flexibility.
I don't think we want a "MUST" on that particular construct. It may be worth
a MUST that there is at least 128 bits of secure entropy, and that the token is
either base64 or hex encoded. But there may be a need to use other
constructs in the future (eg, not SHA256). Giving the current example
as a MAY seems reasonable.

There may be reasons for other constructs that embed state within the token.
For example: "HMAC-SHA256(private_key, label+account+domain)" may be appropriate
in some cases, although has enough security considerations that I'm not
sure we want to include that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant