CLI: Add Import XML command (#3572)
The CLI now contains an "import" command that creates a new database from the specified XML export. The new database is in kdbx 4 format, and does not currently accept a keyfile in database creation. This change is required to create new databases from XML backups. Fixes #2458
This commit is contained in:
committed by
Jonathan White
parent
82cfedfa43
commit
dbe15d32e5
@@ -21,7 +21,6 @@
|
||||
#include "Command.h"
|
||||
|
||||
#include "keys/FileKey.h"
|
||||
#include "keys/PasswordKey.h"
|
||||
|
||||
class Create : public Command
|
||||
{
|
||||
@@ -30,7 +29,6 @@ public:
|
||||
int execute(const QStringList& arguments) override;
|
||||
|
||||
private:
|
||||
QSharedPointer<PasswordKey> getPasswordFromStdin();
|
||||
bool loadFileKey(const QString& path, QSharedPointer<FileKey>& fileKey);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user