usnistgov / ACVP-Server

A repository tracking releases of NIST's ACVP server. See www.github.com/usnistgov/ACVP for the protocol.
39 stars 14 forks source link

RSA DecryptionPrimitive Sp800-56Br2 Vectors are not generating with Prod Server #249

Closed prashantawde closed 1 year ago

prashantawde commented 1 year ago

environment Prod

testSessionId Not Generated

vsId Not Generated

Algorithm registration [ { "acvVersion": "1.0" }, { "isSample": false, "algorithms": [ { "algorithm": "RSA", "mode": "decryptionPrimitive", "revision": "Sp800-56Br2", "keyFormat": [ "standard", "crt" ], "modulus": [ 2048, 3072, 4096 ] } ] } ]

Endpoint in which the error is experienced acvts.nist.gov:443

Expected behavior We are not able to generate test vectors for "RSA decryptionPrimitive Sp800-56Br2" while generating vectors for the "Prod" environment, using the same JSON registration file we are able to create test vectors for the "Demo" environment.

Additional context Registration file created by referring https://pages.nist.gov/ACVP/draft-celi-acvp-rsa.html#name-rsa-decryptionprimitive-sp8

Issue observed: image

livebe01 commented 1 year ago

Hi @prashantawde, this is the expected behavior. The RSA decryptionPrimitive Sp800-56Br2 algorithm has not been enabled for testing on Prod. When CAVP introduces a new algorithm, it is customary for CAVP to wait to enable that algorithm on Prod until we're satisfied that any kinks with the algorithm have been worked out in Demo. For instance, we've yet to release fixes for https://github.com/usnistgov/ACVP/issues/1408 and https://github.com/usnistgov/ACVP/issues/1409.

To get a definitive list of algorithms available for testing on a given environment, use your client to access the /algorithms endpoint on the environment you're interested in.