How keepassxreboot/keepassxc works
KeePassXC is a cross-platform password manager centered on opening and managing encrypted KDBX databases. In the desktop workflow, the user launches the application, opens a database, works with its entries and groups, and saves changes; the database implementation coordinates KDBX reading and writing. Separate user-facing branches provide CLI operations, browser credential and passkey integration, auto-type, imports/exports, and security tools. Some subsystem links are documented capabilities rather than inspected call paths; those are marked with README evidence.
Main entry points: Database.cpp Database · main.cpp Application entry · BrowserService.cpp Browser service · AutoType.cpp Auto-Type
Components 25
Desktop application
- Application entry
src/main.cpp - Application runtime
src/gui/Application.cpp - Main window
src/gui/MainWindow.h - Database UI
src/gui/DatabaseWidget.cpp
Vault and formats
- Database
src/core/Database.cpp - Entries and groups
src/core/Group.h - KDBX formats
src/format/KeePass2.h
Credential integrations
- Browser service
src/browser/BrowserService.cpp - Passkey support
src/browser/BrowserPasskeys.h - Auto-Type
src/autotype/AutoType.cpp - OS input backend
src/autotype/AutoTypePlatform.h - SSH Agent
src/sshagent/SSHAgent.cpp - KeeShare
src/keeshare/KeeShare.cpp - Remote storage
src/gui/remote/RemoteHandler.cpp - Secret Service
src/keeshare/KeeShare.cpp
Utilities and exchange
- Command line
src/cli/keepassxc-cli.cpp - Database reports
src/gui/reports/ReportsDialog.cpp - Import and export
src/format/CsvParser.cpp
Security services
- Encryption and KDF
src/crypto/Crypto.cpp - Composite keys
src/keys/CompositeKey.cpp - Password generator
src/core/PassphraseGenerator.cpp - TOTP
src/core/Totp.cpp - HIBP checks
src/networking/HibpDownloader.cpp
Other components
- User
- Browser extension
Connections 27
- User → Application entry: launches
README.md - Application entry → Application runtime: starts
src/main.cpp - Application entry → Main window: creates
src/main.cpp - Main window → Database UI: uses
src/gui/MainWindow.h - Database UI → Database: manages
- Database → KDBX formats: reads and writes
src/core/Database.cpp - Database → Entries and groups: stores
src/core/Database.cpp - Database → Encryption and KDF: encrypts
- Database → Composite keys: authenticates with
- User → Command line: runs commands
README.md - Command line → Database: operates on
- Browser extension → Browser service: requests credentials
README.md - Browser service → Database: retrieves credentials
- Browser service → Passkey support: handles passkeys
src/browser/BrowserService.cpp - User → Auto-Type: starts typing
README.md - Auto-Type → OS input backend: dispatches input
src/autotype/AutoType.cpp - Auto-Type → Entries and groups: uses credentials
- Database → Database reports: provides report data
README.md - User → Password generator: generates passwords
README.md - Entries and groups → TOTP: stores TOTP data
README.md - User → Import and export: imports or exports
README.md - Import and export → Database: transfers records
- Database → SSH Agent: offers SSH keys
README.md - Database → KeeShare: shares groups
README.md - Database → Remote storage: uses remote locations
README.md - Database → Secret Service: exposes credentials
README.md - Database reports → HIBP checks: checks breaches
README.md