How ryt0n18/keybio works
KeyBio is a local keystroke-biometrics desktop application. Its main workflow captures typing samples, extracts text-independent features, compares them with enrolled profiles, and presents an identity or verification result; users can also enroll profiles, review activity, and configure access checks. The graph preserves documented reporting, adaptation, liveness, evaluation, localization, and update capabilities. Some page implementations were not excerpted, so their internal calls are omitted where the index does not establish them.
Main entry points: service.py Biometric service · identify.py Identify and verify · settings.py Settings view · users.py User profiles view
Components 25
Desktop interaction
- App shell
ksb/gui/app.py - Typing capture UI
ksb/gui/typing_widget.py - Enrollment
ksb/gui/pages/enroll.py - Identify and verify
ksb/gui/pages/identify.py - Access checks
ksb/gui/access.py
Biometric pipeline
- Keystroke recorder
ksb/capture.py - Feature extraction
ksb/features.py - Liveness checks
ksb/liveness.py - Profile matcher
ksb/matcher.py
Profiles and records
- Biometric service
ksb/service.py - Local profile store
ksb/storage.py - Data encryption
ksb/crypto.py
Review and insights
- History view
ksb/gui/pages/history.py - User profiles view
ksb/gui/pages/users.py - Dashboard
ksb/gui/pages/dashboard.py - System evaluation
ksb/evaluation.py - PDF reports
ksb/gui/report.py
Settings and platform
- Settings view
ksb/gui/pages/settings.py - Localization
ksb/i18n.py - Typing texts
ksb/texts.py - On-screen keyboard
ksb/gui/keyboard.py - Update client
ksb/gui/updater.py - Update service
ksb/updates.py
Other components
- User
- Update servers
Connections 38
- User → Typing capture UI: types sample
- App shell → Access checks: routes access
ksb/gui/app.py - App shell → Biometric service: creates service
ksb/gui/app.py - Typing capture UI → Keystroke recorder: records keys
ksb/gui/typing_widget.py - Enrollment → Biometric service: enrolls samples
- Identify and verify → Keystroke recorder: captures sample
ksb/gui/pages/identify.py - Identify and verify → Feature extraction: extracts features
ksb/gui/pages/identify.py - Identify and verify → Liveness checks: checks spoofing
ksb/gui/pages/identify.py - Identify and verify → Profile matcher: compares profiles
ksb/gui/pages/identify.py - Identify and verify → Biometric service: requests operations
ksb/gui/pages/identify.py - Access checks → Biometric service: verifies identity
ksb/gui/access.py - Keystroke recorder → Feature extraction: provides sample
ksb/features.py - Biometric service → Keystroke recorder: validates samples
ksb/service.py - Biometric service → Feature extraction: extracts features
ksb/service.py - Biometric service → Profile matcher: identifies users
ksb/service.py - Biometric service → Liveness checks: checks samples
ksb/service.py - Biometric service → Local profile store: reads and writes
ksb/service.py - Local profile store → Data encryption: encrypts data
ksb/storage.py - User → Enrollment: registers profile
- User → Identify and verify: requests recognition
- User → History view: reviews checks
- User → User profiles view: manages profiles
- User profiles view → Biometric service: loads profile data
ksb/gui/pages/users.py - User profiles view → Local profile store: imports and exports
ksb/gui/pages/users.py - User profiles view → PDF reports: requests report
ksb/gui/pages/users.py - Dashboard → Biometric service: loads activity
ksb/gui/pages/dashboard.py - Dashboard → System evaluation: evaluates system
ksb/gui/pages/dashboard.py - Identify and verify → PDF reports: generates report
ksb/gui/pages/identify.py - User → Settings view: configures app
- Settings view → Biometric service: updates preferences
ksb/gui/pages/settings.py - Settings view → Data encryption: protects data
ksb/gui/pages/settings.py - Settings view → Update client: checks updates
ksb/gui/pages/settings.py - Update client → Update service: requests update
ksb/gui/updater.py - Update service → Update servers: fetches release
- App shell → Localization: sets language
ksb/gui/app.py - Settings view → On-screen keyboard: selects layout
ksb/gui/pages/settings.py - Typing capture UI → On-screen keyboard: shows key guide
ksb/gui/typing_widget.py - Enrollment → Typing texts: chooses prompts