SafeDrive
A lightweight desktop app to securely open, browse, and extract files from TrueCrypt and VeraCrypt encrypted volumes β no TrueCrypt installation required. Built with Tauri and Rust.
Your Encrypted Volumes. No Extra Software Required.
If you have old TrueCrypt volumes β or use VeraCrypt today β you know the friction: you need the right software installed, the right drivers loaded, and ideally the right OS. SafeDrive removes all of that. Point it at any .tc or .hc file, type your password, and your files are immediately accessible.
No TrueCrypt. No VeraCrypt. No drivers. SafeDrive implements the TrueCrypt volume format entirely from scratch in Rust, meaning the entire decryption pipeline runs in-process with zero external dependencies.
π Open & Decrypt Existing Volumes
SafeDrive reads TrueCrypt and VeraCrypt-compatible encrypted volumes (.tc and .hc files) with full support for:
- All standard TrueCrypt ciphers β AES-256, Serpent-256, and Twofish-256, including cascade combinations
- All key-derivation PRFs β HMAC-RIPEMD-160, HMAC-SHA-512, HMAC-Whirlpool, and HMAC-SHA-1, auto-detected from the volume header
- Hidden volumes β detected and handled automatically
No algorithm selection needed. SafeDrive tries every supported combination until the header decrypts successfully and the built-in CRC checksum passes.
π File Browser
Once a volume is decrypted, SafeDrive parses the filesystem (FAT32, exFAT, or NTFS) entirely in Rust and gives you a full file browser:
- Browse the complete directory tree inside the volume
- See file names, sizes, and folder structure at a glance
- Preview images (JPEG, PNG, etc.) directly inside the app β no extraction required
π€ File Extraction
- Extract all files from a volume to a folder of your choice in one click
- Extract selected files β pick individual files or folders to extract
- Real-time progress bar during extraction
πΎ Virtual Drive Mounting (Windows)
On Windows, SafeDrive can write the decrypted volume to a temporary VHD and mount it as a real drive letter via the Windows Virtual Disk API:
- Mount the volume β any application on your system gets transparent read/write access
- Unmount the volume when done β changes are automatically saved back into the encrypted container
- Live progress indicator and stage feedback during the mount process
π Auto-Lock Screen
SafeDrive takes shoulder-surfing seriously. The app automatically covers the volume contents whenever its window loses focus. A separate lock-screen overlay requires re-authentication before any content is revealed again.
Passwords are never written to disk. All decryption happens in memory.
β‘ Convenience Features
- Drag & drop a volume file anywhere onto the app to open it instantly
- Recent drives list remembers the last 10 volumes you opened (paths only β passwords are never stored)
- Auto-updater notifies you when a new version of SafeDrive is available
ποΈ Tech Stack
| Layer | Technology |
|---|---|
| UI | React 18, TypeScript, Tailwind CSS, shadcn/ui |
| Desktop shell | Tauri v2 (Rust) |
| Crypto (cipher) | AES-256, Serpent-256, Twofish-256 via pure-Rust crates |
| Crypto (KDF) | PBKDF2 with HMAC-RIPEMD-160 / SHA-512 / Whirlpool / SHA-1 |
| File system parsing | Custom FAT/NTFS reader in Rust |
| Virtual disk (Windows) | Windows VHD APIs via Rust FFI |
π Get Started
Download
SafeDrive is available for Windows, macOS, and Linux.
Download the latest release β
Build from Source
git clone https://github.com/cottonstartiet/SafeDrive.git
cd SafeDrive
npm install
npm run tauri dev
π€ Open Source & MIT Licensed
SafeDrive is released under the MIT license. Use it, fork it, extend it, contribute to it β PRs are welcome.
Whatβs Coming Next
- Create Drive β create a brand-new encrypted TrueCrypt-compatible volume from scratch
- Write support without mounting β modify files inside a volume directly from the file browser
- macOS Disk Image mounting β native mount support on macOS
Have an idea? Open an issue on GitHub β weβd love to hear from you.