nsacyber / HIRS

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

Display ACA certificate dates in UTC time #761

Closed iadgovuser59 closed 6 months ago

iadgovuser59 commented 6 months ago

Currently, due to the (potentially unintuitive) behavior of the built-in java.util.Date class, a Unix epoch time is being returned to the ACA portal for display. However, this results in certificate notBefore and notAfter dates being displayed in the user's local time, which can lead to confusion.

This behavior has already been fixed via the implementation of the IDevID certificate page, and the solution can likely involve simply copying the logic over to other pages.