nsacyber / HIRS

Trusted Computing based services supporting TPM provisioning and supply chain validation concepts. #nsacyber
Other
180 stars 57 forks source link

[#808] Retrieve unarchived RIM bundle for provision #829

Closed chubtub closed 1 month ago

chubtub commented 2 months ago

The two main changes included here are:

  1. delete the RIM from the backend table when /delete is called instead of archiving
  2. if an archived RIM is returned for FW validation then attempt to return an unarchived RIM with matching identifiers.

This PR also attempted to address the use cases where a good or bad RIM bundle is sent with an initial provision and then replaced by the other. This grew beyond the scope of this PR and will be handled in a future issue.

Closes #808