Skip to content

Commit 30f966a

Browse files
aseiglerabergs
authored andcommitted
Hard coded minimal metadata for conformance test authenticator so that AttestationResponse-Resp-6 F-2 will pass if there is no custom folder present in the cache directory.
1 parent f738501 commit 30f966a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

fido2-net-lib/MetadataService.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,14 @@ public void CustomTOCPayloadFromCache()
545545
if (null != entry.AaGuid) payload.Add(new System.Guid(entry.AaGuid), entry);
546546
}
547547
}
548+
else
549+
{
550+
var entry = new MetadataTOCPayloadEntry();
551+
entry.AaGuid = "2b2ecbb4-59b4-44fa-868d-a072485d8ae0";
552+
entry.StatusReports = new StatusReport[] { new StatusReport() { Status = AuthenticatorStatus.NOT_FIDO_CERTIFIED } };
553+
entry.MetadataStatement = new MetadataStatement() { AttestationTypes = new ushort[] { (ushort) MetadataAttestationType.ATTESTATION_BASIC_FULL } };
554+
payload.Add(new System.Guid(entry.AaGuid), entry);
555+
}
548556
}
549557

550558
public MetadataTOCPayloadEntry GetEntry(Guid aaguid)

0 commit comments

Comments
 (0)