bsimic0001 / AegisWallet

Aegis. The Secure Bitcoin Wallet
13 stars 10 forks source link

Add Import Backup functionality to the wallet #8

Closed bsimic0001 closed 10 years ago

bsimic0001 commented 10 years ago

This issue is to import the backup generated by this wallet.

The app should prompt the user to select a file from the device.

If the file is valid, we will parse it and import either the encrypted or unencrypted keys. This process should not import keys that are already in the wallet (obviously).

If the wallet is encrypted AND the backup is encrypted, we do a straight import of the encrypted values.

If the wallet is encrypted AND the backup is NOT, we prompt the user to provide their password or decrypt with spec and then re-encrypt after import.

If the wallet is NOT encrypted and the backup IS encrypted, we ask the user for the password or we get it from Spec and then import.

If the wallet is NOT encrypted and the backup isn't either, we do a simple import.

If the file is not valid, give them an error message.

bsimic0001 commented 10 years ago

This i done.