Skip to content

feat: default wallet to encrypted#135

Merged
ChrisSon15 merged 3 commits intobisq-network:mainfrom
sdmg15:feat/encryption-granularity
Mar 25, 2026
Merged

feat: default wallet to encrypted#135
ChrisSon15 merged 3 commits intobisq-network:mainfrom
sdmg15:feat/encryption-granularity

Conversation

@sdmg15
Copy link
Copy Markdown
Contributor

@sdmg15 sdmg15 commented Mar 19, 2026

The decryption is done on the active connection which holds the decryption key in memory.
Without setting the right pragma value when connected to the database, an attacker will not be able to access the database.

Even when the active connection has decrypted the file, on file system the database is still encrypted and can't be accessed. The decryption is done only to the active connection

Comment thread wallet/src/bmp_wallet.rs Outdated
@sdmg15 sdmg15 changed the title feat: allow convenient decrypt function feat: default wallet to encrypted Mar 24, 2026
@sdmg15 sdmg15 requested a review from ChrisSon15 March 24, 2026 14:14
Comment thread wallet/src/bmp_wallet.rs Outdated
@sdmg15 sdmg15 force-pushed the feat/encryption-granularity branch from 2bef46f to e98858c Compare March 24, 2026 15:38
@sdmg15 sdmg15 force-pushed the feat/encryption-granularity branch from e98858c to d576a3d Compare March 24, 2026 15:39
@ChrisSon15 ChrisSon15 merged commit 41fab0d into bisq-network:main Mar 25, 2026
3 checks passed
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.

2 participants