QtPass 1.4.0
Multi-platform GUI for pass, the standard unix password manager.
|
Wrapper for executing pass to handle the password-store. More...
#include <realpass.h>
Public Member Functions | |
RealPass () | |
virtual | ~RealPass () |
virtual void | GitInit () Q_DECL_OVERRIDE |
RealPass::GitInit pass git init wrapper. | |
virtual void | GitPull () Q_DECL_OVERRIDE |
RealPass::GitPull pass git pull wrapper. | |
virtual void | GitPull_b () Q_DECL_OVERRIDE |
RealPass::GitInit pass git pull wrapper which blocks until process finishes. | |
virtual void | GitPush () Q_DECL_OVERRIDE |
RealPass::GitPush pass git push wrapper. | |
virtual void | Show (QString file) Q_DECL_OVERRIDE |
RealPass::Show pass show. | |
virtual void | OtpGenerate (QString file) Q_DECL_OVERRIDE |
RealPass::OtpGenerate pass otp. | |
virtual void | Insert (QString file, QString newValue, bool overwrite=false) Q_DECL_OVERRIDE |
RealPass::Insert pass insert. | |
virtual void | Remove (QString file, bool isDir=false) Q_DECL_OVERRIDE |
RealPass::Remove pass remove wrapper. | |
virtual void | Init (QString path, const QList< UserInfo > &users) Q_DECL_OVERRIDE |
RealPass::Init initialize pass repository. | |
void | Move (const QString src, const QString dest, const bool force=false) Q_DECL_OVERRIDE |
RealPass::Move move a file (or folder) | |
void | Copy (const QString src, const QString dest, const bool force=false) Q_DECL_OVERRIDE |
RealPass::Copy copy a file (or folder) | |
Public Member Functions inherited from Pass | |
Pass () | |
Pass::Pass wrapper for using either pass or the pass imitation. | |
void | init () |
virtual | ~Pass () |
virtual void | GitInit ()=0 |
virtual void | GitPull ()=0 |
virtual void | GitPull_b ()=0 |
virtual void | GitPush ()=0 |
virtual void | Show (QString file)=0 |
virtual void | OtpGenerate (QString file)=0 |
virtual void | Insert (QString file, QString value, bool force)=0 |
virtual void | Remove (QString file, bool isDir)=0 |
virtual void | Move (const QString srcDir, const QString dest, const bool force=false)=0 |
virtual void | Copy (const QString srcDir, const QString dest, const bool force=false)=0 |
virtual void | Init (QString path, const QList< UserInfo > &users)=0 |
virtual QString | Generate_b (unsigned int length, const QString &charset) |
Pass::Generate use either pwgen or internal password generator. | |
void | GenerateGPGKeys (QString batch) |
Pass::GenerateGPGKeys internal gpg keypair generator . . | |
QList< UserInfo > | listKeys (QStringList keystrings, bool secret=false) |
Pass::listKeys list users. | |
QList< UserInfo > | listKeys (QString keystring="", bool secret=false) |
Pass::listKeys list users. | |
void | updateEnv () |
Pass::updateEnv update the execution environment (used when switching profiles) | |
Additional Inherited Members | |
Signals inherited from Pass | |
void | error (QProcess::ProcessError) |
void | startingExecuteWrapper () |
void | statusMsg (QString, int) |
void | critical (QString, QString) |
void | processErrorExit (int exitCode, const QString &err) |
void | finishedAny (const QString &, const QString &) |
void | finishedGitInit (const QString &, const QString &) |
void | finishedGitPull (const QString &, const QString &) |
void | finishedGitPush (const QString &, const QString &) |
void | finishedShow (const QString &) |
void | finishedOtpGenerate (const QString &) |
void | finishedInsert (const QString &, const QString &) |
void | finishedRemove (const QString &, const QString &) |
void | finishedInit (const QString &, const QString &) |
void | finishedMove (const QString &, const QString &) |
void | finishedCopy (const QString &, const QString &) |
void | finishedGenerate (const QString &, const QString &) |
void | finishedGenerateGPGKeys (const QString &, const QString &) |
Static Public Member Functions inherited from Pass | |
static QString | getGpgIdPath (QString for_file) |
Pass::getGpgIdPath return gpgid file path for some file (folder). | |
static QStringList | getRecipientList (QString for_file) |
Pass::getRecipientList return list of gpg-id's to encrypt for. | |
static QStringList | getRecipientString (QString for_file, QString separator=" ", int *count=NULL) |
Pass::getRecipientString formated string for use with GPG. | |
Protected Types inherited from Pass | |
typedef Enums::PROCESS | PROCESS |
Protected Slots inherited from Pass | |
virtual void | finished (int id, int exitCode, const QString &out, const QString &err) |
Pass::processFinished reemits specific signal based on what process has finished. | |
Protected Member Functions inherited from Pass | |
void | executeWrapper (PROCESS id, const QString &app, const QStringList &args, bool readStdout=true, bool readStderr=true) |
QString | generateRandomPassword (const QString &charset, unsigned int length) |
quint32 | boundedRandom (quint32 bound) |
virtual void | executeWrapper (PROCESS id, const QString &app, const QStringList &args, QString input, bool readStdout=true, bool readStderr=true) |
Protected Attributes inherited from Pass | |
Executor | exec |
Wrapper for executing pass to handle the password-store.
Definition at line 10 of file realpass.h.
|
default |
|
inlinevirtual |
Definition at line 17 of file realpass.h.
|
virtual |
RealPass::Copy copy a file (or folder)
src | source file or folder |
dest | destination file or folder |
force | overwrite |
Implements Pass.
Definition at line 143 of file realpass.cpp.
|
virtual |
RealPass::GitInit pass git init wrapper.
Implements Pass.
Definition at line 17 of file realpass.cpp.
|
virtual |
RealPass::GitPull pass git pull wrapper.
Implements Pass.
Definition at line 30 of file realpass.cpp.
|
virtual |
RealPass::GitInit pass git pull wrapper which blocks until process finishes.
Implements Pass.
Definition at line 23 of file realpass.cpp.
|
virtual |
RealPass::GitPush pass git push wrapper.
Implements Pass.
Definition at line 35 of file realpass.cpp.
|
virtual |
RealPass::Init initialize pass repository.
path | Absolute path to new password-store |
users | list of users with ability to decrypt new password-store |
Implements Pass.
Definition at line 82 of file realpass.cpp.
|
virtual |
|
virtual |
RealPass::Move move a file (or folder)
src | source file or folder |
dest | destination file or folder |
force | overwrite |
Implements Pass.
Definition at line 102 of file realpass.cpp.
|
virtual |
RealPass::OtpGenerate pass otp.
file | file containig OTP uri |
Implements Pass.
Definition at line 54 of file realpass.cpp.
|
virtual |
|
virtual |
RealPass::Show pass show.
file | file to decrypt |
Implements Pass.
Definition at line 46 of file realpass.cpp.