Repository
| Path | Contents |
|---|---|
android/core/ | Plain Kotlin, no Android dependency: bundle verification, the tightening classifier, the delay engine, the event log, the connection protocol, the USB accessory link. Tested without an SDK. |
android/app/src/main/ | The app: enforcement (Enforcer, AppGuard, TamperWatch), connecting (Links, LinkService, DebugWindow), storage (StateStore, Events, Prefs) and the screens (MainActivity and its sub-screens, SettingsActivity, ConfigActivity, built on QuitLockActivity; RescueActivity, the Recovery screen, apart from them; AccessoryActivity, which takes the USB accessory) |
android/app/src/debug/ | Dev builds only: instant removal and the developer tools |
android/app/src/release/ | Null stubs for the debug-only hooks (also used by tester builds) |
android/app/src/qa/ | Tester builds only: the override code (Building) |
android/app/src/noOverride/ | A null stub for the tester override, in dev and release builds |
android/app/src/instantRemoval/ | Removal without the delay, shared by dev and tester builds |
android/app/src/androidTest/ | Device-owner tests, run on an emulator |
android/testapps/ | Code-free apps the app-rules tests install |
desktop/ | The Rust workspace for computers, with one Cargo.lock and the dependency policy deny.toml |
desktop/core/ | quitlock-core, the library: bundles, keys, config, reaching the phone (adb, the USB accessory, the connection protocol), the setup checks. No terminal or window code |
desktop/cli/ | quitlock, the command line: main.rs and setup.rs, provision.rs, partner.rs the commands, ui.rs and prompt.rs the terminal, tui.rs the dashboard |
desktop/gui/ | quitlock-gui, the desktop app (egui): app.rs the window and its connection, one file per page (phone.rs, settings.rs, people.rs, approvals.rs, history.rs, setup.rs), jobs.rs and task.rs the work done over the connection and in the background, keymaker.rs making and restoring keys, dialogs.rs the key and file dialogs, theme.rs the colours, assets/ the icons |
protocol/vectors/ | Test vectors shared by both test suites (Test vectors) |
docs/ | This book: docs/src/ is its source, docs/book.toml its settings, docs/theme/ its stylesheet and icon |
SECURITY.md | How to report a vulnerability |
scripts/ | build.sh, check-invariants.sh, check-docs.sh, emulator-test.sh, verify-release.sh |
.github/workflows/ | ci.yml on pushes to main and dev and on pull requests; codeql.yml scans the code; release.yml on version tags; book.yml publishes this book |
The shared vectors matter: the Rust code creates bundles and the Kotlin code verifies them, so both must agree byte for byte. Every bundle type has valid and invalid vectors (bad signature, wrong device, stale sequence, expired, unknown key).