usnistgov / ACVP-Server

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

"error": "Object reference not set to an instance of an object." #294

Closed GlennUL closed 7 months ago

GlennUL commented 8 months ago

environment Prod

testSessionId 26016

vsId 294554

Expected behavior Receive a test vector instead of the message: "error": "Object reference not set to an instance of an object."

jbrock24 commented 7 months ago

Hi @GlennUL, it appears the issue is your fixedInfoPattern, "fixedInfoPattern":"uPartyInfo||vPartyInfo||t||l", is set with a t, which isn't valid. Please refer to https://pages.nist.gov/ACVP/draft-hammett-acvp-kas-kdf-hkdf.txt, section 7.3.1. FixedInfoPatternConstruction for valid settings. I will look into updating the error message and where it's caught. Thanks for bringing this issue to our attention!

GlennUL commented 7 months ago

Hi @jbrock24 Thanks for the info. I removed the t and everything went through successfully.

jbrock24 commented 7 months ago

Quick head's up, double checked the current version on Dev and it's relaying the correct error. Sorry again, the fix will go out with .32 hopefully by the end of this week, but maybe into the early part of next. I'll reply here when it's published for use and close this issue.

jbrock24 commented 7 months ago

Also, t was supported but it was removed.