How avichaykagan/passwordsvault works
This is an interactive password-vault application. Its main workflow starts in the terminal, parses commands, and uses the shell to authenticate and perform vault operations; the vault encrypts its dictionary and persists it through the disk manager. The graph also includes password import, secure terminal I/O, and shared configuration. The README is empty, so capabilities are inferred from the sampled interfaces and source. Unsampled disk and shell behavior is represented only where the source index or excerpts support a relationship.
Main entry points: vault.cpp Vault lifecycle and operations · shell.cpp Command shell · crypt.cpp Cryptographic primitives · disk.cpp Vault file manager
Components 12
Terminal interaction
- Application entry
src/main.cpp - Command shell
src/shell.cpp - Command parser
src/parser.cpp - Secure terminal I/O
include/safe_io.hpp
Vault operations
- Vault lifecycle and operations
src/vault.cpp - Password dictionary
src/dict.cpp
Secure data
- Cryptographic primitives
src/crypt.cpp - Secure variables
include/crypt.hpp - Vault configuration
include/configs.hpp
Persistence
- Import batch reader
src/disk.cpp - Vault file manager
src/disk.cpp
Other components
- Vault user
Connections 15
- Vault user → Secure terminal I/O: enters input
- Application entry → Cryptographic primitives: initializes
src/main.cpp - Application entry → Command shell: starts
src/main.cpp - Command shell → Secure terminal I/O: reads and displays
src/shell.cpp - Command shell → Command parser: parses commands
src/shell.cpp - Command parser → Command shell: reads command metadata
src/parser.cpp - Command shell → Vault lifecycle and operations: dispatches operations
src/shell.cpp - Vault lifecycle and operations → Cryptographic primitives: hashes and encrypts
src/vault.cpp - Vault lifecycle and operations → Password dictionary: updates and packs
src/vault.cpp - Vault lifecycle and operations → Vault file manager: reads and writes
src/vault.cpp - Vault lifecycle and operations → Import batch reader: loads import batch
src/vault.cpp - Import batch reader → Vault file manager: reads vault file
src/disk.cpp - Cryptographic primitives → Secure variables: implements operations
src/crypt.cpp - Vault lifecycle and operations → Vault configuration: uses limits and errors
- Vault file manager → Vault configuration: uses vault paths