File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<Project >
22 <PropertyGroup >
33 <!-- Central version prefix - applies to all nuget packages. -->
4- <VersionPrefix >1.78 .0</VersionPrefix >
4+ <VersionPrefix >1.79 .0</VersionPrefix >
55 <PackageVersion Condition =" '$(VersionSuffix)' != ''" >$(VersionPrefix)-$(VersionSuffix)</PackageVersion >
66 <PackageVersion Condition =" '$(VersionSuffix)' == ''" >$(VersionPrefix)</PackageVersion >
77
88 <Configurations >Debug;Release;Publish</Configurations >
99 <IsPackable >true</IsPackable >
1010
1111 <!-- Package validation. Baseline Version should be the latest version available on NuGet. -->
12- <PackageValidationBaselineVersion >1.77 .0</PackageValidationBaselineVersion >
12+ <PackageValidationBaselineVersion >1.78 .0</PackageValidationBaselineVersion >
1313 <!-- Validate assembly attributes only for Publish builds -->
1414 <NoWarn Condition =" '$(Configuration)' != 'Publish'" >$(NoWarn);CP0003</NoWarn >
1515 <!-- Do not validate reference assemblies -->
Original file line number Diff line number Diff line change 22
33from semantic_kernel .kernel import Kernel
44
5- __version__ = "1.44.0 "
5+ __version__ = "1.44.1 "
66
77DEFAULT_RC_VERSION = f"{ __version__ } -rc9"
88
Original file line number Diff line number Diff line change @@ -181,7 +181,10 @@ def _cert_thumbprint(cert_path: Path) -> str:
181181
182182 pem_bytes = Path (cert_path ).read_bytes ()
183183 der_bytes = ssl .PEM_cert_to_DER_cert (pem_bytes .decode ())
184- return hashlib .sha1 (der_bytes , usedforsecurity = False ).hexdigest ().upper ()
184+ # SHA-1 is not used here as a security primitive; it is required to compute the X.509 certificate thumbprint
185+ # (the `x5t` JWT header value), which MSAL and Microsoft Entra ID mandate to be a SHA-1 digest for the
186+ # `thumbprint` client credential. Hence the `usedforsecurity=False` flag.
187+ return hashlib .sha1 (der_bytes , usedforsecurity = False ).hexdigest ().upper () # CodeQL [SM02167] x5t thumbprint
185188
186189
187190# endregion
You can’t perform that action at this time.
0 commit comments