|
QtPass 1.5.1
Multi-platform GUI for pass, the standard unix password manager.
|
Imitates pass features when pass is not enabled or available. More...
#include <imitatepass.h>
Inheritance diagram for ImitatePass:
Collaboration diagram for ImitatePass:Signals | |
| void | startReencryptPath () |
| void | endReencryptPath () |
Signals inherited from Pass | |
| void | error (QProcess::ProcessError) |
| void | startingExecuteWrapper () |
| void | statusMsg (const QString &, int) |
| void | critical (const QString &, const 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 &) |
Public Member Functions | |
| ImitatePass () | |
| ImitatePass::ImitatePass for situaions when pass is not available we imitate the behavior of pass https://www.passwordstore.org/. | |
| virtual | ~ImitatePass () |
| virtual void | GitInit () Q_DECL_OVERRIDE |
| ImitatePass::GitInit git init wrapper. | |
| virtual void | GitPull () Q_DECL_OVERRIDE |
| ImitatePass::GitPull git init wrapper. | |
| virtual void | GitPull_b () Q_DECL_OVERRIDE |
| ImitatePass::GitPull_b git pull wrapper. | |
| virtual void | GitPush () Q_DECL_OVERRIDE |
| ImitatePass::GitPush git init wrapper. | |
| virtual void | Show (QString file) Q_DECL_OVERRIDE |
| ImitatePass::Show shows content of file. | |
| virtual void | OtpGenerate (QString file) Q_DECL_OVERRIDE |
| ImitatePass::OtpGenerate generates an otp code. | |
| virtual void | Insert (QString file, QString newValue, bool overwrite=false) Q_DECL_OVERRIDE |
| ImitatePass::Insert create new file with encrypted content. | |
| virtual void | Remove (QString file, bool isDir=false) Q_DECL_OVERRIDE |
| ImitatePass::Remove custom implementation of "pass remove". | |
| virtual void | Init (QString path, const QList< UserInfo > &users) Q_DECL_OVERRIDE |
| ImitatePass::Init initialize pass repository. | |
| void | reencryptPath (const QString &dir) |
| ImitatePass::reencryptPath reencrypt all files under the chosen directory. | |
| void | Move (const QString src, const QString dest, const bool force=false) Q_DECL_OVERRIDE |
| void | Copy (const QString src, const QString dest, const bool force=false) Q_DECL_OVERRIDE |
Public Member Functions inherited from Pass | |
| Pass () | |
| Pass::Pass wrapper for using either pass or the pass imitation. | |
| void | init () |
| virtual | ~Pass () |
| virtual auto | Generate_b (unsigned int length, const QString &charset) -> QString |
| Pass::Generate use either pwgen or internal password generator. | |
| void | GenerateGPGKeys (QString batch) |
| Pass::GenerateGPGKeys internal gpg keypair generator . . | |
| auto | listKeys (QStringList keystrings, bool secret=false) -> QList< UserInfo > |
| Pass::listKeys list users. | |
| auto | listKeys (const QString &keystring="", bool secret=false) -> QList< UserInfo > |
| Pass::listKeys list users. | |
| void | updateEnv () |
| Pass::updateEnv update the execution environment (used when switching profiles) | |
Protected Member Functions | |
| virtual void | finished (int id, int exitCode, const QString &out, const QString &err) Q_DECL_OVERRIDE |
| ImitatePass::finished this function is overloaded to ensure identical behaviour to RealPass ie. only PASS_* processes are visible inside Pass::finish, so that interface-wise it all looks the same. | |
| virtual void | executeWrapper (PROCESS id, const QString &app, const QStringList &args, QString input, bool readStdout=true, bool readStderr=true) Q_DECL_OVERRIDE |
| executeWrapper overrided so that every execution is a transaction | |
Protected Member Functions inherited from Pass | |
| void | executeWrapper (PROCESS id, const QString &app, const QStringList &args, bool readStdout=true, bool readStderr=true) |
| auto | generateRandomPassword (const QString &charset, unsigned int length) -> QString |
| auto | boundedRandom (quint32 bound) -> quint32 |
Additional Inherited Members | |
Static Public Member Functions inherited from Pass | |
| static auto | getGpgIdPath (const QString &for_file) -> QString |
| Pass::getGpgIdPath return gpgid file path for some file (folder). | |
| static auto | getRecipientList (const QString &for_file) -> QStringList |
| Pass::getRecipientList return list of gpg-id's to encrypt for. | |
| static auto | getRecipientString (const QString &for_file, const QString &separator=" ", int *count=NULL) -> QStringList |
| Pass::getRecipientString formated string for use with GPG. | |
Protected Types inherited from Pass | |
| typedef Enums::PROCESS | PROCESS |
Protected Slots inherited from Pass | |
Protected Attributes inherited from Pass | |
| Executor | exec |
Imitates pass features when pass is not enabled or available.
Definition at line 13 of file imitatepass.h.
|
default |
ImitatePass::ImitatePass for situaions when pass is not available we imitate the behavior of pass https://www.passwordstore.org/.
|
inlinevirtual |
Definition at line 51 of file imitatepass.h.
|
virtual |
Implements Pass.
Definition at line 566 of file imitatepass.cpp.
Here is the call graph for this function:
|
signal |
Here is the caller graph for this function:
|
protectedvirtual |
executeWrapper overrided so that every execution is a transaction
| id | |
| app | |
| args | |
| input | |
| readStdout | |
| readStderr |
Reimplemented from Pass.
Definition at line 666 of file imitatepass.cpp.
Here is the call graph for this function:
|
protectedvirtual |
ImitatePass::finished this function is overloaded to ensure identical behaviour to RealPass ie. only PASS_* processes are visible inside Pass::finish, so that interface-wise it all looks the same.
| id | |
| exitCode | |
| out | |
| err |
Reimplemented from Pass.
Definition at line 627 of file imitatepass.cpp.
Here is the call graph for this function:
|
virtual |
ImitatePass::GitInit git init wrapper.
Implements Pass.
Definition at line 61 of file imitatepass.cpp.
Here is the call graph for this function:
|
virtual |
ImitatePass::GitPull git init wrapper.
Implements Pass.
Definition at line 68 of file imitatepass.cpp.
|
virtual |
ImitatePass::GitPull_b git pull wrapper.
Implements Pass.
Definition at line 73 of file imitatepass.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
ImitatePass::GitPush git init wrapper.
Implements Pass.
Definition at line 80 of file imitatepass.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
ImitatePass::Init initialize pass repository.
| path | path in which new password-store will be created |
| users | list of users who shall be able to decrypt passwords in path |
Implements Pass.
Definition at line 200 of file imitatepass.cpp.
Here is the call graph for this function:
|
virtual |
ImitatePass::Insert create new file with encrypted content.
| file | file to be created |
| newValue | value to be stored in file |
| overwrite | whether to overwrite existing file |
Implements Pass.
Definition at line 115 of file imitatepass.cpp.
Here is the call graph for this function:
|
virtual |
Implements Pass.
Definition at line 490 of file imitatepass.cpp.
Here is the call graph for this function:
|
virtual |
ImitatePass::OtpGenerate generates an otp code.
Implements Pass.
Definition at line 99 of file imitatepass.cpp.
| void ImitatePass::reencryptPath | ( | const QString & | dir | ) |
ImitatePass::reencryptPath reencrypt all files under the chosen directory.
This is stil quite experimental..
| dir |
Definition at line 372 of file imitatepass.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
ImitatePass::Remove custom implementation of "pass remove".
Implements Pass.
Definition at line 172 of file imitatepass.cpp.
Here is the call graph for this function:
|
virtual |
ImitatePass::Show shows content of file.
Implements Pass.
Definition at line 89 of file imitatepass.cpp.
Here is the call graph for this function:
|
signal |
Here is the caller graph for this function: