Closed realpaaao closed 3 months ago
@johnnyluo Should I use aes to encrypt vault? (same as https://github.com/vultisig/vultisigner/pull/17/files) or is it just a ui and I should not implement a logic behind it?
@realpaaao Do we need to have the same ui for vault import to decrypt the vault before doing import?
@aminsato yes use aes for encyption, so we are congruent with vultisigner and iOS and implement logic so user can encrypt and decrypt vault shares after merging this PR.
No we don't need same UI for decryption as we use the import UI screen and just prompt the password input, here is iOS for comparison:
Also please consider that when user inputs wrong password that they do not need to load the file into vultisig again and just ask for re entering the password.
To improve security of backups let the user set a password to encrypt his vault share and let him verify the set password and add the possibility to review the password before encrypting. See figma for design: