Hello community, here is the log from the commit of package python-pyspnego for openSUSE:Factory checked in at 2020-10-26 16:21:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyspnego (Old) and /work/SRC/openSUSE:Factory/.python-pyspnego.new.3463 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyspnego" Mon Oct 26 16:21:06 2020 rev:2 rq:843926 version:0.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyspnego/python-pyspnego.changes 2020-08-29 20:31:59.489203600 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyspnego.new.3463/python-pyspnego.changes 2020-10-26 16:22:01.763210983 +0100 @@ -1,0 +2,8 @@ +Sun Oct 25 15:53:36 UTC 2020 - Martin Hauke <mar...@gmx.de> + +- Update to version 0.1.2 + * Fix up WinRM wrapping on SSPI +- Update to version 0.1.1 + * Include the cython files in the built sdist + +------------------------------------------------------------------- Old: ---- pyspnego-0.1.0.tar.gz New: ---- pyspnego-0.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyspnego.spec ++++++ --- /var/tmp/diff_new_pack.Gx8jRQ/_old 2020-10-26 16:22:02.455211539 +0100 +++ /var/tmp/diff_new_pack.Gx8jRQ/_new 2020-10-26 16:22:02.459211542 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pyspnego # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,25 +12,26 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-pyspnego -Version: 0.1.0 +Version: 0.1.2 Release: 0 -License: MIT Summary: Python SPNEGO authentication library -Url: https://github.com/jborean93/pyspnego +License: MIT Group: Development/Languages/Python -Source: https://github.com/jborean93/pyspnego/archive/v0.1.0.tar.gz#/pyspnego-%{version}.tar.gz -BuildRequires: python-rpm-macros +URL: https://github.com/jborean93/pyspnego +Source: https://github.com/jborean93/pyspnego/archive/v%{version}.tar.gz#/pyspnego-%{version}.tar.gz BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module cryptography} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-mock} +BuildRequires: %{python_module pytest} # /SECTION BuildRequires: fdupes Requires: python-cryptography ++++++ pyspnego-0.1.0.tar.gz -> pyspnego-0.1.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyspnego-0.1.0/CHANGELOG.md new/pyspnego-0.1.2/CHANGELOG.md --- old/pyspnego-0.1.0/CHANGELOG.md 2020-07-22 09:11:37.000000000 +0200 +++ new/pyspnego-0.1.2/CHANGELOG.md 2020-10-01 01:28:28.000000000 +0200 @@ -1,5 +1,13 @@ # Changelog +## 0.1.2 - 2020-10-01 + +* Fix up WinRM wrapping on SSPI + +## 0.1.1 - 2020-09-01 + +* Include the cython files in the built sdist + ## 0.1.0 - 2020-07-22 Initial release of pyspnego diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyspnego-0.1.0/MANIFEST.in new/pyspnego-0.1.2/MANIFEST.in --- old/pyspnego-0.1.0/MANIFEST.in 2020-07-22 09:11:37.000000000 +0200 +++ new/pyspnego-0.1.2/MANIFEST.in 2020-10-01 01:28:28.000000000 +0200 @@ -1,2 +1,3 @@ include LICENSE -include CHANGELOG.md \ No newline at end of file +include CHANGELOG.md +recursive-include spnego/_sspi_raw *.pyx *.pxd diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyspnego-0.1.0/azure-pipelines.yml new/pyspnego-0.1.2/azure-pipelines.yml --- old/pyspnego-0.1.0/azure-pipelines.yml 2020-07-22 09:11:37.000000000 +0200 +++ new/pyspnego-0.1.2/azure-pipelines.yml 2020-10-01 01:28:28.000000000 +0200 @@ -11,6 +11,14 @@ - LICENSE - README.md +schedules: +- cron: 0 14 * * 0 + displayName: Weekly CI build + branches: + include: + - main + always: true + stages: - stage: Test jobs: @@ -83,7 +91,7 @@ bash <(curl -s https://codecov.io/bash) displayName: Upload to codecov.io continueOnError: true - timeoutInMinutes: 3 + timeoutInMinutes: 5 - job: Test_Windows pool: @@ -169,7 +177,7 @@ codecov.exe -f coverage.xml displayName: Upload to codecov.io continueOnError: true - timeoutInMinutes: 3 + timeoutInMinutes: 5 - script: | python setup.py clean --all build_ext --force --inplace diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyspnego-0.1.0/spnego/_version.py new/pyspnego-0.1.2/spnego/_version.py --- old/pyspnego-0.1.0/spnego/_version.py 2020-07-22 09:11:37.000000000 +0200 +++ new/pyspnego-0.1.2/spnego/_version.py 2020-10-01 01:28:28.000000000 +0200 @@ -4,4 +4,4 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type # noqa (fixes E402 for the imports below) -__version__ = '0.1.0' +__version__ = '0.1.2' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyspnego-0.1.0/spnego/sspi.py new/pyspnego-0.1.2/spnego/sspi.py --- old/pyspnego-0.1.0/spnego/sspi.py 2020-07-22 09:11:37.000000000 +0200 +++ new/pyspnego-0.1.2/spnego/sspi.py 2020-10-01 01:28:28.000000000 +0200 @@ -221,11 +221,10 @@ return IOVWrapResult(buffers=_create_iov_result(iov_buffer), encrypted=encrypt) def wrap_winrm(self, data): - iov = self.wrap_iov([BufferType.header, data, BufferType.padding]).buffers + iov = self.wrap_iov([BufferType.header, data]).buffers enc_data = iov[1].data - padding = iov[2].data or b"" - return WinRMWrapResult(header=iov[0].data, data=enc_data + padding, padding_length=len(padding)) + return WinRMWrapResult(header=iov[0].data, data=enc_data, padding_length=0) def unwrap(self, data): res = self.unwrap_iov([(BufferType.stream, data), BufferType.data]) @@ -240,7 +239,7 @@ return IOVUnwrapResult(buffers=_create_iov_result(iov_buffer), encrypted=encrypted, qop=qop) def unwrap_winrm(self, header, data): - iov = self.unwrap_iov([(BufferType.header, header), data, BufferType.padding]).buffers + iov = self.unwrap_iov([(BufferType.header, header), data]).buffers return iov[1].data @wrap_system_error(NativeError, "Signing message")