Skip to content

Commit b9518ea

Browse files
authored
Fix indentation in SHA-1 fingerprint calculation
1 parent e53d848 commit b9518ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fabric_cli/core/fab_auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,8 +731,8 @@ def _load_pem_certificate(
731731
)
732732
cert = x509.load_pem_x509_certificate(certificate_data, default_backend())
733733
fingerprint = cert.fingerprint(
734-
hashes.SHA1()
735-
) # CodeQL [SM02167] SHA‑1 thumbprint is only a certificate identifier required by MSAL/Microsoft Entra, not a cryptographic operation
734+
hashes.SHA1() # CodeQL [SM02167] SHA‑1 thumbprint is only a certificate identifier required by MSAL/Microsoft Entra, not a cryptographic operation
735+
)
736736
return self._Cert(certificate_data, private_key, fingerprint)
737737

738738
def _load_pkcs12_certificate(

0 commit comments

Comments
 (0)