cli: bump x509-parser to v0.8 (#181)

This commit is contained in:
Tony Arcieri (iqlusion)
2020-10-19 08:35:49 -07:00
committed by GitHub
parent fc62fc286d
commit 7e3d0bc838
3 changed files with 7 additions and 38 deletions
+1 -1
View File
@@ -21,5 +21,5 @@ log = "0.4"
sha2 = "0.8"
subtle-encoding = "0.5"
termcolor = "1"
x509-parser = "0.7"
x509-parser = "0.8"
yubikey-piv = { version = "0.1", path = ".." }
+2 -2
View File
@@ -59,12 +59,12 @@ pub fn print_cert_info(
print_cert_attr(
stream,
"Not Before",
cert.tbs_certificate.validity.not_before.asctime(),
cert.tbs_certificate.validity.not_before.to_rfc2822(),
)?;
print_cert_attr(
stream,
"Not After",
cert.tbs_certificate.validity.not_after.asctime(),
cert.tbs_certificate.validity.not_after.to_rfc2822(),
)?;
}
_ => {