1
0
mirror of https://github.com/bitwarden/server synced 2025-12-16 08:13:33 +00:00

add support for multiple u2f keys

This commit is contained in:
Kyle Spearrin
2018-10-08 14:38:11 -04:00
parent 7176e0ea22
commit bfc74060b6
8 changed files with 170 additions and 92 deletions

View File

@@ -17,6 +17,7 @@ namespace Bit.Core.Models
public U2fMetaData(dynamic o)
{
Name = o.Name;
KeyHandle = o.KeyHandle;
PublicKey = o.PublicKey;
Certificate = o.Certificate;
@@ -24,6 +25,7 @@ namespace Bit.Core.Models
Compromised = o.Compromised;
}
public string Name { get; set; }
public string KeyHandle { get; set; }
[JsonIgnore]
public byte[] KeyHandleBytes =>