|
QtPass 2.0.0
Developer documentation
|
| NEnums | Enumerators for QtPass configuration and runtime operations |
| CProcessInfo | What QtPass knows about one kind of subprocess: what to call it and whether its output may carry a secret |
| CAppSettings | Plain value-object holding all flat QtPass configuration |
| CBase32 | RFC 4648 base32 codec, used for TOTP shared secrets |
| CClipboardManager | Puts secrets on the system clipboard and takes them off again |
| CConfigDialog | The ConfigDialog handles the configuration interface |
| CProfileEntry | One row of the profile list while the dialog is open. A QList rather than the Profiles map so a profile can pass through an empty or duplicate name while it is being typed; getProfiles() builds the map |
| CProfileProblems | What is wrong with one profile's fields; empty strings where nothing is |
| CSigningStores | |
| CDeselectableTreeView | A QTreeView that clears its selection, and emits emptyClicked(), when the user clicks empty space or an already-selected item |
| CDoneWizardPage | Last page: a summary of what Finish will do and the two preferences worth asking on day one |
| CEntryRecord | Remembers, outside the store, which entry paths this device has saved, so an entry that appeared under a new path is told apart |
| CExecutor | Runs non-interactive external commands in FIFO order using a single QProcess |
| CExecQueueItem | Execution queue item for non-interactive ordered execution |
| CCappedOutput | A stream of bytes held as its first and last kMaxStderrBytes / 2 bytes, with its gpg status records counted whole |
| CWslCommand | A configured executable that runs a Linux program through WSL |
| CExportPublicKeyDialog | Dialog showing an ASCII-armored public GPG key for sharing |
| CFieldLabel | The name of a key: value field in PasswordDialog, editable in place: double-click or the context menu renames it, the context menu can also remove the field (#132) |
| CFileContent | Represents the parsed contents of a password file |
| CFirstRunWizard | The first start of QtPass: find GnuPG (and pass and Git), make sure there is a secret key, pick or create the password store. Replaces the chain of message boxes ConfigDialog::wizard() used to run before showing the whole configuration dialog |
| CGpgIdGeneration | Rollback detection for signed .gpg-id files |
| CHeader | What a list's header says |
| CGpgIdSigner | The detached signature on a store's .gpg-id: whether the configured signing key is usable, signing the file, and checking that an existing .gpg-id.sig was made by one of the configured keys |
| CGrepSearchController | State machine for MainWindow's content-search (grep) mode |
| CFinishOutcome | Outcome of a search-completion transition |
| CImitatePass | Implementation that imitates 'pass' when the real tool is unavailable |
| CTransactionHelper | RAII helper for wrapping operations in transactions |
| CPendingMove | A move whose re-encryption is decided once it has run |
| CPendingInsert | |
| CUncommittedGpgId | A .gpg-id Init() wrote but could not commit |
| CWrittenGpgId | The .gpg-id Init() wrote for the run it starts: the recipients the user ticked, as written |
| CPreviousList | The list a folder had before Init() replaced it, for the run it starts. It tells whom the change added (who then gains every entry, as adding someone means) and whom it removed (who may still read an entry left alone). An entry is not compared with it: the worker asks before an entry gains anyone on the new list other than those added |
| CAgreed | What the user was shown for an entry: its bytes and its folder's keys |
| CReencryptResult | Outcome of one reencryptPath() run; filled on the worker thread and consumed by finishReencrypt() on the owning thread |
| CListKeys | |
| CWhoReads | |
| CReaderChange | How re-encrypting one entry changes who can read it |
| CImportKeyDialog | Dialog for importing GPG keys from file or clipboard |
| CBlockKeys | How many keys an armored block holds, by kind |
| CKeygenDialog | Handles GPG keypair generation |
| CKeyWizardPage | The secret keys gpg knows; a new pair can be generated here. The enabled ones become the recipients of a store that still has to be initialised |
| CMainWindow | Main application window orchestrating UI, user interactions, and external process handlers |
| CMenuBarPeek | Shows a hidden menu bar while Alt is used, as browsers and file managers do |
| CNamedValue | A name/value pair parsed from a password file field |
| CNamedValues | Mostly a list of NamedValue but also has a method to take a specific NamedValue pair out of the list |
| CNativeGrep | Full-text search over a password store without pass grep: every .gpg file is decrypted with gpg on a worker thread and its lines matched against a QRegularExpression. Only the newest search may report; a search started while another runs asks that one to stop and supersedes it |
| CWorker | |
| COtpCodeWidget | Live one-time password display: code, copy button and countdown |
| CPass | Abstract base class for password store operations |
| CSkippedWalk | What skippedGpgId() found on its way up from one folder |
| CEditReaders | What saving over an existing entry would change about who reads it (readersAnEditWouldAdd()) |
| CRecipientsForEditing | What a dialog may do with the list of a folder (recipientsForEditing()) |
| CExpectedList | What initIfUnchanged() expects the list to read as, for refuseChangedList(); empty outside it |
| CPassBackendFactory | Owns the Pass backend lifecycle (RealPass vs ImitatePass) |
| CPasswordConfiguration | Holds the password generator settings: which character set is selected, the alphabet of every set, and the password length |
| CPasswordDialog | Dialog for creating a password entry or editing an existing one |
| CPasswordDisplayPanel | Renders decrypted password-file fields into MainWindow's grid |
| CPathValidator | Password-store path-boundary checks |
| CProcessOutputPanel | The dockable "Process output" console: numbered, colour-coded lines of git/pass/gpg output with a line cap and sticky auto-scroll |
| CProfile | One named password store: where it is, how its .gpg-id is signed and, optionally, its own Git switches |
| CProfileInit | Turn a directory into a password store without going through the Pass backend of the currently active store |
| CProgramsWizardPage | Where gpg, pass and git are; gpg is required, the rest optional. A stored path that no longer runs is replaced by what PATH has |
| CQProgressIndicator | Indeterminate progress indicator: twelve fading capsules that turn while the application is busy |
| CQPushButtonAsQRCode | QPushButton that presents a text payload as a QR code action |
| CQPushButtonShowPassword | QPushButton that toggles visibility of an associated QLineEdit |
| CQPushButtonWithClipboard | QPushButton that stores a text payload and emits it when activated |
| CQtPass | Application-level glue between the pass backends and whatever shows their results: turns the backends' completion signals into UI-neutral signals (formatted output, status messages, "the operation is over"), owns the ClipboardManager, migrates the settings of older versions on start-up and renders QR codes. It knows nothing about the main window; the window connects to the signals below |
| CQtPassSettings | Singleton that stores QtPass settings, handles persistence and defaults |
| CRealPass | Implementation of Pass that wraps the 'pass' command-line tool |
| CLinkCommit | |
| CPassMoveTarget | What pass mv/pass cp is handed and what it then does with it |
| CInsertRecord | |
| CResolvedGpgconfCommand | Represents a command invocation for gpgconf operations |
| CRnpCrypto | OpenPGP encryption and decryption in-process, through RNP |
| CKeyInfo | One primary key in the keyring, as the Users dialog lists keys |
| CSecretLineEdit | A QLineEdit for a password that can be shown: whatever is copied out of it is marked as a secret and reported for autoclear |
| CSecretPlainTextEdit | A QPlainTextEdit for decrypted entry text being edited: whatever is copied or cut out of it is marked as a secret and reported for autoclear |
| CSecretTextBrowser | A QTextBrowser for decrypted entry text: whatever is copied out of it is marked as a secret and reported for autoclear |
| CSettingsConstants | The names of the keys in the settings file, one constant per key |
| CSettingsSerializer | Maps AppSettings to and from a QSettings store |
| CSimpleTransaction | Tracks a sequence of processes that should be treated as one atomic operation |
| CSingleApplication | QApplication subclass enforcing single-instance behavior via IPC. Detects whether another instance with the same unique key is running and enables forwarding messages (e.g., command-line arguments) to it |
| CSshAuthSock | SSH_AUTH_SOCK discovery and validation for child processes |
| CStoreDragItem | What a drag from the store tree carries: the kind of the dragged item and its path |
| CStoreModel | QSortFilterProxyModel for filtering and displaying password store |
| CStoreTree | The password store as shown in the tree: the QFileSystemModel, the StoreModel proxy on top of it and the QTreeView they drive, with the path questions the main window keeps asking |
| CStoreWizardPage | The folder the passwords live in: an existing store is used as-is, a folder without .gpg-id (or no folder) is initialised on Finish. The Git box lives here because its sensible default depends on the folder: on for a repository or a store still to be created, off for an existing store that is no repository |
| CTemplateIO | Read and write password-store template configuration |
| CTotp | RFC 6238 time-based one-time password generation |
| CSettings | Validated TOTP parameters. Only Totp::parse() produces one |
| CTrayIcon | Handles the system tray icon and menu |
| CUserInfo | Stores GPG key info including validity, creation date, and more |
| CUsersDialog | Dialog for selecting GPG recipients for password encryption |
| CUtil | Static helpers that have no better home: setting up the process and the Git environment the way pass does, finding binaries and the default store, path and URL handling, and file operations that refuse to follow links |