nsacyber / HIRS

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

During upload RIMs are mislabeled #770

Closed iadgovuser29 closed 5 months ago

iadgovuser29 commented 6 months ago

As part of #737

When uploading more than 1 rim file, these isBaseRim and isSupportRim variables (see link below) are not reset when processing each file. If a support rim is processed first, by the time it gets to a base rim, that isSupportRim flag is still set and the base rim is saved as a support rim.

https://github.com/nsacyber/HIRS/blob/v3_issue-737/HIRS_AttestationCAPortal/src/main/java/hirs/attestationca/portal/page/controllers/ReferenceManifestPageController.java#L164