Skip to content

Commit 28e6eab

Browse files
authored
Merge branch 'main' into fix/kernel-json-schema-forward-refs
2 parents 8c2a450 + 6e10225 commit 28e6eab

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

dotnet/nuget/nuget-package.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
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 -->

python/semantic_kernel/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from semantic_kernel.kernel import Kernel
44

5-
__version__ = "1.44.0"
5+
__version__ = "1.44.1"
66

77
DEFAULT_RC_VERSION = f"{__version__}-rc9"
88

python/semantic_kernel/agents/copilot_studio/copilot_studio_agent.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)