Keeping passwords off the drag pasteboard, and wiping them from memory
Dragging a file out of an encrypted archive needs the password at drop time. How Purrchiver keeps it off the pasteboard, and what it can't wipe.
Dragging a file out of an encrypted archive needs the password at drop time. How Purrchiver keeps it off the pasteboard, and what it can't wipe.
Purrchiver opens disk images like archives — no mounting — and recognizes Java archives and static libraries for what they are.
The strongest model is great at judgment but bad at following a plan. Let it plan and audit, and hand the implementation to a narrower model.
libarchive rejects every password-protected 7z. How I patched AES-256 and 7z's key derivation into it, plus the guards a hostile archive needs.
How Purrchiver encrypts formats that have no encryption of their own using age, and opens MacPaw Encrypto .crypto files.
Three settings showed in the UI, saved, and never reached the engine. How it happened with an AI agent writing the code, and the tests that guard it.
libarchive's lz4 gets 17× slower at level 3 for 0.3% smaller output, and a hand-built ZIP directory wraps its entry count at 65,536, silently.
Creating a 7z on a Mac was 8× slower than 7-Zip until it wasn't. How Purrchiver made xz, 7z, and ZIP compression multithreaded.
Brotli files over 64 KiB failed with "stream processing failed". The cause: a Swift pointer outliving its closure, found by a cross-tool test suite.
SwiftUI drag-out renamed .gitignore to _gitignore. NSFilePromiseProvider fixed the names, then came a Swift 6 crash and two deadlocks.