dashlane-cli icon indicating copy to clipboard operation
dashlane-cli copied to clipboard

feat: account recovery

Open quadristan opened this issue 1 year ago • 1 comments

This MR brings the functionality of using ARK to log in with the CLI, optionally recovering the MP with a recover-account command

It will allow users who have issue with their ARK to get more information.

User XP:

? Doing a recovery will delete all local data from this app. Continue? yes
? Do you want to see the masterpassword that will be unlocked by this recovery key? yes
✔ The local Dashlane local storage has been reset and you have been logged out.
? Please enter your email address: <SNIPPED>
info: Please open the following URL in your browser:  <SNIPPED>
? Please enter the code you received by email: <SNIPPED>
? Please enter your account recovery key: <SNIPPED>
info: Recovered masterpassword <SNIPPED>
✔ Account recovered! you can use the CLI to export its data.

quadristan avatar Jul 04 '24 16:07 quadristan

@quadristan Some purely functional comments first:

  • "you can use the CLI to export its data." you can't do this in the .DASH format via the CLI which would be less useful in this situation, it would be good to link a user support article about the recovery process if possible too
  • "Do you want to see the masterpassword that will be unlocked by this recovery key?" i feel like this question can be ask later once they have input everything else

Mikescops avatar Jul 09 '24 07:07 Mikescops