SSH Agent: Fix attachment data not updating before apply

Fixes regression since #3833 was merged
This commit is contained in:
Toni Spets 2020-04-05 08:34:50 +03:00 committed by Jonathan White
parent 92a7fe33bd
commit 9e17d52e8e
3 changed files with 41 additions and 4 deletions

View file

@ -20,6 +20,7 @@
#define KEEAGENTSETTINGS_H
#include "core/Entry.h"
#include "core/EntryAttachments.h"
#include "crypto/ssh/OpenSSHKey.h"
#include <QXmlStreamReader>
#include <QtCore>
@ -39,6 +40,11 @@ public:
void toEntry(Entry* entry) const;
bool keyConfigured() const;
bool toOpenSSHKey(const Entry* entry, OpenSSHKey& key, bool decrypt);
bool toOpenSSHKey(const QString& username,
const QString& password,
const EntryAttachments* attachments,
OpenSSHKey& key,
bool decrypt);
const QString errorString() const;