Skip to content

aka-0x4C3DD/dirLocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”’ dirLocker

"The only secure file is one that doesn't appear to exist."

Core CI Mobile CI Coverage Go Report Card SemVer Analysis License Go Version Rust Version

Windows Linux macOS Android


Getting Started β€’ Documentation β€’ Architecture β€’ Contributing


dirLocker is a state-of-the-art cryptographic vault engineered for plausible deniability and absolute content secrecy. By fusing a high-performance Rust cryptographic core with a flexible Go application layer and a Flutter mobile client, dirLocker delivers military-grade security that integrates seamlessly into your native workflow.

✨ The Vault Protocol

Feature Description
πŸ›‘οΈ Ironclad Security Powered by Rust, utilizing XChaCha20-Poly1305 & AES-256-GCM for high-speed, authenticated encryption.
πŸ‘» Plausible Deniability Create Hidden Volumes inside your vault. Reveal a decoy password under coercion, keeping your true data mathematically invisible.
⚑ Zero-Lag Mounting Mount vaults directly as drives using FUSE (Linux/macOS) and Dokany/WinFSP (Windows). Edit files in-place with native performance.
πŸ“± Mobile Ready Full-featured Android/iOS client built with Flutter. Manage your encrypted vaults on the go.
πŸŒ‘ Stealth Mode Features OS-level file obfuscation and anti-forensic techniques to prevent analysis.
πŸ‘† Biometric Unlock Unlock your vault instantly using Windows Hello, TouchID, or Linux Secret Service.

πŸ—οΈ System Architecture

dirLocker bridges the gap between high-level usability and low-level security through a hybrid architecture:

graph TD
    User([πŸ‘€ User]) -->|Interacts| GUI[πŸ–₯️ Desktop GUI]
    User -->|Commands| CLI[⌨️ CLI Tool]
    User -->|Taps| Mobile[πŸ“± Flutter Mobile]

    subgraph "Application Layer"
        GUI --> Controller
        CLI --> Controller
        Mobile --> FFI_Mobile[πŸ”— Mobile Bridge]
    end

    subgraph "Rust Vault Core"
        Controller <-->|CGO| Core[πŸ¦€ Core Logic]
        FFI_Mobile <-->|FFI| Core
        Core --> Crypto[πŸ”’ RustCrypto / ChaCha20]
        Core --> IO[πŸ’Ύ Disk I/O]
    end

    subgraph "OS Integration"
        Controller -->|Mount| FUSE[πŸ“‚ FUSE / Dokany]
    end
Loading

πŸš€ Quick Start

πŸ“¦ Installation

Download the latest pre-built binary for your OS from the Releases Page.

πŸ› οΈ Building from Source

Prerequisites: Go 1.24+ β€’ Rust 1.70+ β€’ Flutter 3.13+

πŸ–₯️ Desktop (Windows/Linux/macOS)
# Build the CLI and Desktop GUI
make build
πŸ“± Mobile (Android)
# Build the Mobile APK
cd clients/mobile
flutter pub get
flutter build apk --release

⚑ First Run

1. Initialize a Vault:

./bin/dirlocker-cli init --path ./my-secret-vault --size 1GB

2. Mount it:

./bin/dirlocker-cli mount --path ./my-secret-vault --mountpoint ./mnt

3. Done! Any files copied to ./mnt are now encrypted on the fly.


πŸ“š Documentation

We believe functionality without documentation is a vulnerability. Explore our comprehensive guides:


🀝 Contributing

We welcome security auditors and privacy advocates.

  1. Check docs/development.md for setup.
  2. Review our Feature Specifications.
  3. Submit a PR.

License β€’ Report Bug

Made with ❀️ and β˜• by kiro & anti-gravity

About

Stop Trusting, Start Verifying

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages