-
Notifications
You must be signed in to change notification settings - Fork 20
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
UsesHybridSharedSecret: false
is treated as if UsesHybridSharedSecret was NULL
#353
Comments
I am also seeing this issue with a component that successfully passed the Sp800-56Cr2 last year when the UsesHybridSharedSecret was not required in the registration file. As the UsesHybridSharedSecret setting is boolean, it should accept a "false" statement, yet only gives error messages when attempting to submit to the demo server with this value set. Specifying true does work, but then asks for more settings, and since this value is not used in the module, those settings are not relevant, but it does show it working. If we back down to Sp800-56Cr1 without it, that will be accepted, but that isn't the functionality of the module. |
Thanks for reporting this. Agreed, this should not be happening. We'll look to see what's amiss. |
The documentation has |
Thanks for the update and for letting us know you were able to get past this. It would be better if the error message that's provided used the correct case for the property name. I.e., usesHybridSharedSecret vs UsesHybridSharedSecret |
Also it could say 'unrecognized property' which would make people check
spelling and case...
:)
…On Fri, Sep 6, 2024, 16:43 livebe01 ***@***.***> wrote:
Thanks for the update and for letting us know you were able to get past
this. It would be better if the error message that's provided used the
correct case for the property name. I.e., usesHybridSharedSecret vs
UsesHybridSharedSecret
—
Reply to this email directly, view it on GitHub
<#353 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRWP5BWFQKGOAHFOLI5CMLZVG5PVAVCNFSM6AAAAABNLAWJ2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZUGIYTONBUGA>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
Ah, yes. That would be better, but wouldn't work well for how we've implemented ACVTS. ACVTS is setup such that extra/irrelevant properties contained within algorithm registrations are ignored vs rejected. I remember some conversations w/in the team where we discussed the virtues of each option, but I can't remember the complete back story for why we chose to ignore vs reject. |
The fix for this issue has been deployed to ACVTS Demo as part of the v1.1.0.36 release. |
The fix for this issue has been deployed to ACVTS Prod as part of the v1.1.0.36 release. |
environment: Demo
Note: Copy of usnistgov/ACVP#1536 which was at the wrong place.
We have the following error when submitting the below registration.json:
This is the error we expect to get when we do not have the
UsesHybridSharedSecret
key in the file at all, where it is expected based on this code and this documentationWe used very similar files last year for another device and
UsesHybridSharedSecret
was not yet required, probably the fix for this issue had not made it to public facing servers.registration.json:
The text was updated successfully, but these errors were encountered: