x509-parser icon indicating copy to clipboard operation
x509-parser copied to clipboard

Update time dependency to 0.3.9.

Open jasonish opened this issue 2 years ago • 2 comments

This is to address the cargo audit issues around time and the RustSec advisory https://rustsec.org/advisories/RUSTSEC-2020-0071.html.

Migrate from time 0.1 to time 0.3. Due to issues parsing YYMM formatted years with time 3, provide a crude date parser.

This is for use in the Suricata 6.0.x branch which currently uses x509-parser 0.6.5.

jasonish avatar Apr 15 '22 20:04 jasonish

Will this bump the MSRV? In suri 6 we use 1.41.1 currently.

victorjulien avatar Apr 16 '22 10:04 victorjulien

It does. I was working yesterday on the assumption it built on 1.32 or something. I was looking at the wrong page, and obviously didn't test.

jasonish avatar Apr 16 '22 15:04 jasonish

Applied, thanks! It is a breaking change (some fields are public), however the situation with the time crate have been ongoing for too long and justifies a forced update.

chifflier avatar Mar 07 '23 14:03 chifflier