mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-23 13:35:21 -04:00
SSH Agent: Template reading key parts
This is a prerequisite for security key backed keys.
This commit is contained in:
parent
6ded326de7
commit
c07a57d141
2 changed files with 70 additions and 41 deletions
|
@ -60,6 +60,13 @@ public:
|
|||
static const QString TYPE_OPENSSH_PRIVATE;
|
||||
|
||||
private:
|
||||
enum KeyPart
|
||||
{
|
||||
STR_PART,
|
||||
UINT8_PART
|
||||
};
|
||||
bool readKeyParts(BinaryStream& in, const QList<KeyPart> parts, BinaryStream& out);
|
||||
|
||||
bool extractPEM(const QByteArray& in, QByteArray& out);
|
||||
|
||||
QString m_type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue