Skip to content
New issue

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

ACVP (demo) server does not support modulo size 1536 for RSA sigVer #1299

Closed
jvdsn opened this issue Jan 31, 2022 · 2 comments
Closed

ACVP (demo) server does not support modulo size 1536 for RSA sigVer #1299

jvdsn opened this issue Jan 31, 2022 · 2 comments

Comments

@jvdsn
Copy link
Contributor

jvdsn commented Jan 31, 2022

On https://github.com/usnistgov/ACVP/blob/master/src/rsa/sections/05-sigver-capabilities.adoc, it says:

any one of the supported modulo sizes {1024, 1536, 2048, 3072, 4096}

However, when requesting a test vector with the modulo size 1536, the following error is returned:

[
  {
    "acvVersion": "1.0"
  },
  {
    "error": "Validation error(s) on JSON payload.",
    "context": [
      "RSA-sigVer-FIPS186-4: Invalid Modulo supplied: 1536;Invalid Modulo supplied: 1536;Invalid Modulo supplied: 1536"
    ]
  }
]

Is this an error in the specification or in the server implementation?

@livebe01
Copy link
Collaborator

livebe01 commented Feb 1, 2022

This is an error in the specification. I've updated the specification to show that the supported modulo sizes are 1024, 2048, 3072, and 4096.

@livebe01 livebe01 closed this as completed Feb 1, 2022
@jvdsn
Copy link
Contributor Author

jvdsn commented Aug 16, 2022

Hi @livebe01, on May 9, 1536 was again added to the spec (1cd9b9c), so it is my understanding that it should be supported now. However, I still get the following error:

[
  {
    "acvVersion": "1.0"
  },
  {
    "error": "Validation error(s) on JSON payload.",
    "context": [
      "RSA-sigVer-FIPS186-4: Invalid Modulo supplied: 1536;Invalid Modulo supplied: 1536"
    ]
  }
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants