Skip to content

sd: add delete/wipe to the SD card file picker - #447

Closed
mak777uh wants to merge 1 commit into
cryptoadvance:masterfrom
mak777uh:sd-card-delete-files
Closed

mak777uh wants to merge 1 commit into
cryptoadvance:masterfrom
mak777uh:sd-card-delete-files

Conversation

@mak777uh

Copy link
Copy Markdown

The SD host can only read files: psbt files and exported wallet descriptors can be removed only from a PC. This adds 'Delete a file' and 'Delete ALL files' to the picker, a best-effort secure delete, and keeps the picker open after a delete instead of dropping to the main menu. Adds tests with a fake GUI and a real filesystem.

@netlify

netlify Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for specter-diy-docs ready!

Name Link
🔨 Latest commit 42ab67e
🔍 Latest deploy log https://app.netlify.com/projects/specter-diy-docs/deploys/6ade755d29c2fc8fb07d6e27
😎 Deploy Preview https://deploy-preview-447--specter-diy-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

The SD host can only read: psbt files and exported wallet descriptors
(<Name>.json) can be removed only from a PC. This adds "Delete a file" and
"Delete ALL files" to the picker, a best-effort secure delete (os.urandom
overwrite + fsync + remove), and keeps the picker open after a delete
instead of dropping to the main menu.

Adds 11 tests with a fake GUI and a real filesystem, including a check that
the content is overwritten before os.remove.

Closes #359
@mak777uh
mak777uh force-pushed the sd-card-delete-files branch from e3d9938 to 42ab67e Compare October 25, 2026 21:32
@mak777uh

Copy link
Copy Markdown
Author

Evidence of related work, in case it helps with review: https://github.com/mak777uh/cases — one folder per direction of work, each with the claim, the evidence, how to reproduce it, a verdict of confirmed / not confirmed / could not tell, and the limits. The SD-card case is #101.

@mak777uh mak777uh closed this by deleting the head repository Nov 7, 2026
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