diff --git a/cert_deets.py b/cert_deets.py index 7fcc1f9..4e6386e 100644 --- a/cert_deets.py +++ b/cert_deets.py @@ -160,6 +160,7 @@ if __name__ == "__main__": f"{format_fingerprint(cert.get_fingerprint(hashes.SHA1))} (SHA1)" for cert in list(cert_chain.intermediates) + [cert_chain.root] + if cert ] ), ]