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

Support for a precomputed x #7

Closed
jinchung opened this issue Feb 8, 2018 · 0 comments
Closed

Support for a precomputed x #7

jinchung opened this issue Feb 8, 2018 · 0 comments

Comments

@jinchung
Copy link
Contributor

jinchung commented Feb 8, 2018

The current Client class and createSaltedVerificationKey function take in a username and password and will compute an x for you. In some cases, a user may want to provide their own x (for instance, if a user wants to generate an x using a 2-secret key derivation (2SKD) function which requires more than just a password to derive the x, or perhaps some other more involved algorithm for generating an x).

I'd like to submit a PR for additionally supporting a user-provided precomputed x, with all else remaining the same.

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

2 participants