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) |
android/app/src/debug/ | Dev builds only: instant removal and the developer tools |
android/app/src/release/ | Null stubs for the debug-only hooks |
android/app/src/androidTest/ | Device-owner tests, run on an emulator |
android/testapps/ | Code-free apps the app-rules tests install |
cli/ | The quitlock command-line tool (Rust). src/lib.rs holds the library parts (bundles, keys, config, the connection client, transports); src/main.rs and setup.rs, provision.rs, partner.rs, tui.rs the commands. |
protocol/vectors/ | Test vectors shared by both test suites (Test vectors) |
docs/ | This book: docs/src/ is its source, docs/book.toml its settings |
scripts/ | build.sh, check-invariants.sh, check-docs.sh, emulator-test.sh, verify-release.sh |
.github/workflows/ | ci.yml on every push; 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).