x509/grep

This commit is contained in:
Marc Beninca 2024-09-01 16:53:44 +02:00
parent fbe85048a7
commit 29a33e5787
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -225,7 +225,8 @@ spcd_openssl_x509() {
if [ -f "${1}" ]; then if [ -f "${1}" ]; then
openssl x509 \ openssl x509 \
-in "${1}" \ -in "${1}" \
-noout -text -noout -text |
grep "\(After\|Before\|Issuer\|Signature A\|Subject:\)"
fi fi
} }