forked from pool/python-paramiko
Accepting request 640130 from home:mimi_vx:branches:devel:languages:python
- update to 2.4.2
- refresh paramiko-test_extend_timeout.patch
* Fix exploit (CVE pending) in Paramiko's server mode (not client mode)
where hostile clients could trick the server into thinking they were
authenticated without actually submitting valid authentication.
* Modify protocol message handling such that Transport does not respond
to MSG_UNIMPLEMENTED with its own MSG_UNIMPLEMENTED
* Updated SSHConfig.lookup <paramiko.config.SSHConfig.lookup> so it returns
a new, type-casting-friendly dict subclass (~paramiko.config.SSHConfigDict)
in lieu of dict literals.
OBS-URL: https://build.opensuse.org/request/show/640130
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=73
This commit is contained in:
committed by
Git OBS Bridge
parent
73ed2fe7e7
commit
8972085b00
@@ -12,25 +12,23 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%bcond_without test
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-paramiko
|
||||
Version: 2.4.1
|
||||
Version: 2.4.2
|
||||
Release: 0
|
||||
Url: http://www.paramiko.org/
|
||||
Summary: SSH2 protocol library
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Languages/Python
|
||||
URL: http://www.paramiko.org/
|
||||
Source: https://files.pythonhosted.org/packages/source/p/paramiko/paramiko-%{version}.tar.gz
|
||||
# certificates needed by testsuite
|
||||
Source1: cert_support.tar.gz
|
||||
Patch0: paramiko-test_extend_timeout.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: %{python_module PyNaCl >= 1.0.1}
|
||||
BuildRequires: %{python_module bcrypt >= 3.1.3}
|
||||
BuildRequires: %{python_module cryptography >= 1.1}
|
||||
@@ -39,17 +37,16 @@ BuildRequires: %{python_module pyasn1 >= 0.1.7}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
|
||||
BuildRequires: %{python_module pytest-relaxed}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
Requires: python-PyNaCl >= 1.0.1
|
||||
Requires: python-bcrypt >= 3.1.3
|
||||
Requires: python-cryptography >= 1.5
|
||||
Requires: python-pyasn1 >= 0.1.7
|
||||
BuildArch: noarch
|
||||
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest-relaxed}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -92,11 +89,12 @@ export LANG=en_US.UTF-8
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE README.rst
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%files -n python-paramiko-doc
|
||||
%doc LICENSE demos/
|
||||
%license LICENSE
|
||||
%doc demos/
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user