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

Unable to map RSA signaturePrimitive 2.0 #245

Closed GlennUL closed 1 year ago

GlennUL commented 1 year ago

environment Demo

Algorithm registration { "algorithms": [ { "algorithm": "RSA", "mode": "signaturePrimitive", "revision": "2.0", "keyFormat": [ "standard" ], "pubExpMode": "random", "modulus": [ 2048, 3072, 4096 ] } ], "encryptAtRest": false, "isSample": false }

Expected behavior Successful generation of vectors.

Additional context When trying to create a test session for RSA signaturePrimitive 2.0 we receive the following error message: Unable to map RSA-signaturePrimitive-2.0 - index 0 to an internal algorithm id.

livebe01 commented 1 year ago

Hi Glen, double check your “mode” value. That should get you where you want to be…

Ben

On Mar 10, 2023, at 5:07 PM, GlennUL @.***> wrote:

environment Demo

Algorithm registration { "algorithms": [ { "algorithm": "RSA", "mode": "signaturePrimitive", "revision": "2.0", "keyFormat": [ "standard" ], "pubExpMode": "random", "modulus": [ 2048, 3072, 4096 ] } ], "encryptAtRest": false, "isSample": false }

Expected behavior Successful generation of vectors.

Additional context When trying to create a test session for RSA signaturePrimitive 2.0 we receive the following error message: Unable to map RSA-signaturePrimitive-2.0 - index 0 to an internal algorithm id.

— Reply to this email directly, view it on GitHubhttps://github.com/usnistgov/ACVP-Server/issues/245, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGMA5AU7TJH7MLN2NP6DAADW3OQ2FANCNFSM6AAAAAAVW73DHI. You are receiving this because you are subscribed to this thread.Message ID: @.***>

GlennUL commented 1 year ago

Hi Ben,

We must be missing something as our developers and myself don't see anything off with the "mode" value when we compare it to the documentation.

Thanks, Glenn

livebe01 commented 1 year ago

Ah, sorry Glenn. That was a mistake on my part. RSA signaturePrimitive 2.0 is an algorithm that we're working to add, but is one that we've yet to release to Demo. We should have waited to update our documentation until we'd released the algorithm to Demo. That said, I'm hesitant to back it out of our documentation as it pops up in lots of niggling places and the pain of making sure we've successfully removed it from all, then added it back in to all.

GlennUL commented 1 year ago

That makes sense. Thanks for the update!

ehanson12 commented 1 year ago

Is RSA signaturePrimitive 2.0 released to production? For some reason this worked on DEMO last week for a few days...