We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With
object AlgorithmCheckerProps extends Scalaprops { private val mkLogger = NoopLogger.factory() private def checker(sigs: Seq[String], keys: Seq[String]) = { new AlgorithmChecker(mkLogger, sigs.map(s => parseAll(expression, s).get).toSet, keys.map(s => parseAll(expression, s).get).toSet) } val `pass a good key algorithm (RSA > 1024)` = Property.exception { Property.prop { val certificate: Certificate = CertificateGenerator.generateRSAWithSHA256(2048) checker(Nil, Seq("RSA keySize < 1024")).check(certificate, emptySet()) true } } }
Running scalapropsOnly com.typesafe.sslconfig.ssl.AlgorithmCheckerProps runs two properties instead of one:
scalapropsOnly com.typesafe.sslconfig.ssl.AlgorithmCheckerProps
com.typesafe.sslconfig.ssl.AlgorithmCheckerProps$ +- $anonfun$pass a good key algorithm (RSA > 1024)$1 Proven(1,0,LongSeed(1601297310331947)) 3ms `- pass a good key algorithm (RSA > 1024) Proven(1,0,LongSeed(1601297342674608)) 0ms
The text was updated successfully, but these errors were encountered:
No branches or pull requests
With
Running
scalapropsOnly com.typesafe.sslconfig.ssl.AlgorithmCheckerProps
runs two properties instead of one:The text was updated successfully, but these errors were encountered: