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

Add create_recovery_token method #157

Open
skeet70 opened this issue May 27, 2020 · 2 comments
Open

Add create_recovery_token method #157

skeet70 opened this issue May 27, 2020 · 2 comments

Comments

@skeet70
Copy link
Member

skeet70 commented May 27, 2020

Add a convenience function that performs most of the worked laid out in the "Password Recovery Tokens" section of the data control platform guide. This function should take a password, generate a key, encrypt it, and return the key as a recovery token for display to an end user and the encrypted password (with iv on the front) for storage by the caller.

@skeet70
Copy link
Member Author

skeet70 commented May 27, 2020

See this for some more discussion if possible.

@ernieturner
Copy link
Contributor

Needs more design of the best way to implement this, maybe we encrypt their private keys instead of encrypting their password.

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