AppSettings, the value object holding every flat QtPass setting.
Implementation that imitates 'pass' when the real tool is unavailable.
ImitatePass()
Construct the backend and connect its content search.
static auto getPass() -> Pass *
Get the active backend, constructing and initialising it on first use after construction or invalidat...
static QScopedPointer< ImitatePass > imitatePass
The gpg and git backend, constructed on first use.
static Pass * pass
The backend getPass() last selected; null until the first call and again after invalidate()....
static auto getRealPass() -> RealPass *
Get the lazily-constructed RealPass backend.
static QScopedPointer< RealPass > realPass
The pass backend, constructed on first use.
static auto isIdle() -> bool
Whether neither backend runs or waits for anything: after a switch of backend the previous one is kep...
static auto getImitatePass() -> ImitatePass *
Get the lazily-constructed ImitatePass backend.
static void invalidate()
Forget the currently active backend.
Abstract base class for password store operations.
static auto load() -> AppSettings
Load all flat settings into an AppSettings value object.
Implementation of Pass that wraps the 'pass' command-line tool.
RealPass()
Construct a RealPass instance.
static auto mkpathForStore(const QString &path) -> bool
Create path and any missing parents as pass would.
Pass, the abstract password-store backend that RealPass and ImitatePass implement,...
PassBackendFactory, which constructs the two Pass backends on demand and hands out the one the settin...
QtPassSettings, the QSettings singleton behind every saved setting, the profiles and the Pass backend...
Plain value-object holding all flat QtPass configuration.
bool usePass
Use the pass CLI (true) or native git/gpg.
QString passStore
Password-store root path.
Util: static helpers for the process environment, binary discovery, store paths, URL safety and the l...