Skip to content

RSA Revision Tag Syntax Issue? #990

@mtdownz

Description

@mtdownz

environment
Demo Server

testSessionId
The test session ID

vsId
N/A - Non assigned

Algorithm registration

[
  { "acvVersion": "1.0" },
  {
    "isSample": true,
    "algorithms": [
      {
        "algorithm": "RSA",
        "revision": "FIPS186-4",
        "mode": "sigVer",
        "prereqVals": [
          {
            "algorithm": "SHA",
            "valValue": "same"
          },
          {
            "algorithm": "DRBG",
            "valValue": "same"
          }
        ],
        "pubExpMode": "random",
        "capabilities": [
          {
            "sigType": "ansx9.31",
            "properties": [
              {
                "modulo": 2048,
                "hashPair": [
                  { "hashAlg": "SHA-1" },
                  { "hashAlg": "SHA2-256" },
                  { "hashAlg": "SHA2-384" },
                  { "hashAlg": "SHA2-512" }
                ]
              }
            ]
          }
        ]
      }
    ]
  }
]

Endpoint in which the error is experienced
***ACVP [INFO][log_network_status:1467]--> POST Registration...
Status: 400
Url: https://demo.acvts.nist.gov:443/acvp/v1/testSessions
Resp: Recieved

Expected behavior
Following your guidance per the RSA ACVP documentation section 5, we changed our RSA vector request information from using “1.0” to either “FIPS186-4” or “FIPS186-2” (legacy sigver) but receive the following error from the Demo server (also attached):

***ACVP [ERR][log_network_status:1491]--> 400 error received from server. Message:
***ACVP [ERR][log_network_status:1492]-->

[
  {
    "acvVersion": "1.0"
  },
  {
    "error": "Validation error(s) on JSON payload.",
    "context": [
      "Unable to map RSA-keyGen-FIPS186-4 - index 0 to an internal algorithm id."
    ]
  }
]

Note: When we use a value of “1.0” in the Revision tag with the attached JSON there is no issues and we receive the vectors. Is the Demo server currently supporting these updated “Revision” values documented in Section 5
https://usnistgov.github.io/ACVP/draft-celi-acvp-rsa.html

These tags are important for accessing FIPS 186-2 Legacy SigVer.

Additional context
The intent is to access Legacy SigVer using this method. Is there another method available?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions