Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/Utils.h')
-rw-r--r--src/cli/Utils.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cli/Utils.h b/src/cli/Utils.h
index bd89a2a5c..b7fa63acf 100644
--- a/src/cli/Utils.h
+++ b/src/cli/Utils.h
@@ -25,6 +25,12 @@
#include "keys/PasswordKey.h"
#include <QtCore/qglobal.h>
+#ifdef WITH_XC_YUBIKEY
+#include "keys/YkChallengeResponseKey.h"
+#include "keys/YkChallengeResponseKeyCLI.h"
+#include "keys/drivers/YubiKey.h"
+#endif
+
namespace Utils
{
extern FILE* STDOUT;
@@ -34,13 +40,17 @@ namespace Utils
void setStdinEcho(bool enable);
QString getPassword(FILE* outputDescriptor = STDOUT);
+ QSharedPointer<PasswordKey> getPasswordFromStdin();
int clipText(const QString& text);
QSharedPointer<Database> unlockDatabase(const QString& databaseFilename,
const bool isPasswordProtected = true,
const QString& keyFilename = {},
+ const QString& yubiKeySlot = {},
FILE* outputDescriptor = STDOUT,
FILE* errorDescriptor = STDERR);
+ QStringList splitCommandString(const QString& command);
+
namespace Test
{
void setNextPassword(const QString& password);