-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add option of including context information in construction of UN #259
Comments
Unclear. Do you mean the UN should contain the hash of the current website domain or URL? |
This is more a "nice to have". |
@jot2re ,
in most cases UN will be used in useEthKey object inside website session. So we can replace domain with session nonce and use UN as is. If no session then we can use domain, not nonce. |
Yes, it is a nice "hack" of how to do it. Because basically it is all a question of optionally adding an extra parameter which gets hashed, but since the domain is already getting hashed, this can be done implicitly through the domain string. |
If single param enough for use then we can rename domain to nonce and sometime pass session nonce, sometime domain |
Currently a UN can be used multiple times within its validity.
This is a feature that allows it to be used repeatedly in short sessions without needing the user to sign a new UN.
However, this can also be a security risk in some contexts.
This task is about allowing an optional extra parameter to be used in the cryptographic process of constructing a UN, which can be used to link the UN to a specific context, which can also locally be verified by a verifier.
The text was updated successfully, but these errors were encountered: