You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
step.validations.failed.get shouldBe an [IllegalArgumentException]
1563
-
step.tryNext shouldBe a [Failure[_]]
1561
+
step.validations shouldBe a [Success[_]]
1562
+
step.tryNext shouldBe a [Success[_]]
1563
+
step.attestationType should be (AttestationType.UNKNOWN)
1564
+
step.attestationTrustPath.asScala shouldBe empty
1564
1565
}
1565
-
1566
1566
}
1567
1567
1568
1568
describe("15. If validation is successful, obtain a list of acceptable trust anchors (attestation root certificates or ECDAA-Issuer public keys) for that attestation type and attestation statement format fmt, from a trusted source or from policy. For example, the FIDO Metadata Service [FIDOMetadataService] provides one way to obtain such information, using the aaguid in the attestedCredentialData in authData.") {
@@ -1619,6 +1619,17 @@ class RelyingPartyRegistrationSpec extends FunSpec with Matchers with ScalaCheck
result.failed.get shouldBe an [IllegalArgumentException]
1903
+
}
1845
1904
}
1846
1905
1847
1906
describe("NOTE: However, if permitted by policy, the Relying Party MAY register the credential ID and credential public key but treat the credential as one with self attestation (see §6.4.3 Attestation Types). If doing so, the Relying Party is asserting there is no cryptographic proof that the public key credential has been generated by a particular authenticator model. See [FIDOSecRef] and [UAFProtocol] for a more detailed discussion.") {
@@ -1907,9 +1966,23 @@ class RelyingPartyRegistrationSpec extends FunSpec with Matchers with ScalaCheck
1907
1966
)
1908
1967
1909
1968
result.isAttestationTrusted should be (false)
1969
+
result.getAttestationType should be (AttestationType.NONE)
1910
1970
result.getKeyId.getId should equal (RegistrationTestData.NoneAttestation.Default.response.getId)
1911
1971
}
1912
1972
1973
+
it("accept registrations with unknown attestation statement format.") {
0 commit comments