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
In there, ASN1_TIME_print() is used to "print" the dates into strings. From the manual for ASN1_TIME_print() (emphasis is mine):
ASN1_TIME_print() prints out the time s to BIO b in human readable format. It will be of the format MMM DD HH:MM:SS YYYY [GMT], for example "Feb 3 00:55:52 2015 GMT" it does not include a newline. If the time structure has invalid format it prints out "Bad time value" and returns an error.
Hence, it seems that the dates in the certificate are invalid. I suggest verifying whether this is indeed the case or whether there is a bug in our code. If the dates are invalid, then I suggest using a different value than "Bad time value" in the JSON representation (maybe null or omit the dates completely?).
fileinfo
prints"Bad time value"
for valid-since and valid-until dates of a digitally signed PE file instead of dates in a valid format.Input
Run
where
FILE
is:(The
--json
parameter is not strictly necessary as the text output is similar.)Output
"certificateTable"
->"certificates"
contains the following values for the first certificate:Expected output
I would expect dates in a valid format, e.g.
(This is just an example. I am not sure what the actual dates should be.)
Configuration
master
)The text was updated successfully, but these errors were encountered: