diff --git a/CONTRIBUTIONS.md b/CONTRIBUTIONS.md index a9840ab4..1bce0fa1 100644 --- a/CONTRIBUTIONS.md +++ b/CONTRIBUTIONS.md @@ -38,6 +38,8 @@ Add yourself to the list, * Alex Maier * Andrea Ruffini Perico * Andrew Cox +* Benjamin Newman +* Christian Werner * Christoph Boss (@Kampfwurst) * Daniel Ziegenberg (@ziegenberg) * Devin Dean (@dd2594gh) diff --git a/check-certificates.rsc b/check-certificates.rsc index e10c82ae..0122122a 100644 --- a/check-certificates.rsc +++ b/check-certificates.rsc @@ -152,9 +152,10 @@ [ $FormatLine "Fingerprint" ($CertVal->"fingerprint") ] . "\n" . \ [ $IfThenElse ([ :len ($CertVal->"ca") ] > 0) [ $FormatLine "Issuer" ($CertVal->"ca") ] [ $FormatLine "Issuer chain" [ $FormatCertChain $Cert ] ] ] . "\n" . \ "Validity:\n" . \ + [ $FormatLine " days" ($CertVal->"days-valid") ] . "\n" . \ [ $FormatLine " from" ($CertVal->"invalid-before") ] . "\n" . \ [ $FormatLine " to" ($CertVal->"invalid-after") ] . "\n" . \ - [ $FormatLine "Expires in" [ $IfThenElse (($CertVal->"expired") = true) "expired" [ $FormatExpire ($CertVal->"expires-after") ] ] ]); + [ $FormatLine " time left" [ $IfThenElse (($CertVal->"expired") = true) "expired" [ $FormatExpire ($CertVal->"expires-after") ] ] ]); } :if ([ $ScriptLock $ScriptName ] = false) do={