usnistgov / ACVP-Server

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

RSA KeyGen 186-5 General Exception #315

Closed d4nguyen closed 2 months ago

d4nguyen commented 7 months ago

environment Demo

testSessionId 489804

vsId 2183284

Algorithm registration

    {
        "isSample": false,
        "algorithms": [
            {
                "algorithm": "RSA",
                "revision": "FIPS186-5",
                "mode": "keyGen",
                "prereqVals": [
                    {
                        "algorithm": "DRBG",
                        "valValue": "same"
                    },
                    {
                        "algorithm": "SHA",
                        "valValue": "same"
                    }
                ],
                "infoGeneratedByServer": false,
                "pubExpMode": "fixed",
                "fixedPubExp": "010001",
                "keyFormat": "standard",
                "capabilities": [
                    {
                        "randPQ": "provable",
                        "properties": [
                            {
                                "modulo": 2048,
                                "hashAlg": [
                                    "SHA2-384"
                                ],
                                "primeTest": [
                                    "2powSecStr"
                                ],
                                "pMod8": 0,
                                "qMod8": 0
                            },
                            {
                                "modulo": 3072,
                                "hashAlg": [
                                    "SHA2-384"
                                ],
                                "primeTest": [
                                    "2powSecStr"
                                ],
                                "pMod8": 0,
                                "qMod8": 0
                            },
                            {
                                "modulo": 4096,
                                "hashAlg": [
                                    "SHA2-384"
                                ],
                                "primeTest": [
                                    "2powSecStr"
                                ],
                                "pMod8": 0,
                                "qMod8": 0
                            }
                        ]
                    }
                ]
            }
        ]
    }

Endpoint in which the error is experienced https://demo.acvts.nist.gov:443/acvp/v1

Expected behavior Expected to get a description of the reason for why the vector failed. But instead got general exception error.

[
  {
    "acvVersion": "1.0"
  },
  {
    "error": "General exception. Contact service provider."
  }
]

Additional context I have ran 186-4 version and it passed

jbrock24 commented 6 months ago

Hi @d4nguyen, this issue has been resolved and will be in the v1.1.0.35 release.

livebe01 commented 3 months ago

The fix for this is on Demo in release v1.1.0.35.

livebe01 commented 2 months ago

The fix for this is on Prod in release v1.1.0.35.