Skip to content

Reimplement backup files on Dart part#309

Draft
Sosthene00 wants to merge 7 commits intowallet_sqlitefrom
update_backup
Draft

Reimplement backup files on Dart part#309
Sosthene00 wants to merge 7 commits intowallet_sqlitefrom
update_backup

Conversation

@Sosthene00
Copy link
Copy Markdown
Collaborator

File backup is broken by #272, and after careful thinking I think it makes more sense to have it on the dart side of the code instead of rust.

This PR proposes a reimplementation of the existing backup system modified to adhere to the new sqlite database. It also added a proper key derivation from user password with a salt and pbkdf2. Note there's still no check on the user input, the constraints we want to impose are left to be discussed on another PR.

@Sosthene00 Sosthene00 force-pushed the wallet_sqlite branch 3 times, most recently from d147463 to a87a3f8 Compare March 19, 2026 05:54
@cygnet3 cygnet3 force-pushed the wallet_sqlite branch 2 times, most recently from 64a0ab1 to 6a769d5 Compare March 23, 2026 12:22
@Sosthene00 Sosthene00 force-pushed the wallet_sqlite branch 2 times, most recently from 8c1476b to fd1bfa3 Compare March 24, 2026 16:44
@Sosthene00
Copy link
Copy Markdown
Collaborator Author

Just to keep that in mind, this PR may be the opportunity to adhere to some standard, as proposed by the Liana team: https://github.com/pythcoiner/bips/blob/bip_wallet_backup/bip-wallet-backup.md

@Sosthene00 Sosthene00 force-pushed the wallet_sqlite branch 4 times, most recently from a1bf52d to ed4f586 Compare March 26, 2026 14:08
`Walletbackup`, `TransactionDataBackup`, `OwnedOutputBackup`, `IncomingTxBackup`, `OutgoingTxBackup`, `RecipientBackup`, `SettingsBackupData`
@cygnet3 cygnet3 force-pushed the wallet_sqlite branch 2 times, most recently from 669c815 to 4e9f112 Compare March 30, 2026 13:48
@cygnet3 cygnet3 marked this pull request as draft April 15, 2026 16:18
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

Successfully merging this pull request may close these issues.

1 participant