fix(store): drop payments on /wipe; document non-forensic
All checks were successful
ci / test (pull_request) Successful in 3m1s

/wipe now deletes payments as well as chat, checkpoints WAL, and
enables sqlite secure_delete (flash still not crypto-shred).
This commit is contained in:
Sirius DevOps 2026-09-10 20:22:31 -04:00
commit 45c105de8a
No known key found for this signature in database
5 changed files with 70 additions and 12 deletions

View file

@ -318,8 +318,9 @@ pub fn parse_slash(raw: &str) -> Option<WipeKind> {
pub fn wipe_screen_text(kind: WipeKind) -> &'static str {
match kind {
WipeKind::Messages => {
"Wipe message log?\n\
"Wipe chat and payments history?\n\
Identity key and friends stay.\n\
Not a forensic erase.\n\
Type WIPE to confirm Esc to cancel"
}
WipeKind::All => {