usnistgov / ESV-Server

Entropy Source Validation Protocol and Server specifications
13 stars 12 forks source link

Requirement of conditioned bits #4

Closed smuellerDD closed 3 years ago

smuellerDD commented 3 years ago

In a previous discussion, I was under the impression that uploading of conditioned bits for a conditioning component is only required if the conditioning component is not a vetted algorithm.

Now, I have a vetted algorihtm (SHA2-256 in my case) and the server requests the conditioned data:

"RequiredPropertyError: conditionedBitsSHA256 was not found in the JSON payload."

Could you please help me understand when this data is required?

celic commented 3 years ago

Ah for a vetted conditioning component, no file upload is required, so it doesn't make sense to expect a hash of the file you aren't uploading. I'll get this fixed.