Generate recovery code
anikarni opened this issue · comments
Anike Arni commented
When the user submits the back-up email, it should call recovery code creation. This story is to generate the new code that will be sent to Bonafide. However, after this story is done, we still won't have the recovery code accessible to us or have access to the secret. The next stories will take care of that.
Acceptance Criteria
When I submit my back-up email, a new recovery code should be generated for me in Soledad client and sent to Bonafide.
In Scope
- Generate new recovery code (Soledad client) [requires PR]
- Send it to the Bonafide.update_recovery_code call [already implemented]
Out of Scope
- Persisting it in Bonafide (already implemented)
- Sending the recovery code to the user.
- Encrypting Soledad secret.
Depends on
Anike Arni commented