You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the description, it seems that thisUpdate and nextUpdate should be checked agaisnt system local time, but the code checks it againts producetAt value from OCSP response, so no matter the system time, response is always valid:
Thank you for highlighting the issue! Yes, this is a mistake - the comparison should be made against the local system time, not the producedAt time from the OCSP response according to RFC 2560. This will be fixed with #55.
mrts
linked a pull request
Feb 23, 2024
that will
close
this issue
From the description, it seems that
thisUpdate
andnextUpdate
should be checked agaisnt system local time, but the code checks it againtsproducetAt
value from OCSP response, so no matter the system time, response is always valid:web-eid-authtoken-validation-java/src/main/java/eu/webeid/security/validator/ocsp/OcspResponseValidator.java
Lines 80 to 102 in c919aa5
The text was updated successfully, but these errors were encountered: