SSH Agent: Add support for OpenSSH 8.2 FIDO/U2F keys

Closes #4334
This commit is contained in:
Toni Spets authored and Jonathan White committed 2021-10-01 16:25:14 -04:00
1 parent c07a57d141
commit 860fcfd78d
10 files changed
+183 -19

No files matched your search

+4
View File
@@ -473,6 +473,8 @@ bool OpenSSHKey::readPublic(BinaryStream& stream)
{ "ecdsa-sha2-nistp384", {STR_PART, STR_PART} },
{ "ecdsa-sha2-nistp521", {STR_PART, STR_PART} },
{ "ssh-ed25519", {STR_PART} },
{ "[email protected]", {STR_PART, STR_PART, STR_PART} },
{ "[email protected]", {STR_PART, STR_PART} },
};
// clang-format on
@@ -502,6 +504,8 @@ bool OpenSSHKey::readPrivate(BinaryStream& stream)
{ "ecdsa-sha2-nistp384", {STR_PART, STR_PART, STR_PART} },
{ "ecdsa-sha2-nistp521", {STR_PART, STR_PART, STR_PART} },
{ "ssh-ed25519", {STR_PART, STR_PART} },
{ "[email protected]", {STR_PART, STR_PART, STR_PART, UINT8_PART, STR_PART, STR_PART} },
{ "[email protected]", {STR_PART, STR_PART, UINT8_PART, STR_PART, STR_PART} },
};
// clang-format on