Feature : Clip command using native programs. (#792)

* Adding a timeout option
* Using native apps.
* Renaming PasswordInput -> Utils
This commit is contained in:
louib 2017-07-22 19:40:30 -04:00 committed by GitHub
parent 90468e8095
commit 1edabc4b3c
7 changed files with 105 additions and 28 deletions

View file

@ -26,7 +26,7 @@
#include <QStringList>
#include <QTextStream>
#include "cli/PasswordInput.h"
#include "cli/Utils.h"
#include "core/Database.h"
#include "format/KeePass2Reader.h"
#include "keys/CompositeKey.h"
@ -66,7 +66,7 @@ int Extract::execute(int argc, char** argv)
out << "Insert the database password\n> ";
out.flush();
QString line = PasswordInput::getPassword();
QString line = Utils::getPassword();
CompositeKey key = CompositeKey::readFromLine(line);
QString databaseFilename = args.at(0);