Hello community, here is the log from the commit of package python-ntlm-auth for openSUSE:Leap:15.2 checked in at 2020-01-30 06:07:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-ntlm-auth (Old) and /work/SRC/openSUSE:Leap:15.2/.python-ntlm-auth.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ntlm-auth" Thu Jan 30 06:07:20 2020 rev:17 rq:763551 version:1.4.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-ntlm-auth/python-ntlm-auth.changes 2020-01-15 15:50:51.303508890 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-ntlm-auth.new.26092/python-ntlm-auth.changes 2020-01-30 06:07:20.358428776 +0100 @@ -1,0 +2,8 @@ +Mon Aug 26 21:10:54 UTC 2019 - Martin Hauke <[email protected]> + +- Update to version 1.4.0 + * Added the `session_key` attribute to the `NtlmContext` class + so the session key can be accessed in downstream libraries. + * Run spec-cleaner + +------------------------------------------------------------------- Old: ---- python-ntlm-auth-1.3.0.tar.gz New: ---- python-ntlm-auth-1.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ntlm-auth.spec ++++++ --- /var/tmp/diff_new_pack.S5neUA/_old 2020-01-30 06:07:21.154429222 +0100 +++ /var/tmp/diff_new_pack.S5neUA/_new 2020-01-30 06:07:21.158429224 +0100 @@ -18,12 +18,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ntlm-auth -Version: 1.3.0 +Version: 1.4.0 Release: 0 Summary: NTLM low-level Python library License: MIT Group: Development/Languages/Python -Url: https://github.com/jborean93/ntlm-auth +URL: https://github.com/jborean93/ntlm-auth Source: https://github.com/jborean93/ntlm-auth/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module cryptography} BuildRequires: %{python_module pytest} @@ -31,8 +31,8 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Suggests: python-ordereddict Recommends: python-cryptography +Suggests: python-ordereddict BuildArch: noarch %python_subpackages @@ -54,7 +54,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_version} +%pytest %files %{python_files} %license LICENSE ++++++ python-ntlm-auth-1.3.0.tar.gz -> python-ntlm-auth-1.4.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ntlm-auth-1.3.0/CHANGES.md new/ntlm-auth-1.4.0/CHANGES.md --- old/ntlm-auth-1.3.0/CHANGES.md 2019-04-09 02:00:52.000000000 +0200 +++ new/ntlm-auth-1.4.0/CHANGES.md 2019-08-19 02:51:07.000000000 +0200 @@ -1,5 +1,9 @@ # Changes +## 1.4.0 (Aug 19, 2019) + +* Added the `session_key` attribute to the `NtlmContext` class so the session key can be accessed in downstream libraries + ## 1.3.0 (Apr 9, 2019) * Added optional dependency for `cryptography` for faster RC4 cipher calls diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ntlm-auth-1.3.0/ntlm_auth/ntlm.py new/ntlm-auth-1.4.0/ntlm_auth/ntlm.py --- old/ntlm-auth-1.3.0/ntlm_auth/ntlm.py 2019-04-09 02:00:52.000000000 +0200 +++ new/ntlm-auth-1.4.0/ntlm_auth/ntlm.py 2019-08-19 02:51:07.000000000 +0200 @@ -49,6 +49,7 @@ self._server_certificate_hash = None # deprecated for backwards compat self.ntlm_compatibility = ntlm_compatibility self.complete = False + self.session_key = None # Setting up our flags so the challenge message returns the target info # block if supported @@ -91,6 +92,7 @@ flags = struct.unpack("<I", flag_bytes)[0] if flags & NegotiateFlags.NTLMSSP_NEGOTIATE_SEAL or \ flags & NegotiateFlags.NTLMSSP_NEGOTIATE_SIGN: + self.session_key = self._authenticate_message.exported_session_key self._session_security = SessionSecurity( flags, self._authenticate_message.exported_session_key ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ntlm-auth-1.3.0/setup.py new/ntlm-auth-1.4.0/setup.py --- old/ntlm-auth-1.3.0/setup.py 2019-04-09 02:00:52.000000000 +0200 +++ new/ntlm-auth-1.4.0/setup.py 2019-08-19 02:51:07.000000000 +0200 @@ -13,7 +13,7 @@ setup( name='ntlm-auth', - version='1.3.0', + version='1.4.0', packages=['ntlm_auth'], install_requires=[], extras_require={
