Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pyspnego for openSUSE:Factory checked in at 2023-09-06 18:56:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyspnego (Old) and /work/SRC/openSUSE:Factory/.python-pyspnego.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyspnego" Wed Sep 6 18:56:56 2023 rev:14 rq:1109000 version:0.9.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyspnego/python-pyspnego.changes 2023-05-10 16:18:39.919024690 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyspnego.new.1766/python-pyspnego.changes 2023-09-06 18:58:43.200685324 +0200 @@ -1,0 +2,10 @@ +Mon Sep 4 18:26:17 UTC 2023 - Martin Hauke <mar...@gmx.de> + +- Update to version 0.9.2 + * Only CI related changes +- Update to version 0.9.1 + * Always set the NTLMSSP_REQUEST_VERSION flag on the + NTLM Negotiate message. This aligns the behaviour with how + SSPI generates this message. + +------------------------------------------------------------------- Old: ---- pyspnego-0.9.0.tar.gz New: ---- pyspnego-0.9.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyspnego.spec ++++++ --- /var/tmp/diff_new_pack.cJS9pM/_old 2023-09-06 18:58:44.364726819 +0200 +++ /var/tmp/diff_new_pack.cJS9pM/_new 2023-09-06 18:58:44.368726962 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-pyspnego -Version: 0.9.0 +Version: 0.9.2 Release: 0 Summary: Python SPNEGO authentication library License: MIT ++++++ pyspnego-0.9.0.tar.gz -> pyspnego-0.9.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyspnego-0.9.0/.github/workflows/ci.yml new/pyspnego-0.9.2/.github/workflows/ci.yml --- old/pyspnego-0.9.0/.github/workflows/ci.yml 2023-04-29 00:27:53.000000000 +0200 +++ new/pyspnego-0.9.2/.github/workflows/ci.yml 2023-08-29 01:30:25.000000000 +0200 @@ -60,6 +60,8 @@ - version: cp310-win32 - version: cp311-win_amd64 - version: cp311-win32 + - version: cp312-win_amd64 + - version: cp312-win32 steps: - uses: actions/download-artifact@v3 @@ -76,7 +78,7 @@ rm pyspnego-*.tar.gz - name: build wheel - uses: pypa/cibuildwheel@v2.11.1 + uses: pypa/cibuildwheel@v2.15.0 env: CIBW_ARCHS: all CIBW_BUILD: ${{ matrix.version }} @@ -108,6 +110,7 @@ - 3.9 - '3.10' - '3.11' + - '3.12.0-rc.1' python-arch: - x86 - x64 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyspnego-0.9.0/CHANGELOG.md new/pyspnego-0.9.2/CHANGELOG.md --- old/pyspnego-0.9.0/CHANGELOG.md 2023-04-29 00:27:53.000000000 +0200 +++ new/pyspnego-0.9.2/CHANGELOG.md 2023-08-29 01:30:25.000000000 +0200 @@ -1,5 +1,14 @@ # Changelog +## 0.9.2 - 2023-08-29 + +* Added Python 3.12 wheel for Windows + +## 0.9.1 - 2023-06-14 + +* Always set the `NTLMSSP_REQUEST_VERSION` flag on the NTLM `Negotiate` message + * This aligns the behaviour with how SSPI generates this message + ## 0.9.0 - 2023-04-29 * Added the `spnego.ContextReq.dce_style` flag to enable DCE authentication mode diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyspnego-0.9.0/build_helpers/run-ci.sh new/pyspnego-0.9.2/build_helpers/run-ci.sh --- old/pyspnego-0.9.0/build_helpers/run-ci.sh 2023-04-29 00:27:53.000000000 +0200 +++ new/pyspnego-0.9.2/build_helpers/run-ci.sh 2023-08-29 01:30:25.000000000 +0200 @@ -1,5 +1,10 @@ #!/bin/bash -ex +# Set by GHA setup-python +if [[ -n "${pythonLocation}" ]]; then + PATH="${pythonLocation}/bin:${PATH}" +fi + source ./build_helpers/lib.sh lib::setup::system_requirements lib::setup::python_requirements diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyspnego-0.9.0/pyproject.toml new/pyspnego-0.9.2/pyproject.toml --- old/pyspnego-0.9.0/pyproject.toml 2023-04-29 00:27:53.000000000 +0200 +++ new/pyspnego-0.9.2/pyproject.toml 2023-08-29 01:30:25.000000000 +0200 @@ -23,7 +23,8 @@ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11" + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12" ] dependencies = [ "cryptography", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyspnego-0.9.0/src/spnego/_ntlm.py new/pyspnego-0.9.2/src/spnego/_ntlm.py --- old/pyspnego-0.9.0/src/spnego/_ntlm.py 2023-04-29 00:27:53.000000000 +0200 +++ new/pyspnego-0.9.2/src/spnego/_ntlm.py 2023-08-29 01:30:25.000000000 +0200 @@ -419,7 +419,11 @@ channel_bindings: typing.Optional[GssChannelBindings] = None, ) -> bytes: if not self._temp_negotiate: - self._temp_negotiate = Negotiate(self._context_req) + # SSPI always sends the version even if it's optional. There have + # been reports that some NTLM servers expect this to produce a + # valid challenge/authentication token later in the exchange. + # https://github.com/jborean93/smbprotocol/issues/216 + self._temp_negotiate = Negotiate(self._context_req, version=Version.get_current()) return self._temp_negotiate.pack() in_token = in_token or b"" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyspnego-0.9.0/src/spnego/_version.py new/pyspnego-0.9.2/src/spnego/_version.py --- old/pyspnego-0.9.0/src/spnego/_version.py 2023-04-29 00:27:53.000000000 +0200 +++ new/pyspnego-0.9.2/src/spnego/_version.py 2023-08-29 01:30:25.000000000 +0200 @@ -1,4 +1,4 @@ # Copyright: (c) 2020, Jordan Borean (@jborean93) <jborea...@gmail.com> # MIT License (see LICENSE or https://opensource.org/licenses/MIT) -__version__ = "0.9.0" +__version__ = "0.9.2"