Skip to content

Commit 8f67747

Browse files
committed
Reduce to max 2 attestation certs in MDS data generators
1 parent 45b4b3b commit 8f67747

File tree

1 file changed

+2
-2
lines changed
  • webauthn-server-attestation/src/test/scala/com/yubico/fido/metadata

1 file changed

+2
-2
lines changed

webauthn-server-attestation/src/test/scala/com/yubico/fido/metadata/Generators.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ object Generators {
3131
typ <- Gen.option(Gen.const("JWT"))
3232
x5u <- arbitrary[Option[URL]]
3333
x5c <- maxSized(
34-
4,
34+
2,
3535
Gen.option(
3636
Gen.listOf(TestAuthenticator.generateAttestationCertificate()._1)
3737
),
@@ -151,7 +151,7 @@ object Generators {
151151
tcDisplayPNGCharacteristics <-
152152
arbitrary[Option[List[DisplayPNGCharacteristicsDescriptor]]]
153153
attestationRootCertificates <- maxSized(
154-
4,
154+
2,
155155
Gen.containerOf[Set, X509Certificate](
156156
TestAuthenticator.generateAttestationCaCertificate()._1
157157
),

0 commit comments

Comments
 (0)