Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add many unit tests for nearly all attestation types #162

Merged
merged 13 commits into from
May 15, 2020
Next Next commit
Adding some work in progress attestation tests
  • Loading branch information
aseigler committed Feb 25, 2020
commit 4cf3fabbd3ebf71baf704da140f1962b3544775e
3 changes: 2 additions & 1 deletion Src/Fido2/CryptoUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ public static HashAlgorithm GetHasher(HashAlgorithmName hashName)
{4, HashAlgorithmName.SHA1 },
{11, HashAlgorithmName.SHA256 },
{12, HashAlgorithmName.SHA384 },
{13, HashAlgorithmName.SHA512 }
{13, HashAlgorithmName.SHA512 },
{(int) COSE.Algorithm.EdDSA, HashAlgorithmName.SHA512 }
};

public static byte[] GetEcDsaSigValue(BinaryReader reader)
Expand Down
Loading