Skip to content
4 changes: 2 additions & 2 deletions src/fabric_cli/core/fab_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -731,8 +731,8 @@ def _load_pem_certificate(
)
cert = x509.load_pem_x509_certificate(certificate_data, default_backend())
fingerprint = cert.fingerprint(
hashes.SHA1()
) # CodeQL [SM02167] SHA‑1 thumbprint is only a certificate identifier required by MSAL/Microsoft Entra, not a cryptographic operation
hashes.SHA1() # CodeQL [SM02167] SHA‑1 thumbprint is only a certificate identifier required by MSAL/Microsoft Entra, not a cryptographic operation
)
Comment thread
shirasassoon marked this conversation as resolved.
return self._Cert(certificate_data, private_key, fingerprint)

def _load_pkcs12_certificate(
Expand Down
Loading