mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Feature : Clip command using native programs. (#792)
* Adding a timeout option * Using native apps. * Renaming PasswordInput -> Utils
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#include <QTimer>
|
||||
#include <QXmlStreamReader>
|
||||
|
||||
#include "cli/PasswordInput.h"
|
||||
#include "cli/Utils.h"
|
||||
#include "core/Group.h"
|
||||
#include "core/Metadata.h"
|
||||
#include "crypto/Random.h"
|
||||
@@ -404,7 +404,7 @@ Database* Database::unlockFromStdin(QString databaseFilename)
|
||||
outputTextStream << QString("Insert password to unlock " + databaseFilename + "\n> ");
|
||||
outputTextStream.flush();
|
||||
|
||||
QString line = PasswordInput::getPassword();
|
||||
QString line = Utils::getPassword();
|
||||
CompositeKey key = CompositeKey::readFromLine(line);
|
||||
return Database::openDatabaseFile(databaseFilename, key);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user