Hello community,
here is the log from the commit of package python-ntlm-auth for
openSUSE:Factory checked in at 2019-08-27 10:27:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ntlm-auth (Old)
and /work/SRC/openSUSE:Factory/.python-ntlm-auth.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ntlm-auth"
Tue Aug 27 10:27:49 2019 rev:6 rq:726275 version:1.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ntlm-auth/python-ntlm-auth.changes
2019-04-11 12:17:46.672949888 +0200
+++
/work/SRC/openSUSE:Factory/.python-ntlm-auth.new.7948/python-ntlm-auth.changes
2019-08-27 10:27:54.179912117 +0200
@@ -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.rpOC0o/_old 2019-08-27 10:27:54.935912060 +0200
+++ /var/tmp/diff_new_pack.rpOC0o/_new 2019-08-27 10:27:54.935912060 +0200
@@ -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={