How jpearson135/eecs581p3 works
DigiWallet is a local desktop application combining a bank-card wallet, authenticator, password manager and password creator, with a master-password-protected vault and backup recovery. The user workflow is to launch, create or unlock the vault, then manage secrets through feature menus; data is encrypted before secure local storage. The graph includes the documented password feature despite limited source excerpts. Relationships are based on the README, shown declarations and calls, and SOURCE INDEX references; unsampled implementation details are not inferred.
Main entry points: Main.cpp Application startup · Keys.cpp Key manager · Wallet.cpp Card wallet · Ui.cpp FLTK interface
Components 15
Application flow
- Application startup
Main.cpp
Secret management
- Card wallet
Wallet.cpp - Authenticator
Totp.cpp - Password manager
Passwords.cpp - Password creator
Passwords.cpp
Vault security
- Vault lifecycle
Vault.cpp - Crypto service
Crypto.cpp - Key manager
Keys.cpp
Persistence and recovery
- Secure file store
Storage.cpp - Backup service
Backup.cpp
Desktop interface
- FLTK interface
Ui.cpp - Wallet menu
WalletMenu.cpp - Authenticator menu
AuthMenu.cpp - Password menu
PasswordMenu.cpp
Other components
- User
Connections 30
- User → Application startup: launches
README.md - Application startup → Secure file store: opens store
Main.cpp - Application startup → Key manager: creates manager
Main.cpp - Application startup → Card wallet: creates wallet
Main.cpp - Application startup → Password manager: creates manager
Main.cpp - Application startup → Authenticator: creates authenticator
Main.cpp - Application startup → Backup service: offers backup
Main.cpp - Application startup → Vault lifecycle: runs vault flow
README.md - Application startup → FLTK interface: starts interface
Main.cpp - Application startup → Wallet menu: configures menu
Main.cpp - Application startup → Authenticator menu: configures menu
Main.cpp - Application startup → Password menu: configures menu
Main.cpp - Wallet menu → Card wallet: delegates actions
- Authenticator menu → Authenticator: presents accounts
- Password menu → Password manager: manages entries
README.md - Password manager → Password creator: provides generation
- Card wallet → Key manager: encrypts data
- Card wallet → Secure file store: reads and writes
- Authenticator → Key manager: encrypts data
Totp.cpp - Key manager → Crypto service: derives and encrypts
- Key manager → Secure file store: loads metadata
- Backup service → Key manager: verifies bundle
- Backup service → Secure file store: backs up files
- FLTK interface → Card wallet: renders wallet
Ui.cpp - FLTK interface → Authenticator: renders codes
Ui.cpp - FLTK interface → Password manager: renders passwords
Ui.cpp - User → Wallet menu: manages cards
README.md - User → Authenticator menu: uses authenticator
README.md - User → Password menu: manages passwords
README.md - User → Backup service: recovers vault
README.md