17
0

103 Commits

Author SHA256 Message Date
3269f63b00 Accepting request 1284620 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1284620
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=66
2025-06-11 14:18:57 +00:00
137f55cb03 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=130
2025-06-11 06:13:44 +00:00
3d9fe0798c Accepting request 1245348 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1245348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=65
2025-02-12 20:30:38 +00:00
11870f1438 Accepting request 1245339 from home:glaubitz:branches:devel:languages:python
- Update to 3.5.1
  * [Bug] #2490: Private key material is now explicitly ‘unpadded’ during
    decryption, removing a reliance on some lax OpenSSL behavior & making
    us compatible with future Cryptography releases. Patch courtesy of
    Alex Gaynor.

OBS-URL: https://build.opensuse.org/request/show/1245339
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=128
2025-02-12 10:40:50 +00:00
cd91a6297e Accepting request 1225317 from devel:languages:python
- reenable python 313 build

- Update to 3.5.0:
  * [Feature] #982: (via #2444, which was a rebase of #2157)
    Add support for AES-GCM encryption ciphers (128 and 256 bit variants).
    Thanks to Alex Gaynor for the report (& for cryptography review),
    Shen Cheng for the original PR, and Chris Mason for the updated PR;
    plus as usual to everyone who tested the patches and reported their results!
    This functionality has been tested in client mode against OpenSSH 9.0, 9.2,
    and 9.6, as well as against a number of proprietary appliance SSH servers.

OBS-URL: https://build.opensuse.org/request/show/1225317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=64
2024-11-21 14:13:13 +00:00
f84bbeab33 - reenable python 313 build
* [Feature] #982: (via #2444, which was a rebase of #2157)
    Add support for AES-GCM encryption ciphers (128 and 256 bit variants).
    Thanks to Alex Gaynor for the report (& for cryptography review),
    Shen Cheng for the original PR, and Chris Mason for the updated PR;
    This functionality has been tested in client mode against OpenSSH 9.0, 9.2,
    and 9.6, as well as against a number of proprietary appliance SSH servers.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=126
2024-11-20 15:22:00 +00:00
0f6547ab77 Accepting request 1225296 from home:asmorodskyi:branches:devel:languages:python
- Update to 3.5.0:
  * [Feature] #982: (via #2444, which was a rebase of #2157) 
    Add support for AES-GCM encryption ciphers (128 and 256 bit variants). 
    Thanks to Alex Gaynor for the report (& for cryptography review), 
    Shen Cheng for the original PR, and Chris Mason for the updated PR; 
    plus as usual to everyone who tested the patches and reported their results!
    This functionality has been tested in client mode against OpenSSH 9.0, 9.2, 
    and 9.6, as well as against a number of proprietary appliance SSH servers.

OBS-URL: https://build.opensuse.org/request/show/1225296
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=125
2024-11-20 14:08:17 +00:00
724ce077f2 Accepting request 1197924 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1197924
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=63
2024-09-01 17:21:02 +00:00
247880b45b Accepting request 1194596 from home:alarrosa:branches:devel:languages:python
- Update to 3.4.1:
  * Fix a 64-bit-ism in the test suite so the tests don't
    encounter a false negative on 32-bit systems.
  * Modify a test-harness skiptest check to work with newer
    versions of Cryptography.
  * Massage our import of the TripleDES cipher to support
    Cryptography >=43; this should prevent
    CryptographyDeprecationWarning from appearing upon import.
- Remove patches that are not needed anymore since they've
  been fixed upstream:
  * support-pytest-8.patch
  * use-64-bit-maxsize-everywhere.patch

OBS-URL: https://build.opensuse.org/request/show/1194596
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=123
2024-08-30 17:20:46 +00:00
0fa89e891a Accepting request 1173814 from devel:languages:python
- Add patch support-pytest-8.patch:
  * Use non-deprecated setup method to support pytest >= 8.

OBS-URL: https://build.opensuse.org/request/show/1173814
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=62
2024-05-15 19:25:35 +00:00
264876dbf3 - Add patch support-pytest-8.patch:
* Use non-deprecated setup method to support pytest >= 8.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=121
2024-05-14 03:28:44 +00:00
64e98ae26f Accepting request 1134140 from devel:languages:python
- Update to 3.4.0: (CVE-2023-48795, bsc#1218168)
  * Transport grew a new packetizer_class kwarg for overriding the
    packet-handler class used internally.
  * Address CVE 2023-48795 (aka the "Terrapin Attack", a vulnerability found
    in the SSH protocol re: treatment of packet sequence numbers) as follows:
    + The vulnerability only impacts encrypt-then-MAC digest algorithms in
      tandem with CBC ciphers, and ChaCha20-poly1305; of these, Paramiko
      currently only implements hmac-sha2-(256|512)-etm in tandem with
      AES-CBC.
    + As the fix for the vulnerability requires both ends of the connection
      to cooperate, the below changes will only take effect when the remote
      end is OpenSSH >= 9.6 (or equivalent, such as Paramiko in server mode,
      as of this patch version) and configured to use the new
      "strict kex" mode.
    + Paramiko will now raise an SSHException subclass (MessageOrderError)
      when protocol messages are received in unexpected order. This includes
      situations like receiving MSG_DEBUG or MSG_IGNORE during initial key
      exchange, which are no longer allowed during strict mode.
    + Key (re)negotiation -- i.e. MSG_NEWKEYS, whenever it is encountered --
      now resets packet sequence numbers. (This should be invisible to users
      during normal operation, only causing exceptions if the exploit is
      encountered, which will usually result in, again, MessageOrderError.)
    + Sequence number rollover will now raise SSHException if it occurs
      during initial key exchange (regardless of strict mode status).
  * Tweak ext-info-(c|s) detection during KEXINIT protocol phase; the
    original implementation made assumptions based on an OpenSSH
    implementation detail.
- Add patch use-64-bit-maxsize-everywhere.patch:
  * Use the 64-bit value of sys.maxsize.

OBS-URL: https://build.opensuse.org/request/show/1134140
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=61
2023-12-20 20:00:13 +00:00
8261459e34 - Add patch use-64-bit-maxsize-everywhere.patch:
* Use the 64-bit value of sys.maxsize.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=119
2023-12-20 06:58:14 +00:00
7a85da3c5a - Update to 3.4.0: (CVE-2023-48795, bsc#1218168)
* Transport grew a new packetizer_class kwarg for overriding the
    packet-handler class used internally.
  * Address CVE 2023-48795 (aka the "Terrapin Attack", a vulnerability found
    in the SSH protocol re: treatment of packet sequence numbers) as follows:
    + The vulnerability only impacts encrypt-then-MAC digest algorithms in
      tandem with CBC ciphers, and ChaCha20-poly1305; of these, Paramiko
      currently only implements hmac-sha2-(256|512)-etm in tandem with
      AES-CBC.
    + As the fix for the vulnerability requires both ends of the connection
      to cooperate, the below changes will only take effect when the remote
      end is OpenSSH >= 9.6 (or equivalent, such as Paramiko in server mode,
      as of this patch version) and configured to use the new
      "strict kex" mode.
    + Paramiko will now raise an SSHException subclass (MessageOrderError)
      when protocol messages are received in unexpected order. This includes
      situations like receiving MSG_DEBUG or MSG_IGNORE during initial key
      exchange, which are no longer allowed during strict mode.
    + Key (re)negotiation -- i.e. MSG_NEWKEYS, whenever it is encountered --
      now resets packet sequence numbers. (This should be invisible to users
      during normal operation, only causing exceptions if the exploit is
      encountered, which will usually result in, again, MessageOrderError.)
    + Sequence number rollover will now raise SSHException if it occurs
      during initial key exchange (regardless of strict mode status).
  * Tweak ext-info-(c|s) detection during KEXINIT protocol phase; the
    original implementation made assumptions based on an OpenSSH
    implementation detail.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=118
2023-12-19 06:43:04 +00:00
5a3c6b45c6 Accepting request 1116019 from devel:languages:python
* [Feature] #1951: Add SSH config token expansion (eg %h, %p) when
  * [Support] #2004: (via #2011) Apply unittest skipIf to tests currently
    using SHA1 in their critical path, to avoid failures on systems starting
  * [Support] #1838: (via #1870/#2028) Update camelCase method calls
    against the threading module to be snake_case; this and related tweaks
  * [Support] #2038: (via #2039) Recent versions of Cryptography have
    deprecated Blowfish algorithm support; in lieu of an easy method for
    users to remove it from the list of algorithms Paramiko tries to import
    and use, we’ve decided to remove it from our “preferred algorithms” list.
    This will both discourage use of a weak algorithm, and avoid warnings.
  * [Bug] #2017: OpenSSH 7.7 and older has a bug preventing it from
    understanding how to perform SHA2 signature verification for RSA
    certificates (specifically certs - not keys), so when we added SHA2
    support it broke all clients using RSA certificates with these servers.
    This has been fixed in a manner similar to what OpenSSH’s own client
    does: a version check is performed and the algorithm used is downgraded
  * [Bug] #1933: Align signature verification algorithm with OpenSSH re:
    zero-padding signatures which don’t match their nominal size/length. This
    shouldn’t affect most users, but will help Paramiko-implemented SSH
- Update to 2.10.3 (bsc#1197279, CVE-2022-24302)
  - [Feature] #1846: Add a prefetch keyword argument to
  - [Support] #1727: Add missing test suite fixtures directory to
- Set environment to utf-8 to allow tests to pass on Python 2. (bsc#1178341)
  * gh#paramiko/paramiko#1655
- update to 2.7.2 (bsc#1166758, bsc#1166758, bsc#1205132)
- update to 2.6.0 (bsc#1200603)
- update to 2.5.0
  extend timeout in testsuite to pass on ppc64le
     key-decryption passphrases from password-auth passwords.
  * Certificate support broke the no-certificate case for Ed25519 keys

OBS-URL: https://build.opensuse.org/request/show/1116019
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=60
2023-10-06 19:12:11 +00:00
9f06bd07b1 * [Feature] #1951: Add SSH config token expansion (eg %h, %p) when
* [Support] #2004: (via #2011) Apply unittest skipIf to tests currently
    using SHA1 in their critical path, to avoid failures on systems starting
  * [Support] #1838: (via #1870/#2028) Update camelCase method calls
    against the threading module to be snake_case; this and related tweaks
  * [Support] #2038: (via #2039) Recent versions of Cryptography have
    deprecated Blowfish algorithm support; in lieu of an easy method for
    users to remove it from the list of algorithms Paramiko tries to import
    and use, we’ve decided to remove it from our “preferred algorithms” list.
    This will both discourage use of a weak algorithm, and avoid warnings.
  * [Bug] #2017: OpenSSH 7.7 and older has a bug preventing it from
    understanding how to perform SHA2 signature verification for RSA
    certificates (specifically certs - not keys), so when we added SHA2
    support it broke all clients using RSA certificates with these servers.
    This has been fixed in a manner similar to what OpenSSH’s own client
    does: a version check is performed and the algorithm used is downgraded
  * [Bug] #1933: Align signature verification algorithm with OpenSSH re:
    zero-padding signatures which don’t match their nominal size/length. This
    shouldn’t affect most users, but will help Paramiko-implemented SSH
- Update to 2.10.3 (bsc#1197279, CVE-2022-24302)
  - [Feature] #1846: Add a prefetch keyword argument to
  - [Support] #1727: Add missing test suite fixtures directory to
- Set environment to utf-8 to allow tests to pass on Python 2. (bsc#1178341)
  * gh#paramiko/paramiko#1655
- update to 2.7.2 (bsc#1166758, bsc#1166758, bsc#1205132)
- update to 2.6.0 (bsc#1200603)
- update to 2.5.0
  extend timeout in testsuite to pass on ppc64le
     key-decryption passphrases from password-auth passwords.
  * Certificate support broke the no-certificate case for Ed25519 keys

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=116
2023-10-06 10:37:03 +00:00
babe96f4a3 Accepting request 1114537 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1114537
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=59
2023-10-02 18:04:04 +00:00
e3b2b75bda Accepting request 1114462 from home:mimi_vx:branches:devel:languages:python
- refresh remove-icecream-dep.patch
- update to 3.3.1
 detailed changelog: https://www.paramiko.org/changelog.html#

OBS-URL: https://build.opensuse.org/request/show/1114462
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=114
2023-09-30 13:02:20 +00:00
a2c2986741 Accepting request 1086711 from devel:languages:python
- Delete paramiko-pr1665-remove-pytest-relaxed.patch
- Add remove-icecream-dep.patch
- Update to 3.1.0:
  * [Feature] #2173: Accept single tabs as field separators (in
    addition to single spaces) in
    <paramiko.hostkeys.HostKeyEntry.from_line> for parity with
    OpenSSH’s KnownHosts parser. Patched by Alex Chavkin.
  * [Feature] #2013: (solving #2009, plus others) Add an explicit
    channel_timeout keyword argument to
    paramiko.client.SSHClient.connect, allowing users to configure the
    previously-hardcoded default value of 3600 seconds. Thanks to
    @VakarisZ and @ilija-lazoroski for the report and patch, with
    credit to Mike Salvatore for patch review.
  * [Support] #2178: Apply codespell to the codebase, which found a
    lot of very old minor spelling mistakes in docstrings. Also
    modernize many instances of *largs vs *args and **kwarg vs
    **kwargs. Patch courtesy of Yaroslav Halchenko, with review from
    Brian Skinn.
- 3.0.0:
  * [Bug]: A handful of lower-level classes (notably
    paramiko.message.Message and paramiko.pkey.PKey) previously
    returned bytes objects from their implementation of __str__, even
    under Python 3; and there was never any __bytes__ method.
  * These issues have been fixed by renaming __str__ to __bytes__ and
    relying on Python’s default “stringification returns the output of
    __repr__” behavior re: any real attempts to str() such objects.
  * [Bug] #2165: Streamline some redundant (and costly) byte
    conversion calls in the packetizer and the core SFTP module. This
    should lead to some SFTP speedups at the very least. Thanks to
    Alex Gaynor for the patch.
  * [Bug] #2110: Remove some unnecessary __repr__ calls when handling
    bytes-vs-str conversions. This was apparently doing a lot of
    unintentional data processing, which adds up in some use cases –
    such as SFTP transfers, which may now be significantly faster.
    Kudos to Shuhua Zhong for catch & patch.
  * [Support]: Drop support for Python versions less than 3.6,
    including Python 2. So long and thanks for all the fish!
  * [Support]: Remove the now irrelevant paramiko.py3compat module.
  * [Support]: paramiko.common.asbytes has been moved to
    paramiko.util.asbytes.
  * [Support]: PKey.__cmp__ has been removed. Ordering-oriented
    comparison of key files is unlikely to have ever made sense (the
    old implementation attempted to order by the hashes of the key
    material) and so we have not bothered setting up __lt__ and
    friends at this time. The class continues to have its original
    __eq__ untouched.
  * [Support]: The behavior of private key classes’ (ie anything
    inheriting from PKey) private key writing methods used to perform
    a manual, extra chmod call after writing. This hasn’t been
    strictly necessary since the mid 2.x release line (when key
    writing started giving the mode argument to os.open), and has now
    been removed entirely.
  * This should only be observable if you were mocking Paramiko’s
    system calls during your own testing, or similar.
  * [Support] #732: (also re: #630) SSHConfig used to straight-up
    delete the proxycommand key from config lookup results when the
    source config said ProxyCommand none. This has been altered to
    preserve the key and give it the Python value None, thus making
    the Python representation more in line with the source config
    file.
  * [Support]: paramiko.util.retry_on_signal (and any internal uses of
    same, and also any internal retries of EINTR on eg socket
    operations) has been removed. As of Python 3.5, per PEP 475, this
    functionality (and retrying EINTR generally) is now part of the
    standard library.

OBS-URL: https://build.opensuse.org/request/show/1086711
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=58
2023-05-19 09:55:13 +00:00
7318e098f5 - Delete paramiko-pr1665-remove-pytest-relaxed.patch
- Add remove-icecream-dep.patch
- Update to 3.1.0:
  * [Feature] #2173: Accept single tabs as field separators (in
    addition to single spaces) in
    <paramiko.hostkeys.HostKeyEntry.from_line> for parity with
    OpenSSH’s KnownHosts parser. Patched by Alex Chavkin.
  * [Feature] #2013: (solving #2009, plus others) Add an explicit
    channel_timeout keyword argument to
    paramiko.client.SSHClient.connect, allowing users to configure the
    previously-hardcoded default value of 3600 seconds. Thanks to
    @VakarisZ and @ilija-lazoroski for the report and patch, with
    credit to Mike Salvatore for patch review.
  * [Support] #2178: Apply codespell to the codebase, which found a
    lot of very old minor spelling mistakes in docstrings. Also
    modernize many instances of *largs vs *args and **kwarg vs
    **kwargs. Patch courtesy of Yaroslav Halchenko, with review from
    Brian Skinn.
- 3.0.0:
  * [Bug]: A handful of lower-level classes (notably
    paramiko.message.Message and paramiko.pkey.PKey) previously
    returned bytes objects from their implementation of __str__, even
    under Python 3; and there was never any __bytes__ method.
  * These issues have been fixed by renaming __str__ to __bytes__ and
    relying on Python’s default “stringification returns the output of
    __repr__” behavior re: any real attempts to str() such objects.
  * [Bug] #2165: Streamline some redundant (and costly) byte
    conversion calls in the packetizer and the core SFTP module. This
    should lead to some SFTP speedups at the very least. Thanks to
    Alex Gaynor for the patch.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=112
2023-05-12 09:31:22 +00:00
bddbefa731 Accepting request 1083119 from devel:languages:python
- Move documentation into main package for SLE15

- add sle15_python_module_pythons (jsc#PED-68)

OBS-URL: https://build.opensuse.org/request/show/1083119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=57
2023-04-28 14:22:16 +00:00
dde39142b5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=110 2023-04-26 21:03:22 +00:00
6b590ad9a3 - Move documentation into main package for SLE15
- add sle15_python_module_pythons (jsc#PED-68)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=109
2023-04-26 21:03:02 +00:00
9b192296f7 Accepting request 1036980 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1036980
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=56
2022-11-22 15:09:15 +00:00
7841ed9f7e Accepting request 1036973 from home:bnavigator:branches:devel:languages:python
- Update to 2.12.0
  * [Feature] #2125: (also re: #2054) Add a transport_factory kwarg
    to SSHClient.connect for advanced users to gain more control
    over early Transport setup and manipulation. Thanks to Noah
    Pederson for the patch.
- Release 2.11.1
  * [Bug]: bug:1637 (via #1599) Raise SSHException explicitly when
    blank private key data is loaded, instead of the natural result
    of IndexError. This should help more bits of Paramiko or
    Paramiko-adjacent codebases to correctly handle this class of
    error. Credit: Nicholas Dietz.
  * [Bug] #1822: (via, and relating to, far too many other issues
    to mention here) Update SSHClient so it explicitly closes its
    wrapped socket object upon encountering socket errors at
    connection time. This should help somewhat with certain classes
    of memory leaks, resource warnings, and/or errors (though we
    hasten to remind everyone that Client and Transport have their
    own .close() methods for use in non-error situations!). Patch
    courtesy of @YoavCohen.
- Rename and refresh:
  - paramiko-pr1655-remove-pytest-relaxed.patch
  + paramiko-pr1665-remove-pytest-relaxed.patch
  * gh#paramiko/paramiko#1665

OBS-URL: https://build.opensuse.org/request/show/1036973
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=107
2022-11-20 20:28:40 +00:00
3694dbba48 Accepting request 979467 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/979467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=55
2022-05-30 10:42:42 +00:00
9d0dfec45a Accepting request 979399 from home:stroeder:python
update to 2.11.0

OBS-URL: https://build.opensuse.org/request/show/979399
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=105
2022-05-27 11:39:44 +00:00
902586e201 Accepting request 973836 from devel:languages:python
- update to 2.10.4:
  * Servers offering certificate variants of hostkey algorithms (eg
    ssh-rsa-cert-v01@openssh.com) could not have their host keys verified by
    Paramiko clients, as it only ever considered non-cert key types for that
    part of connection handshaking. This has been fixed.
  * gq PKey instances’ __eq__ did not have the usual safety guard in place to
    ensure they were being compared to another PKey object, causing occasional
    spurious BadHostKeyException (among other things). This has been fixed.
  * Update camelCase method calls against the threading module to be snake_case;
    this and related tweaks should fix some deprecation warnings under Python 3.10.

OBS-URL: https://build.opensuse.org/request/show/973836
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=54
2022-05-01 16:53:27 +00:00
cc75e79748 - update to 2.10.4:
* Servers offering certificate variants of hostkey algorithms (eg
    ssh-rsa-cert-v01@openssh.com) could not have their host keys verified by
    Paramiko clients, as it only ever considered non-cert key types for that
    part of connection handshaking. This has been fixed.
  * gq PKey instances’ __eq__ did not have the usual safety guard in place to
    ensure they were being compared to another PKey object, causing occasional
    spurious BadHostKeyException (among other things). This has been fixed.
  * Update camelCase method calls against the threading module to be snake_case;
    this and related tweaks should fix some deprecation warnings under Python 3.10.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=103
2022-04-29 06:46:25 +00:00
c87da3d9f8 Accepting request 967774 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/967774
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=53
2022-04-10 17:05:11 +00:00
c84053db75 Accepting request 967702 from home:pgajdos:python
- do not require python-mock for build

OBS-URL: https://build.opensuse.org/request/show/967702
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=101
2022-04-08 11:26:42 +00:00
bd45fb0593 Accepting request 963042 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/963042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=52
2022-03-22 18:36:09 +00:00
f54afdddfb Accepting request 962964 from home:stroeder:python
- Update to 2.10.3
  Too many changes to be listed here:
  https://www.paramiko.org/changelog.html

OBS-URL: https://build.opensuse.org/request/show/962964
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=99
2022-03-19 12:14:45 +00:00
3c02576da8 Accepting request 925623 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/925623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=51
2021-10-20 18:23:19 +00:00
432acdc5de Accepting request 924852 from home:ecsos
- Update to 2.8.0
  - [Feature] #1846: Add a prefetch keyword argument to 
    SFTPClient.get/SFTPClient.getfo so users who need to skip SFTP
    prefetching are able to conditionally turn it off.
  - [Bug] #1462: (via #1882) Newer server-side key exchange
    algorithms not intended to use SHA1 (diffie-hellman-group14-sha256,
    diffie-hellman-group16-sha512) were incorrectly using SHA1 after all,
    due to a bug causing them to ignore the hash_algo class attribute.
    This has been corrected.
  - [Support] #1722: Remove leading whitespace from OpenSSH RSA test
    suite static key fixture, to conform better to spec.
  - [Support] #1727: Add missing test suite fixtures directory to 
    MANIFEST.in, reinstating the ability to run Paramiko’s tests from
    an sdist tarball.
  - [Support]: Update our CI to catch issues with sdist generation,
    installation and testing.
  - [Support]: Administrivia overhaul, including but not limited to:
    - Migrate CI to CircleCI
    - Primary dev branch is now main (renamed)
    - Many README edits for clarity, modernization etc; including
      a bunch more (and consistent) status badges & unification with
      main project site index
    - PyPI page much more fleshed out (long_description is now filled
      in with the README; sidebar links expanded; etc)
    - flake8, pytest configs split out of setup.cfg into their own files
    - Invoke/invocations (used by maintainers/contributors) upgraded
      to modern versions
- Skip python2 to fix build errors for Leap.
- Rebase paramiko-pr1655-remove-pytest-relaxed.patch.

OBS-URL: https://build.opensuse.org/request/show/924852
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=98
2021-10-16 09:29:10 +00:00
ae1b510455 Accepting request 853510 from devel:languages:python
- Set environment to utf-8 to allow tests to pass on Python 2. (bsc#1178341)

OBS-URL: https://build.opensuse.org/request/show/853510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=50
2020-12-12 19:28:57 +00:00
2b1da4d95a - Set environment to utf-8 to allow tests to pass on Python 2. (bsc#1178341)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=96
2020-12-07 07:24:21 +00:00
97a831263d Accepting request 841523 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/841523
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=49
2020-10-29 08:47:52 +00:00
Tomáš Chvátal
207dd34892 Accepting request 841496 from home:bnavigator:branches:devel:languages:python:pytest
- remove dependency on pytest-relaxed
  * paramiko-pr1655-remove-pytest-relaxed.patch
  * gh#paramiko/paramiko#1655

OBS-URL: https://build.opensuse.org/request/show/841496
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=94
2020-10-13 11:47:59 +00:00
f9be60a928 Accepting request 832015 from devel:languages:python
- update to 2.7.2
- drop configs.tar.gz
 * Add missing test suite fixtures directory to MANIFEST.in
 * Remove leading whitespace from OpenSSH RSA test suite static key fixture,
 * Fix incorrect string formatting causing unhelpful error message annotation
     when using Kerberos/GSSAPI.
 * Fix incorrectly swapped order of p and q numbers when loading
     OpenSSH-format RSA private keys.

OBS-URL: https://build.opensuse.org/request/show/832015
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=48
2020-09-08 20:44:09 +00:00
133bc17d62 - update to 2.7.2
- drop configs.tar.gz
 * Add missing test suite fixtures directory to MANIFEST.in
 * Remove leading whitespace from OpenSSH RSA test suite static key fixture,
 * Fix incorrect string formatting causing unhelpful error message annotation
     when using Kerberos/GSSAPI.
 * Fix incorrectly swapped order of p and q numbers when loading
     OpenSSH-format RSA private keys.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=92
2020-09-04 06:31:05 +00:00
9c70ad06e9 Accepting request 758748 from devel:languages:python
- update to 2.7.1
- add configs.tar.gz with missing test data
 * full changelog at http://www.paramiko.org/changelog.html

OBS-URL: https://build.opensuse.org/request/show/758748
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=47
2019-12-25 09:54:17 +00:00
b0d4b4b528 - update to 2.7.1
- add configs.tar.gz with missing test data
 * full changelog at http://www.paramiko.org/changelog.html

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=90
2019-12-21 17:14:00 +00:00
a6ba40181b Accepting request 711850 from devel:languages:python
- update to 2.6.0
- drop relaxed.patch and 1311.patch
 * add a new keyword argument to SSHClient.connect <paramiko.client.SSHClient.connect>
     and paramiko.transport.Transport -> disabled_algorithms
 * Fix Ed25519 key handling so certain key comment lengths don't cause
    SSHException("Invalid key")
 * Add backwards-compatible support for the gssapi

OBS-URL: https://build.opensuse.org/request/show/711850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=46
2019-06-30 08:17:59 +00:00
d90052dcc1 - update to 2.6.0
- drop relaxed.patch and 1311.patch
 * add a new keyword argument to SSHClient.connect <paramiko.client.SSHClient.connect>
     and paramiko.transport.Transport -> disabled_algorithms
 * Fix Ed25519 key handling so certain key comment lengths don't cause
    SSHException("Invalid key")
 * Add backwards-compatible support for the gssapi

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=88
2019-06-25 10:50:32 +00:00
a54fc3ecb5 Accepting request 709720 from devel:languages:python
- update to 2.5.0 
- dropped 1379.patch
- refreshed patches:
    paramiko-test_extend_timeout.patch
    relaxed.patch
    1311.patch
 * Add support for encrypt-then-MAC (ETM) schemes (hmac-sha2-256-etm@openssh.com,
    hmac-sha2-512-etm@openssh.com) and two newer Diffie-Hellman group key exchange
    algorithms (group14, using SHA256; and group16, using SHA512).
 * Add support for Curve25519 key exchange.
 * Raise Cryptography dependency requirement to version 2.5
 * Add support for the modern (as of Python 3.3) import location of MutableMapping

OBS-URL: https://build.opensuse.org/request/show/709720
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=45
2019-06-18 12:51:19 +00:00
99e359078d - update to 2.5.0
- dropped 1379.patch
- refreshed patches:
    paramiko-test_extend_timeout.patch
    relaxed.patch
    1311.patch
 * Add support for encrypt-then-MAC (ETM) schemes (hmac-sha2-256-etm@openssh.com,
    hmac-sha2-512-etm@openssh.com) and two newer Diffie-Hellman group key exchange
    algorithms (group14, using SHA256; and group16, using SHA512).
 * Add support for Curve25519 key exchange.
 * Raise Cryptography dependency requirement to version 2.5
 * Add support for the modern (as of Python 3.3) import location of MutableMapping

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=86
2019-06-11 11:26:30 +00:00
218f577795 Accepting request 684702 from devel:languages:python
- Run tests verbosely
- Drop cert_support.tar.gz as it is currently properly in the release

OBS-URL: https://build.opensuse.org/request/show/684702
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=44
2019-03-29 19:34:19 +00:00
Tomáš Chvátal
8dd5a67f23 - Run tests verbosely
- Drop cert_support.tar.gz as it is currently properly in the release

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=84
2019-03-13 14:01:34 +00:00
Stephan Kulow
378dd9e5d5 Accepting request 676253 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/676253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=43
2019-02-17 11:19:00 +00:00
Tomáš Chvátal
574b17f830 Accepting request 676248 from home:frispete:python
- add empty line after %autopatch: build fails up to 42.3 otherwise

OBS-URL: https://build.opensuse.org/request/show/676248
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=82
2019-02-14 21:07:12 +00:00
1b1a101675 Accepting request 676196 from home:mimi_vx:branches:devel:languages:python
- drop python-pytest_relaxed dependency
- add patches:
   1311.patch - fix warnings
   1379.patch - fix support for gssapi
   relaxed.patch - remove unnecessary pytest_relaxed dep
- remove patch:
   disable-gssapi.patch - supersseded

OBS-URL: https://build.opensuse.org/request/show/676196
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=81
2019-02-14 19:17:12 +00:00
dbe6dc5c93 Accepting request 662763 from devel:languages:python
- update to 2.4.2 (bsc#1111151, CVE-2018-1000805)

OBS-URL: https://build.opensuse.org/request/show/662763
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=42
2019-01-08 11:17:15 +00:00
3571214a11 - update to 2.4.2 (bsc#1111151, CVE-2018-1000805)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=79
2019-01-04 09:46:40 +00:00
bee7876aaf Accepting request 659533 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659533
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=41
2018-12-26 23:27:20 +00:00
4d876b639d Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=77
2018-12-04 13:44:37 +00:00
be31339fb7 Accepting request 648723 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/648723
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=40
2018-11-18 22:21:24 +00:00
Tomáš Chvátal
4964a4e4df Accepting request 648722 from home:mimi_vx:branches:devel:languages:python
- add disable-gssapi.patch - workaround for boo#1115769

OBS-URL: https://build.opensuse.org/request/show/648722
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=75
2018-11-13 11:50:48 +00:00
480f6a9b6f Accepting request 640326 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/640326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=39
2018-10-15 08:05:10 +00:00
Tomáš Chvátal
8972085b00 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
2018-10-06 16:35:47 +00:00
c0b5653900 Accepting request 587599 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/587599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=38
2018-03-26 11:01:43 +00:00
Tomáš Chvátal
73ed2fe7e7 Accepting request 587595 from home:oertel:branches:devel:languages:python
- add paramiko-test_extend_timeout.patch (bsc#1085529)
  extend timeout in testsuite to pass on ppc64le

OBS-URL: https://build.opensuse.org/request/show/587595
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=71
2018-03-15 17:58:33 +00:00
899f25ae5d update to version 2.4.1 (bsc#1085276, CVE-2018-7750):
* changelog: update for #1039 / #1051
  * Screen off dev version of Python from test matrix
  * ensure ed25519 password is bytes
  * Cut 2.0.8
  * Cut 2.3.2
  * Initial tests proving CVE-2018-7750 / #1175
  * Guess something else added this prior to the merge
  * Fixes CVE-2018-7750 / #1175
  * Uncaught typo in test suite
  * Initial tests proving CVE-2018-7750 / #XXX
  * Test proving #1039 / efficacy of #1051
  * Changelog closes #1175
  * Cut 2.1.5
  * Allow overriding test client connect kwargs in Transport test suite
  * Cut 2.4.1
  * Fixes CVE-2018-7750 / #XXX
  * Cut 2.2.3
  * flake8

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=70
2018-03-15 07:57:46 +00:00
6804cd7157 Accepting request 542197 from devel:languages:python
- update to 2.4.0
  + new pytest based testsuite
  * dd a new passphrase kwarg to SSHClient.connect so users may disambiguate
     key-decryption passphrases from password-auth passwords. 
  * Drop Python 2.6 and Python 3.3 support (forwarded request 542196 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/542197
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=37
2017-11-17 09:55:03 +00:00
709f8f8c0a Accepting request 542196 from home:mimi_vx:branches:devel:languages:python
- update to 2.4.0
  + new pytest based testsuite
  * dd a new passphrase kwarg to SSHClient.connect so users may disambiguate
     key-decryption passphrases from password-auth passwords. 
  * Drop Python 2.6 and Python 3.3 support

OBS-URL: https://build.opensuse.org/request/show/542196
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=68
2017-11-16 09:40:16 +00:00
9baa2f451b Accepting request 531787 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/531787
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=36
2017-10-11 20:57:09 +00:00
Tomas Cech
65f2c8f7f8 Accepting request 531621 from home:mimi_vx:branches:devel:languages:python
- update to 2.3.1
  + cert_support.tar.gz - missing test certificates for testsuite
  * Certificate support broke the no-certificate case for Ed25519 keys 
      (symptom is an AttributeError about public_blob.) This went uncaught
      due to cert autoload behavior (i.e. our test suite never actually ran 
      the no-cert case, because the cert existed!) Both issues have been fixed. 
  * Implement basic client-side certificate authentication
      (as per the OpenSSH vendor extension.)
  * Added pre-authentication banner support for the server interface
      (ServerInterface.get_banner plus related support in Transport/AuthHandler.) 
  * Update Ed25519Key so its constructor offers the same file_obj parameter
      as its sibling key classes.
  * Add a gss_trust_dns option to Client and Transport to allow explicitly
      setting whether or not DNS canonicalization should occur when using GSSAPI. 
  * Paramiko originally defaulted to zlib compression level 9
      (when one connects with compression=True; it defaults to off.) This has been
      found to be quite wasteful and tends to cause much longer transfers in most
      cases, than is necessar
  * Enhance documentation around the new SFTP.posix_rename method
      so it’s referenced in the ‘standard’ rename method for increased visibility.
  * Modify logic around explicit disconnect messages, and unknown-channel situations,
      so that they rely on centralized shutdown code instead of running their own.
      This is at worst removing some unnecessary code, and may help with some
      situations where Paramiko hangs at the end of a session.
  * Display exception type and message when logging auth-rejection messages
      (ones reading Auth rejected: unsupported or mangled public key); previously
      this error case had a bare except and did not display exactly why the key
      failed.
  * Ed25519 keys never got proper API documentation support; this has been fixed.
  * Update how we use Cryptography‘s signature/verification methods

OBS-URL: https://build.opensuse.org/request/show/531621
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=66
2017-10-05 14:59:22 +00:00
c370f79484 Accepting request 516164 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/516164
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=35
2017-08-13 12:59:54 +00:00
4383f0ecfc Accepting request 515893 from home:tbechtold:branches:devel:languages:python
- update to 2.2.1:
  * Missed a spot
  * Update .travis.yml
  * Whitespace
  * Having this in a mini-toctree made the nav look funny and is also just unintuitive
  * Changelog re #471, re #65
  * these are bytes
  * changelog: update for #990 and #993
  * ecdh kex support
  * flake8/whitespace
  * Trailing comma
  * Add test for posix-rename@openssh.com extension for SFTP client
  * Changelog re #921
  * Add a note about new Python-level deps to changelog re: Ed25519 support
  * Add method for "posix-rename@openssh.com" extension for SFTP client.
  * Add IOError in posix-rename@openssh.com test for python 2 support.
  * this isnt bytes
  * Added a auth_timeout to handle situations where SSH server stops responding during auth.
  * small cleanups
  * More changelog flimflammery
  * Added changelog entry
  * python 3 compatibility
  * Incorrect comparison, should be <=
  * DDD re #857
  * Improve __hash__ functions
  * Hrm that should always have been an h1
  * No idea how this got past all the earlier flake8 work...
  * comments
  * Fixed test to support python 2.6
  * Note ecdh-sha2 preferred-kex placement in changelog entry for #951, re #983

OBS-URL: https://build.opensuse.org/request/show/515893
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=64
2017-08-11 14:34:08 +00:00
39206913ff Accepting request 503627 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/503627
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=34
2017-06-15 09:25:18 +00:00
Tomas Cech
1bf9ed68c1 Accepting request 502890 from home:mimi_vx:branches:devel:languages:python
- update to 2.1.3
* Make util.log_to_file append instead of replace.
* SSHClient and Transport could cause a memory leak if there’s a connection
	 problem or protocol error, even if Transport.close() is called.
* Prior support for ecdsa-sha2-nistp(384|521) algorithms didn’t fully extend
	 to covering host keys, preventing connection to hosts which only offer
	 these key types and no others. This is now fixed.
* Prefer newer ecdsa-sha2-nistp keys over RSA and DSA keys during host key
	 selection. This improves compatibility with OpenSSH, both in terms of general
	 behavior, and also re: ability to properly leverage OpenSSH-modified
	 known_hosts files.
* The RC4/arcfour family of ciphers has been broken since version 2.0; but since
	 the algorithm is now known to be completely insecure, we are opting
	 to remove support outright instead of fixing it.
* Move sha1 above the now-arguably-broken md5 in the list of preferred MAC
	 algorithms, as an incremental security improvement for users whose target
	 systems offer both.
* Writing encrypted/password-protected private key files was silently broken
	 since 2.0 due to an incorrect API call
     Includes a directly related fix, namely adding the ability to read AES-256-CBC
	 ciphered private keys (which is now what we tend to write out as it is
	 Cryptography’s default private key cipher.)
* Allow any type implementing the buffer API to be used with BufferedFile,
	 Channel, and SFTPFile. This resolves a regression introduced in 1.13
	 with the Python 3 porting changes, when using types such as memoryview.
* Enhance default cipher preference order such that aes(192|256)-cbc are preferred
	 over blowfish-cbc.
* SSHClient now requests the type of host key it has (e.g. from known_hosts)
	 and does not consider a different type to be a “Missing” host key. This fixes
	 a common case where an ECDSA key is in known_hosts and the server also has

OBS-URL: https://build.opensuse.org/request/show/502890
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=62
2017-06-14 09:20:40 +00:00
af95a57149 Accepting request 489399 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/489399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=33
2017-04-28 13:23:17 +00:00
Todd R
036cf9fd2a Accepting request 489398 from home:TheBlackCat:branches:devel:languages:python
Implement single-spec version.

OBS-URL: https://build.opensuse.org/request/show/489398
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=60
2017-04-19 17:40:20 +00:00
716821adcd Accepting request 482604 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/482604
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=32
2017-04-06 09:00:44 +00:00
2c6916bef0 - Fix version setting for cryptography for build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=58
2017-03-17 20:26:33 +00:00
ecc6c2202c - Add python-pyasn1 as Buildrequires for testing
- update to version 1.15.2 (bsc#962291)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=57
2017-03-16 22:24:38 +00:00
269e927eba Accepting request 460370 from home:mimi_vx:branches:devel:languages:python
- update to 2.1.2
* Fix a bug in server-mode concerning multiple interactive auth steps
*  SSHClient now gives its internal Transport a handle on itself, preventing 
    garbage collection of the client until the session is closed. Without this,
    some code which returns stream or transport objects without the client that
    generated them, would result in premature session closure
    when the client was GCd
* Avoid test suite exceptions on platforms lacking errno.ETIME
* weak how RSAKey.__str__ behaves so it doesn’t cause TypeError under Python 3.

OBS-URL: https://build.opensuse.org/request/show/460370
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=56
2017-03-01 11:04:50 +00:00
5dc3eeb21b Accepting request 445600 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/445600
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=31
2017-01-25 22:23:17 +00:00
Tomas Cech
c17c3544e3 Accepting request 445578 from home:mimi_vx:branches:devel:languages:python
- update to 2.1.1
* A tweak to the original patch implementing gh#398 was not fully applied, 
    causing calls to ~paramiko.client.SSHClient.invoke_shell to fail with
    AttributeError. This has been fixed.
* Fix the implementation of PKey.write_private_key_file (this method is only
    publicly defined on subclasses; the fix was in the private real
    implementation) so it passes the correct params to open()
* Add an optional timeout parameter to Transport.start_clienti
    <paramiko.transport.Transport.start_client> (and feed it the value of the
    configured connection timeout when used within SSHClient
    <paramiko.client.SSHClient>.)
* Catch AssertionError thrown by Cryptography when attempting to load bad
    ECDSA keys, turning it into an SSHException.
* Add a missing .closed attribute (plus ._closed because reasons) to
    ProxyCommand <paramiko.proxy.ProxyCommand>
* Make the subprocess import in proxy.py lazy so users on platforms without
    it (such as Google App Engine) can import Paramiko successfully
* Fix incorrect docstring/param-list for Transport.auth_gssapi_keyex
    <paramiko.transport.Transport.auth_gssapi_keyex> so it matches
    the real signature.
* Add an environment dict argument to Client.exec_command

OBS-URL: https://build.opensuse.org/request/show/445578
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=54
2016-12-13 13:24:54 +00:00
369d66e845 Accepting request 433751 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/433751
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=30
2016-10-10 14:23:58 +00:00
38d374403f Accepting request 433728 from home:tbechtold:branches:devel:languages:python
- Fix Requires for python-cryptography
- Add missing Requires for python-pyasn1

OBS-URL: https://build.opensuse.org/request/show/433728
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=52
2016-10-07 13:03:18 +00:00
a699dc96ea Accepting request 416421 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/416421
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=29
2016-08-03 09:45:11 +00:00
3719c9aeb0 Accepting request 416173 from home:stroeder:branches:devel:languages:python
update 2.0.2

OBS-URL: https://build.opensuse.org/request/show/416173
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=50
2016-08-01 14:20:37 +00:00
0e5e1a20b7 Accepting request 414636 from home:stroeder:branches:devel:languages:python
update to upstream bugfix release 2.0.1

OBS-URL: https://build.opensuse.org/request/show/414636
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=49
2016-07-25 11:00:57 +00:00
a417e78c16 Accepting request 407224 from devel:languages:python
- fix build

- fix source url

- update to 2.0.0:
  * Add support for 384- and 512-bit elliptic curve groups in ECDSA
    key types (aka ecdsa-sha2-nistp384 / ecdsa-sha2-nistp521).
  * Due to an earlier bugfix, less-specific Host blocks' ProxyCommand
    values were overriding ProxyCommand none in more-specific Host
    blocks. This has been fixed in a backwards compatible manner (i.e.
    ProxyCommand none continues to appear as a total lack of any
    proxycommand key in parsed config structures).
  * Fix a backwards incompatibility issue that cropped up in 
    SFTPFile.prefetch <~paramiko.sftp_file.prefetch> re: the 
    erroneously non-optional file_size parameter. Should only affect 
    users who manually call prefetch. 
  * Replace PyCrypto with the Python Cryptographic Authority (PyCA)
    'Cryptography' library suite. This improves security,
    installability, and performance; adds PyPy support; and much more.
  * Fix stalled/hung SFTP downloads by cleaning up some threading lock
    issues.
  * Fix a Python 3 compatibility issue when handling two-factor
    authentication.
  * Clean up setup.py to always use setuptools, not doing so was a 
    historical artifact from bygone days.
  * Update the module in charge of handling SSH moduli so it's
    consistent with OpenSSH behavior re: prime number selection. 
  * Fix up ~paramiko.ssh_exception.NoValidConnectionsError so it 
    pickles correctly, and fix a related Python 3 compatibility issue.
  * Update to jaraco.windows 3.4.1 to fix some errors related to

OBS-URL: https://build.opensuse.org/request/show/407224
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=28
2016-07-14 07:46:16 +00:00
92e497ae2a - fix build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=47
2016-07-08 08:50:13 +00:00
6ad183d5d9 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=46 2016-07-08 08:50:06 +00:00
40be356d60 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=45 2016-06-06 11:33:24 +00:00
fccb1cb4ba - fix source url
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=44
2016-06-06 11:32:16 +00:00
d5ee96b8c7 Accepting request 394312 from home:frispete:python
- update to 2.0.0:
  * Add support for 384- and 512-bit elliptic curve groups in ECDSA
    key types (aka ecdsa-sha2-nistp384 / ecdsa-sha2-nistp521).
  * Due to an earlier bugfix, less-specific Host blocks' ProxyCommand
    values were overriding ProxyCommand none in more-specific Host
    blocks. This has been fixed in a backwards compatible manner (i.e.
    ProxyCommand none continues to appear as a total lack of any
    proxycommand key in parsed config structures).
  * Fix a backwards incompatibility issue that cropped up in 
    SFTPFile.prefetch <~paramiko.sftp_file.prefetch> re: the 
    erroneously non-optional file_size parameter. Should only affect 
    users who manually call prefetch. 
  * Replace PyCrypto with the Python Cryptographic Authority (PyCA)
    'Cryptography' library suite. This improves security,
    installability, and performance; adds PyPy support; and much more.
  * Fix stalled/hung SFTP downloads by cleaning up some threading lock
    issues.
  * Fix a Python 3 compatibility issue when handling two-factor
    authentication.
  * Clean up setup.py to always use setuptools, not doing so was a 
    historical artifact from bygone days.
  * Update the module in charge of handling SSH moduli so it's
    consistent with OpenSSH behavior re: prime number selection. 
  * Fix up ~paramiko.ssh_exception.NoValidConnectionsError so it 
    pickles correctly, and fix a related Python 3 compatibility issue.
  * Update to jaraco.windows 3.4.1 to fix some errors related to 
    ctypes on Windows platforms. 
  * Annotate some public attributes on ~paramiko.channel.Channel such
    as .closed.
  * Fix logic bug in the SFTP client's callback-calling functionality;

OBS-URL: https://build.opensuse.org/request/show/394312
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=43
2016-05-09 11:19:07 +00:00
77ade3d6b8 Accepting request 357111 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/357111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=27
2016-02-03 09:19:41 +00:00
Todd R
8272f69af6 Accepting request 357107 from home:TheBlackCat:branches:devel:languages:python
update to version 1.16.0

OBS-URL: https://build.opensuse.org/request/show/357107
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=41
2016-02-01 11:46:39 +00:00
879dece9da Accepting request 287912 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/287912
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=26
2015-02-27 10:09:59 +00:00
Denisart Benjamin
e7459222d1 Accepting request 287872 from home:tbechtold:branches:devel:languages:python
New upstream release

OBS-URL: https://build.opensuse.org/request/show/287872
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=39
2015-02-26 12:14:39 +00:00
Stephan Kulow
4d9e4e615e Accepting request 253693 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/253693
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=25
2014-10-05 18:31:19 +00:00
Denisart Benjamin
27d637db9c Accepting request 253684 from home:anubisg1:branches:devel:languages:python
new upstream version 1.15.1

OBS-URL: https://build.opensuse.org/request/show/253684
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=37
2014-10-02 18:23:11 +00:00
Stephan Kulow
8e32aa6cee Accepting request 236020 from devel:languages:python
- update to 1.13.1:
* :support:`256 backported` Convert API documentation to Sphinx, yielding a new
  API docs website to replace the old Epydoc one.
* 🐛`-` Use constant-time hash comparison operations where possible, to
  protect against `timing-based attacks
  <http://codahale.com/a-lesson-in-timing-attacks/>`_. Thanks to Alex Gaynor
  for the patch.
* :feature:`58` Allow client code to access the stored SSH server banner via
  `Transport.get_banner <paramiko.transport.Transport.get_banner>`. Thanks to
  ``@Jhoanor`` for the patch.
* 🐛`252` (`Fabric #1020 <https://github.com/fabric/fabric/issues/1020>`_)
  Enhanced the implementation of ``ProxyCommand`` to avoid a deadlock/hang
  condition that frequently occurs at ``Transport`` shutdown time. Thanks to
  Mateusz Kobos, Matthijs van der Vleuten and Guillaume Zitta for the original
  reports and to Marius Gedminas for helping test nontrivial use cases.
* 🐛`268` Fix some missed renames of ``ProxyCommand`` related error classes.
  Thanks to Marius Gedminas for catch & patch.
* 🐛`34` (PR :issue:`35`) Fix SFTP prefetching incompatibility with some
  SFTP servers regarding request/response ordering. Thanks to Richard
  Kettlewell.
* 🐛`193` (and its attentant PRs :issue:`230` & :issue:`253`) Fix SSH agent
  problems present on Windows. Thanks to David Hobbs for initial report and to
  Aarni Koskela & Olle Lundberg for the patches.
* 🐛`225 (1.12+)` Note ecdsa requirement in README. Thanks to Amaury
  Rodriguez for the catch.
* 🐛`176` Fix AttributeError bugs in known_hosts file (re)loading. Thanks
  to Nathan Scowcroft for the patch & Martin Blumenstingl for the initial test
  case. (forwarded request 235923 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/236020
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=23
2014-06-04 16:39:26 +00:00
Sascha Peilicke
35f5c29962 Accepting request 235923 from Cloud:OpenStack:Master
- update to 1.13.1:
* :support:`256 backported` Convert API documentation to Sphinx, yielding a new
  API docs website to replace the old Epydoc one.
* 🐛`-` Use constant-time hash comparison operations where possible, to
  protect against `timing-based attacks
  <http://codahale.com/a-lesson-in-timing-attacks/>`_. Thanks to Alex Gaynor
  for the patch.
* :feature:`58` Allow client code to access the stored SSH server banner via
  `Transport.get_banner <paramiko.transport.Transport.get_banner>`. Thanks to
  ``@Jhoanor`` for the patch.
* 🐛`252` (`Fabric #1020 <https://github.com/fabric/fabric/issues/1020>`_)
  Enhanced the implementation of ``ProxyCommand`` to avoid a deadlock/hang
  condition that frequently occurs at ``Transport`` shutdown time. Thanks to
  Mateusz Kobos, Matthijs van der Vleuten and Guillaume Zitta for the original
  reports and to Marius Gedminas for helping test nontrivial use cases.
* 🐛`268` Fix some missed renames of ``ProxyCommand`` related error classes.
  Thanks to Marius Gedminas for catch & patch.
* 🐛`34` (PR :issue:`35`) Fix SFTP prefetching incompatibility with some
  SFTP servers regarding request/response ordering. Thanks to Richard
  Kettlewell.
* 🐛`193` (and its attentant PRs :issue:`230` & :issue:`253`) Fix SSH agent
  problems present on Windows. Thanks to David Hobbs for initial report and to
  Aarni Koskela & Olle Lundberg for the patches.
* 🐛`225 (1.12+)` Note ecdsa requirement in README. Thanks to Amaury
  Rodriguez for the catch.
* 🐛`176` Fix AttributeError bugs in known_hosts file (re)loading. Thanks
  to Nathan Scowcroft for the patch & Martin Blumenstingl for the initial test
  case.

OBS-URL: https://build.opensuse.org/request/show/235923
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=35
2014-06-02 09:08:50 +00:00
Stephan Kulow
ecccd880e8 Accepting request 231087 from devel:languages:python
- include in SLE 12 (FATE #315990) (forwarded request 230779 from rjschwei)

OBS-URL: https://build.opensuse.org/request/show/231087
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=22
2014-04-26 08:11:13 +00:00
Denisart Benjamin
f6bfa46c7c Accepting request 230779 from home:rjschwei:branches:devel:languages:python
- include in SLE 12 (FATE #315990)

OBS-URL: https://build.opensuse.org/request/show/230779
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=33
2014-04-22 18:52:51 +00:00
Stephan Kulow
80b6b1c791 Accepting request 208362 from devel:languages:python
- Update to version 1.12  
  * #152: Add tentative support for ECDSA keys. *This adds the ecdsa
    module as a new dependency of Paramiko.* The module is available at
    [warner/python-ecdsa on Github](https://github.com/warner/python-ecdsa) and
    [ecdsa on PyPI](https://pypi.python.org/pypi/ecdsa).
    * Note that you might still run into problems with key negotiation --
      Paramiko picks the first key that the server offers, which might not be
      what you have in your known_hosts file.
    * Mega thanks to Ethan Glasser-Camp for the patch.
  * #136: Add server-side support for the SSH protocol's 'env' command
- Use local source instead of service
- Add python-ecdsa requirement; new dependency (forwarded request 208361 from posophe)

OBS-URL: https://build.opensuse.org/request/show/208362
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-paramiko?expand=0&rev=21
2013-12-03 11:34:19 +00:00
Denisart Benjamin
43c7cfe849 Accepting request 208361 from home:posophe:branches:devel:languages:python
- Update to version 1.12  
  * #152: Add tentative support for ECDSA keys. *This adds the ecdsa
    module as a new dependency of Paramiko.* The module is available at
    [warner/python-ecdsa on Github](https://github.com/warner/python-ecdsa) and
    [ecdsa on PyPI](https://pypi.python.org/pypi/ecdsa).
    * Note that you might still run into problems with key negotiation --
      Paramiko picks the first key that the server offers, which might not be
      what you have in your known_hosts file.
    * Mega thanks to Ethan Glasser-Camp for the patch.
  * #136: Add server-side support for the SSH protocol's 'env' command
- Use local source instead of service
- Add python-ecdsa requirement; new dependency

OBS-URL: https://build.opensuse.org/request/show/208361
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=31
2013-11-25 23:04:45 +00:00
Denisart Benjamin
facafbb788 Accepting request 208318 from home:fischersFritz
OBS-URL: https://build.opensuse.org/request/show/208318
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-paramiko?expand=0&rev=30
2013-11-25 22:53:27 +00:00
6 changed files with 998 additions and 29 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d46fb8af4c4ffca3c55c600c17354c7c149d8c5dcd7cd6395f4fa0ce2deaca87
size 842743

BIN
paramiko-3.5.1.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -0,0 +1,13 @@
Index: paramiko-2.5.0/tests/test_buffered_pipe.py
===================================================================
--- paramiko-2.5.0.orig/tests/test_buffered_pipe.py
+++ paramiko-2.5.0/tests/test_buffered_pipe.py
@@ -68,7 +68,7 @@ class BufferedPipeTest(unittest.TestCase
self.assertTrue(False)
except PipeTimeout:
pass
- self.assertEqual(b"b", p.read(1, 1.0))
+ self.assertEqual(b"b", p.read(1, 3.0))
self.assertEqual(b"", p.read(1))
def test_close_while_reading(self):

View File

@@ -1,3 +1,892 @@
-------------------------------------------------------------------
Wed Jun 11 05:49:23 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Wed Feb 12 10:26:08 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.5.1
* [Bug] #2490: Private key material is now explicitly unpadded during
decryption, removing a reliance on some lax OpenSSL behavior & making
us compatible with future Cryptography releases. Patch courtesy of
Alex Gaynor.
-------------------------------------------------------------------
Wed Nov 20 15:21:50 UTC 2024 - Dirk Müller <dmueller@suse.com>
- reenable python 313 build
-------------------------------------------------------------------
Wed Nov 20 10:00:34 UTC 2024 - Anton Smorodskyi <anton.smorodskyi@suse.com>
- Update to 3.5.0:
* [Feature] #982: (via #2444, which was a rebase of #2157)
Add support for AES-GCM encryption ciphers (128 and 256 bit variants).
Thanks to Alex Gaynor for the report (& for cryptography review),
Shen Cheng for the original PR, and Chris Mason for the updated PR;
plus as usual to everyone who tested the patches and reported their results!
This functionality has been tested in client mode against OpenSSH 9.0, 9.2,
and 9.6, as well as against a number of proprietary appliance SSH servers.
-------------------------------------------------------------------
Sun Aug 18 17:53:00 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
- Update to 3.4.1:
* Fix a 64-bit-ism in the test suite so the tests don't
encounter a false negative on 32-bit systems.
* Modify a test-harness skiptest check to work with newer
versions of Cryptography.
* Massage our import of the TripleDES cipher to support
Cryptography >=43; this should prevent
CryptographyDeprecationWarning from appearing upon import.
- Remove patches that are not needed anymore since they've
been fixed upstream:
* support-pytest-8.patch
* use-64-bit-maxsize-everywhere.patch
-------------------------------------------------------------------
Tue May 14 03:27:34 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch support-pytest-8.patch:
* Use non-deprecated setup method to support pytest >= 8.
-------------------------------------------------------------------
Wed Dec 20 06:57:15 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 3.4.0: (CVE-2023-48795, bsc#1218168)
* Transport grew a new packetizer_class kwarg for overriding the
packet-handler class used internally.
* Address CVE 2023-48795 (aka the "Terrapin Attack", a vulnerability found
in the SSH protocol re: treatment of packet sequence numbers) as follows:
+ The vulnerability only impacts encrypt-then-MAC digest algorithms in
tandem with CBC ciphers, and ChaCha20-poly1305; of these, Paramiko
currently only implements hmac-sha2-(256|512)-etm in tandem with
AES-CBC.
+ As the fix for the vulnerability requires both ends of the connection
to cooperate, the below changes will only take effect when the remote
end is OpenSSH >= 9.6 (or equivalent, such as Paramiko in server mode,
as of this patch version) and configured to use the new
"strict kex" mode.
+ Paramiko will now raise an SSHException subclass (MessageOrderError)
when protocol messages are received in unexpected order. This includes
situations like receiving MSG_DEBUG or MSG_IGNORE during initial key
exchange, which are no longer allowed during strict mode.
+ Key (re)negotiation -- i.e. MSG_NEWKEYS, whenever it is encountered --
now resets packet sequence numbers. (This should be invisible to users
during normal operation, only causing exceptions if the exploit is
encountered, which will usually result in, again, MessageOrderError.)
+ Sequence number rollover will now raise SSHException if it occurs
during initial key exchange (regardless of strict mode status).
* Tweak ext-info-(c|s) detection during KEXINIT protocol phase; the
original implementation made assumptions based on an OpenSSH
implementation detail.
- Add patch use-64-bit-maxsize-everywhere.patch:
* Use the 64-bit value of sys.maxsize.
-------------------------------------------------------------------
Fri Sep 29 22:29:46 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
- refresh remove-icecream-dep.patch
- update to 3.3.1
detailed changelog: https://www.paramiko.org/changelog.html#
-------------------------------------------------------------------
Fri May 12 09:27:30 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Delete paramiko-pr1665-remove-pytest-relaxed.patch
- Add remove-icecream-dep.patch
- Update to 3.1.0:
* [Feature] #2173: Accept single tabs as field separators (in
addition to single spaces) in
<paramiko.hostkeys.HostKeyEntry.from_line> for parity with
OpenSSHs KnownHosts parser. Patched by Alex Chavkin.
* [Feature] #2013: (solving #2009, plus others) Add an explicit
channel_timeout keyword argument to
paramiko.client.SSHClient.connect, allowing users to configure the
previously-hardcoded default value of 3600 seconds. Thanks to
@VakarisZ and @ilija-lazoroski for the report and patch, with
credit to Mike Salvatore for patch review.
* [Support] #2178: Apply codespell to the codebase, which found a
lot of very old minor spelling mistakes in docstrings. Also
modernize many instances of *largs vs *args and **kwarg vs
**kwargs. Patch courtesy of Yaroslav Halchenko, with review from
Brian Skinn.
- 3.0.0:
* [Bug]: A handful of lower-level classes (notably
paramiko.message.Message and paramiko.pkey.PKey) previously
returned bytes objects from their implementation of __str__, even
under Python 3; and there was never any __bytes__ method.
* These issues have been fixed by renaming __str__ to __bytes__ and
relying on Pythons default “stringification returns the output of
__repr__” behavior re: any real attempts to str() such objects.
* [Bug] #2165: Streamline some redundant (and costly) byte
conversion calls in the packetizer and the core SFTP module. This
should lead to some SFTP speedups at the very least. Thanks to
Alex Gaynor for the patch.
* [Bug] #2110: Remove some unnecessary __repr__ calls when handling
bytes-vs-str conversions. This was apparently doing a lot of
unintentional data processing, which adds up in some use cases
such as SFTP transfers, which may now be significantly faster.
Kudos to Shuhua Zhong for catch & patch.
* [Support]: Drop support for Python versions less than 3.6,
including Python 2. So long and thanks for all the fish!
* [Support]: Remove the now irrelevant paramiko.py3compat module.
* [Support]: paramiko.common.asbytes has been moved to
paramiko.util.asbytes.
* [Support]: PKey.__cmp__ has been removed. Ordering-oriented
comparison of key files is unlikely to have ever made sense (the
old implementation attempted to order by the hashes of the key
material) and so we have not bothered setting up __lt__ and
friends at this time. The class continues to have its original
__eq__ untouched.
* [Support]: The behavior of private key classes (ie anything
inheriting from PKey) private key writing methods used to perform
a manual, extra chmod call after writing. This hasnt been
strictly necessary since the mid 2.x release line (when key
writing started giving the mode argument to os.open), and has now
been removed entirely.
* This should only be observable if you were mocking Paramikos
system calls during your own testing, or similar.
* [Support] #732: (also re: #630) SSHConfig used to straight-up
delete the proxycommand key from config lookup results when the
source config said ProxyCommand none. This has been altered to
preserve the key and give it the Python value None, thus making
the Python representation more in line with the source config
file.
* [Support]: paramiko.util.retry_on_signal (and any internal uses of
same, and also any internal retries of EINTR on eg socket
operations) has been removed. As of Python 3.5, per PEP 475, this
functionality (and retrying EINTR generally) is now part of the
standard library.
-------------------------------------------------------------------
Sun Apr 23 23:16:46 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Move documentation into main package for SLE15
-------------------------------------------------------------------
Fri Apr 21 12:28:59 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Sun Nov 20 18:38:07 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 2.12.0
* [Feature] #2125: (also re: #2054) Add a transport_factory kwarg
to SSHClient.connect for advanced users to gain more control
over early Transport setup and manipulation. Thanks to Noah
Pederson for the patch.
- Release 2.11.1
* [Bug]: bug:1637 (via #1599) Raise SSHException explicitly when
blank private key data is loaded, instead of the natural result
of IndexError. This should help more bits of Paramiko or
Paramiko-adjacent codebases to correctly handle this class of
error. Credit: Nicholas Dietz.
* [Bug] #1822: (via, and relating to, far too many other issues
to mention here) Update SSHClient so it explicitly closes its
wrapped socket object upon encountering socket errors at
connection time. This should help somewhat with certain classes
of memory leaks, resource warnings, and/or errors (though we
hasten to remind everyone that Client and Transport have their
own .close() methods for use in non-error situations!). Patch
courtesy of @YoavCohen.
- Rename and refresh:
- paramiko-pr1655-remove-pytest-relaxed.patch
+ paramiko-pr1665-remove-pytest-relaxed.patch
* gh#paramiko/paramiko#1665
-------------------------------------------------------------------
Thu May 26 20:43:45 UTC 2022 - Michael Ströder <michael@stroeder.com>
- update to 2.11.0
* [Feature] #1951: Add SSH config token expansion (eg %h, %p) when
parsing ProxyJump directives.
* [Support] #2004: (via #2011) Apply unittest skipIf to tests currently
using SHA1 in their critical path, to avoid failures on systems starting
to disable SHA1 outright in their crypto backends (eg RHEL 9).
* [Support] #1838: (via #1870/#2028) Update camelCase method calls
against the threading module to be snake_case; this and related tweaks
should fix some deprecation warnings under Python 3.10.
* [Support] #2038: (via #2039) Recent versions of Cryptography have
deprecated Blowfish algorithm support; in lieu of an easy method for
users to remove it from the list of algorithms Paramiko tries to import
and use, weve decided to remove it from our “preferred algorithms” list.
This will both discourage use of a weak algorithm, and avoid warnings.
- update to 2.10.5
* [Bug] #2008: (via #2010) Windows-native SSH agent support as merged in
2.10 could encounter Errno 22 OSError exceptions in some scenarios
(eg server not cleanly closing a relevant named pipe).
This has been worked around and should be less problematic.
* [Bug] #2017: OpenSSH 7.7 and older has a bug preventing it from
understanding how to perform SHA2 signature verification for RSA
certificates (specifically certs - not keys), so when we added SHA2
support it broke all clients using RSA certificates with these servers.
This has been fixed in a manner similar to what OpenSSHs own client
does: a version check is performed and the algorithm used is downgraded
if needed.
* [Bug] #1933: Align signature verification algorithm with OpenSSH re:
zero-padding signatures which dont match their nominal size/length. This
shouldnt affect most users, but will help Paramiko-implemented SSH
servers handle poorly behaved clients such as PuTTY.
-------------------------------------------------------------------
Thu Apr 28 21:26:08 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 2.10.4:
* Servers offering certificate variants of hostkey algorithms (eg
ssh-rsa-cert-v01@openssh.com) could not have their host keys verified by
Paramiko clients, as it only ever considered non-cert key types for that
part of connection handshaking. This has been fixed.
* gq PKey instances __eq__ did not have the usual safety guard in place to
ensure they were being compared to another PKey object, causing occasional
spurious BadHostKeyException (among other things). This has been fixed.
* Update camelCase method calls against the threading module to be snake_case;
this and related tweaks should fix some deprecation warnings under Python 3.10.
-------------------------------------------------------------------
Fri Apr 8 07:44:16 UTC 2022 - pgajdos@suse.com
- do not require python-mock for build
-------------------------------------------------------------------
Fri Mar 18 22:52:45 UTC 2022 - Michael Ströder <michael@stroeder.com>
- Update to 2.10.3 (bsc#1197279, CVE-2022-24302)
Too many changes to be listed here:
https://www.paramiko.org/changelog.html
-------------------------------------------------------------------
Tue Oct 12 11:03:02 UTC 2021 - ecsos <ecsos@opensuse.org>
- Update to 2.8.0
- [Feature] #1846: Add a prefetch keyword argument to
SFTPClient.get/SFTPClient.getfo so users who need to skip SFTP
prefetching are able to conditionally turn it off.
- [Bug] #1462: (via #1882) Newer server-side key exchange
algorithms not intended to use SHA1 (diffie-hellman-group14-sha256,
diffie-hellman-group16-sha512) were incorrectly using SHA1 after all,
due to a bug causing them to ignore the hash_algo class attribute.
This has been corrected.
- [Support] #1722: Remove leading whitespace from OpenSSH RSA test
suite static key fixture, to conform better to spec.
- [Support] #1727: Add missing test suite fixtures directory to
MANIFEST.in, reinstating the ability to run Paramikos tests from
an sdist tarball.
- [Support]: Update our CI to catch issues with sdist generation,
installation and testing.
- [Support]: Administrivia overhaul, including but not limited to:
- Migrate CI to CircleCI
- Primary dev branch is now main (renamed)
- Many README edits for clarity, modernization etc; including
a bunch more (and consistent) status badges & unification with
main project site index
- PyPI page much more fleshed out (long_description is now filled
in with the README; sidebar links expanded; etc)
- flake8, pytest configs split out of setup.cfg into their own files
- Invoke/invocations (used by maintainers/contributors) upgraded
to modern versions
- Skip python2 to fix build errors for Leap.
- Rebase paramiko-pr1655-remove-pytest-relaxed.patch.
-------------------------------------------------------------------
Mon Dec 7 07:22:31 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- Set environment to utf-8 to allow tests to pass on Python 2. (bsc#1178341)
-------------------------------------------------------------------
Tue Oct 13 10:51:07 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- remove dependency on pytest-relaxed
* paramiko-pr1655-remove-pytest-relaxed.patch
* gh#paramiko/paramiko#1655
-------------------------------------------------------------------
Fri Sep 4 06:29:23 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 2.7.2 (bsc#1166758, bsc#1166758, bsc#1205132)
- drop configs.tar.gz
* Add missing test suite fixtures directory to MANIFEST.in
* Remove leading whitespace from OpenSSH RSA test suite static key fixture,
* Fix incorrect string formatting causing unhelpful error message annotation
when using Kerberos/GSSAPI.
* Fix incorrectly swapped order of p and q numbers when loading
OpenSSH-format RSA private keys.
-------------------------------------------------------------------
Sat Dec 21 17:11:48 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 2.7.1
- add configs.tar.gz with missing test data
* full changelog at http://www.paramiko.org/changelog.html
-------------------------------------------------------------------
Tue Jun 25 10:47:26 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 2.6.0 (bsc#1200603)
- drop relaxed.patch and 1311.patch
* add a new keyword argument to SSHClient.connect <paramiko.client.SSHClient.connect>
and paramiko.transport.Transport -> disabled_algorithms
* Fix Ed25519 key handling so certain key comment lengths don't cause
SSHException("Invalid key")
* Add backwards-compatible support for the gssapi
-------------------------------------------------------------------
Tue Jun 11 11:22:32 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 2.5.0
- dropped 1379.patch
- refreshed patches:
paramiko-test_extend_timeout.patch
relaxed.patch
1311.patch
* Add support for encrypt-then-MAC (ETM) schemes (hmac-sha2-256-etm@openssh.com,
hmac-sha2-512-etm@openssh.com) and two newer Diffie-Hellman group key exchange
algorithms (group14, using SHA256; and group16, using SHA512).
* Add support for Curve25519 key exchange.
* Raise Cryptography dependency requirement to version 2.5
* Add support for the modern (as of Python 3.3) import location of MutableMapping
-------------------------------------------------------------------
Wed Mar 13 14:01:04 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Run tests verbosely
- Drop cert_support.tar.gz as it is currently properly in the release
-------------------------------------------------------------------
Thu Feb 14 20:49:56 UTC 2019 - Hans-Peter Jansen <hpj@urpla.net>
- add empty line after %autopatch: build fails up to 42.3 otherwise
-------------------------------------------------------------------
Thu Feb 14 17:00:13 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- drop python-pytest_relaxed dependency
- add patches:
1311.patch - fix warnings
1379.patch - fix support for gssapi
relaxed.patch - remove unnecessary pytest_relaxed dep
- remove patch:
disable-gssapi.patch - supersseded
-------------------------------------------------------------------
Tue Dec 4 12:51:08 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Tue Nov 13 11:47:43 UTC 2018 - Ondřej Súkup <mimi.vx@gmail.com>
- add disable-gssapi.patch - workaround for boo#1115769
-------------------------------------------------------------------
Fri Oct 5 08:26:46 UTC 2018 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 2.4.2 (bsc#1111151, CVE-2018-1000805)
- 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.
-------------------------------------------------------------------
Thu Mar 15 18:38:22 CET 2018 - ro@suse.de
- add paramiko-test_extend_timeout.patch (bsc#1085529)
extend timeout in testsuite to pass on ppc64le
-------------------------------------------------------------------
Thu Mar 15 07:10:09 UTC 2018 - tbechtold@suse.com
update to version 2.4.1 (bsc#1085276, CVE-2018-7750):
* changelog: update for #1039 / #1051
* Screen off dev version of Python from test matrix
* ensure ed25519 password is bytes
* Cut 2.0.8
* Cut 2.3.2
* Initial tests proving CVE-2018-7750 / #1175
* Guess something else added this prior to the merge
* Fixes CVE-2018-7750 / #1175
* Uncaught typo in test suite
* Initial tests proving CVE-2018-7750 / #XXX
* Test proving #1039 / efficacy of #1051
* Changelog closes #1175
* Cut 2.1.5
* Allow overriding test client connect kwargs in Transport test suite
* Cut 2.4.1
* Fixes CVE-2018-7750 / #XXX
* Cut 2.2.3
* flake8
-------------------------------------------------------------------
Thu Nov 16 09:36:24 UTC 2017 - mimi.vx@gmail.com
- update to 2.4.0
+ new pytest based testsuite
* dd a new passphrase kwarg to SSHClient.connect so users may disambiguate
key-decryption passphrases from password-auth passwords.
* Drop Python 2.6 and Python 3.3 support
-------------------------------------------------------------------
Thu Oct 5 11:12:50 UTC 2017 - mimi.vx@gmail.com
- update to 2.3.1
+ cert_support.tar.gz - missing test certificates for testsuite
* Certificate support broke the no-certificate case for Ed25519 keys
(symptom is an AttributeError about public_blob.) This went uncaught
due to cert autoload behavior (i.e. our test suite never actually ran
the no-cert case, because the cert existed!) Both issues have been fixed.
* Implement basic client-side certificate authentication
(as per the OpenSSH vendor extension.)
* Added pre-authentication banner support for the server interface
(ServerInterface.get_banner plus related support in Transport/AuthHandler.)
* Update Ed25519Key so its constructor offers the same file_obj parameter
as its sibling key classes.
* Add a gss_trust_dns option to Client and Transport to allow explicitly
setting whether or not DNS canonicalization should occur when using GSSAPI.
* Paramiko originally defaulted to zlib compression level 9
(when one connects with compression=True; it defaults to off.) This has been
found to be quite wasteful and tends to cause much longer transfers in most
cases, than is necessar
* Enhance documentation around the new SFTP.posix_rename method
so its referenced in the standard rename method for increased visibility.
* Modify logic around explicit disconnect messages, and unknown-channel situations,
so that they rely on centralized shutdown code instead of running their own.
This is at worst removing some unnecessary code, and may help with some
situations where Paramiko hangs at the end of a session.
* Display exception type and message when logging auth-rejection messages
(ones reading Auth rejected: unsupported or mangled public key); previously
this error case had a bare except and did not display exactly why the key
failed.
* Ed25519 keys never got proper API documentation support; this has been fixed.
* Update how we use Cryptographys signature/verification methods
so we arent relying on a deprecated API.
-------------------------------------------------------------------
Thu Oct 5 10:33:48 UTC 2017 - mimi.vx@gmail.com
- update to 2.2.2:
* SSHClient now requests the type of host key it has (e.g. from known_hosts)
and does not consider a different type to be a “Missing” host key.
This fixes a common case where an ECDSA key is in known_hosts and the server
also has an RSA host key.
* Fix up host-key checking in our GSSAPI support, which was previously
using an incorrect API call
* Fix key exchange (kex) algorithm list for GSSAPI authentication;
reviously, the list used solely out-of-date algorithms, and now contains
newer ones listed preferentially before the old
* Clean up GSSAPI authentication procedures so they do not prevent normal
fallback to other authentication methods on failure.
* Add rekeying support to GSSAPI connections, which was erroneously missing.
-------------------------------------------------------------------
Thu Aug 10 08:11:25 UTC 2017 - tbechtold@suse.com
- update to 2.2.1:
* Missed a spot
* Update .travis.yml
* Whitespace
* Having this in a mini-toctree made the nav look funny and is also just unintuitive
* Changelog re #471, re #65
* these are bytes
* changelog: update for #990 and #993
* ecdh kex support
* flake8/whitespace
* Trailing comma
* Add test for posix-rename@openssh.com extension for SFTP client
* Changelog re #921
* Add a note about new Python-level deps to changelog re: Ed25519 support
* Add method for "posix-rename@openssh.com" extension for SFTP client.
* Add IOError in posix-rename@openssh.com test for python 2 support.
* this isnt bytes
* Added a auth_timeout to handle situations where SSH server stops responding during auth.
* small cleanups
* More changelog flimflammery
* Added changelog entry
* python 3 compatibility
* Incorrect comparison, should be <=
* DDD re #857
* Improve __hash__ functions
* Hrm that should always have been an h1
* No idea how this got past all the earlier flake8 work...
* comments
* Fixed test to support python 2.6
* Note ecdh-sha2 preferred-kex placement in changelog entry for #951, re #983
* Changelog language tweaks
* Reorder cipher and key preferences to make more sense
* Added a test to check that the auth_timeout argument is passed through and applied.
* Changelog tweak
* Cut 2.2.1
* transport: change order of preferred kex and hmac algorithms
* need bcrypt >= 3.1.3 for kdf() ignore_few_rounds kwarg
* Changelog re #972, re #325, closes #325
* cleanup/simplify auth_timeout tests
* Missed a merge conflict lolol
* flake8
* Changelog re #951
* Perplexed at why flake8 did not report this earlier
* Add Python 3.6 to classifiers
* Add support for posix-rename@openssh.com for the SFTP server side and fix tests accordingly.
* sphinx nitpick fixes
* Fixed encoding/decoding of the public key on the wire
* Added test for authentication timeout from a non-responsive server
* refactor files
* fixed comment + consistency
* Changelog re #857
* Cut 2.2.0
* integration test, with ourselves
* TODO
* That was easy. Closes #857
* Add sanity note to changelog re #869
* Unit tests
* Fixes #325 -- add support for Ed25519 keys
* Happy New Year
* implement __hash__() method for Ed25519Key
* pep8
* Increased auth_timeout to 30 seconds
* py3k
* fixed long line
* Link to the spec
* set a minimum version
* Support decrypting keys
* Failing test proving need for #857
- move demos/ to extra -doc package
-------------------------------------------------------------------
Sun Jun 11 16:32:09 UTC 2017 - mimi.vx@gmail.com
- update to 2.1.3
* Make util.log_to_file append instead of replace.
* SSHClient and Transport could cause a memory leak if theres a connection
problem or protocol error, even if Transport.close() is called.
* Prior support for ecdsa-sha2-nistp(384|521) algorithms didnt fully extend
to covering host keys, preventing connection to hosts which only offer
these key types and no others. This is now fixed.
* Prefer newer ecdsa-sha2-nistp keys over RSA and DSA keys during host key
selection. This improves compatibility with OpenSSH, both in terms of general
behavior, and also re: ability to properly leverage OpenSSH-modified
known_hosts files.
* The RC4/arcfour family of ciphers has been broken since version 2.0; but since
the algorithm is now known to be completely insecure, we are opting
to remove support outright instead of fixing it.
* Move sha1 above the now-arguably-broken md5 in the list of preferred MAC
algorithms, as an incremental security improvement for users whose target
systems offer both.
* Writing encrypted/password-protected private key files was silently broken
since 2.0 due to an incorrect API call
Includes a directly related fix, namely adding the ability to read AES-256-CBC
ciphered private keys (which is now what we tend to write out as it is
Cryptographys default private key cipher.)
* Allow any type implementing the buffer API to be used with BufferedFile,
Channel, and SFTPFile. This resolves a regression introduced in 1.13
with the Python 3 porting changes, when using types such as memoryview.
* Enhance default cipher preference order such that aes(192|256)-cbc are preferred
over blowfish-cbc.
* SSHClient now requests the type of host key it has (e.g. from known_hosts)
and does not consider a different type to be a “Missing” host key. This fixes
a common case where an ECDSA key is in known_hosts and the server also has
an RSA host key.
* Overhaul the codebase to be PEP-8
-------------------------------------------------------------------
Wed Apr 19 17:24:58 UTC 2017 - toddrme2178@gmail.com
- Implement single-spec version.
-------------------------------------------------------------------
Fri Mar 17 20:25:35 UTC 2017 - rjschwei@suse.com
- Fix version setting for cryptography for build
-------------------------------------------------------------------
Thu Mar 16 22:23:45 UTC 2017 - rjschwei@suse.com
- Add python-pyasn1 as Buildrequires for testing
-------------------------------------------------------------------
Fri Feb 24 16:27:00 UTC 2017 - mimi.vx@gmail.com
- update to 2.1.2
* Fix a bug in server-mode concerning multiple interactive auth steps
* SSHClient now gives its internal Transport a handle on itself, preventing
garbage collection of the client until the session is closed. Without this,
some code which returns stream or transport objects without the client that
generated them, would result in premature session closure
when the client was GCd
* Avoid test suite exceptions on platforms lacking errno.ETIME
* weak how RSAKey.__str__ behaves so it doesnt cause TypeError under Python 3.
-------------------------------------------------------------------
Tue Dec 13 11:50:39 UTC 2016 - mimi.vx@gmail.com
- update to 2.1.1
* A tweak to the original patch implementing gh#398 was not fully applied,
causing calls to ~paramiko.client.SSHClient.invoke_shell to fail with
AttributeError. This has been fixed.
* Fix the implementation of PKey.write_private_key_file (this method is only
publicly defined on subclasses; the fix was in the private real
implementation) so it passes the correct params to open()
* Add an optional timeout parameter to Transport.start_clienti
<paramiko.transport.Transport.start_client> (and feed it the value of the
configured connection timeout when used within SSHClient
<paramiko.client.SSHClient>.)
* Catch AssertionError thrown by Cryptography when attempting to load bad
ECDSA keys, turning it into an SSHException.
* Add a missing .closed attribute (plus ._closed because reasons) to
ProxyCommand <paramiko.proxy.ProxyCommand>
* Make the subprocess import in proxy.py lazy so users on platforms without
it (such as Google App Engine) can import Paramiko successfully
* Fix incorrect docstring/param-list for Transport.auth_gssapi_keyex
<paramiko.transport.Transport.auth_gssapi_keyex> so it matches
the real signature.
* Add an environment dict argument to Client.exec_command
-------------------------------------------------------------------
Fri Oct 7 09:13:06 UTC 2016 - tbechtold@suse.com
- Fix Requires for python-cryptography
- Add missing Requires for python-pyasn1
-------------------------------------------------------------------
Sun Jul 31 12:15:25 UTC 2016 - michael@stroeder.com
- update to 2.0.2
* [Bug] #758: Apply type definitions to _winapi module from
jaraco.windows 3.6.1. This should address issues on Windows platforms
that often result in errors like ArgumentError: [...] int too long to
convert. Thanks to @swohlerLL for the report and Jason R. Coombs for the
patch.
* [Bug] #774: Add a _closed private attribute to Channel objects so that
they continue functioning when used as proxy sockets under Python 3 (e.g.
as direct-tcpip gateways for other Paramiko connections.)
* [Bug] #673: (via #681) Fix protocol banner read errors (SSHException)
which would occasionally pop up when using ProxyCommand gatewaying.
Thanks to @Depado for the initial report and Paul Kapp for the fix.
-------------------------------------------------------------------
Sat Jul 23 14:20:34 UTC 2016 - michael@stroeder.com
- updated homepage URL
- update to 2.0.1:
* [Bug] #537: Fix a bug in BufferedPipe.set_event which could cause
deadlocks/hangs when one uses select.select against Channel objects (or
otherwise calls Channel.fileno after the channel has closed).
* [Bug] #520: (Partial fix) Fix at least one instance of race condition
driven threading hangs at end of the Python interpreter session.
(Includes a docs update as well - always make sure to .close() your
clients!)
-------------------------------------------------------------------
Fri Jul 8 08:50:08 UTC 2016 - dmueller@suse.com
- fix build
-------------------------------------------------------------------
Mon Jun 6 11:32:04 UTC 2016 - dmueller@suse.com
- fix source url
-------------------------------------------------------------------
Sun May 8 21:11:31 UTC 2016 - hpj@urpla.net
- update to 2.0.0:
* Add support for 384- and 512-bit elliptic curve groups in ECDSA
key types (aka ecdsa-sha2-nistp384 / ecdsa-sha2-nistp521).
* Due to an earlier bugfix, less-specific Host blocks' ProxyCommand
values were overriding ProxyCommand none in more-specific Host
blocks. This has been fixed in a backwards compatible manner (i.e.
ProxyCommand none continues to appear as a total lack of any
proxycommand key in parsed config structures).
* Fix a backwards incompatibility issue that cropped up in
SFTPFile.prefetch <~paramiko.sftp_file.prefetch> re: the
erroneously non-optional file_size parameter. Should only affect
users who manually call prefetch.
* Replace PyCrypto with the Python Cryptographic Authority (PyCA)
'Cryptography' library suite. This improves security,
installability, and performance; adds PyPy support; and much more.
* Fix stalled/hung SFTP downloads by cleaning up some threading lock
issues.
* Fix a Python 3 compatibility issue when handling two-factor
authentication.
* Clean up setup.py to always use setuptools, not doing so was a
historical artifact from bygone days.
* Update the module in charge of handling SSH moduli so it's
consistent with OpenSSH behavior re: prime number selection.
* Fix up ~paramiko.ssh_exception.NoValidConnectionsError so it
pickles correctly, and fix a related Python 3 compatibility issue.
* Update to jaraco.windows 3.4.1 to fix some errors related to
ctypes on Windows platforms.
* Annotate some public attributes on ~paramiko.channel.Channel such
as .closed.
* Fix logic bug in the SFTP client's callback-calling functionality;
previously there was a chance the given callback would fire twice
at the end of a transfer.
* Identify & work around a race condition in the test for handshake
timeouts, which was causing frequent test failures for a subset of
contributors as well as Travis-CI (usually, but not always,
limited to Python 3.5).
* Remove whitespace in our setup.py's install_requires as it
triggers occasional bugs in some versions of setuptools.
* Strip trailing/leading whitespace from lines when parsing SSH
config files - this brings things in line with OpenSSH behavior.
* Fix behavior of gssapi-with-mic auth requests so they fail
gracefully (allowing followup via other auth methods) instead of
raising an exception.
* Add missing file-like object methods for ~paramiko.file.BufferedFile
and ~paramiko.sftp_file.SFTPFile.
* Clean up and enhance the README (and rename it to README.rst from
just README).
-------------------------------------------------------------------
Mon Feb 1 11:26:44 UTC 2016 - toddrme2178@gmail.com
- Add --no-transport to fix a known issue with the tests
https://github.com/paramiko/paramiko/issues/574
Check if still failing on next release.
The tests is currently failing on Python 3.5, but it is not
actually Python 3.5 specific, it is just more likely to be
encountered on Python 3.5
- update to version 1.16.0:
* Streamline use of stat when downloading SFTP files via
SFTPClient.get <paramiko.sftp_client.SFTPClient.get>; this avoids
triggering bugs in some off-spec SFTP servers such as IBM
Sterling. Thanks to @muraleee for the initial report and to Torkil
Gustavsen for the patch.
* Fully enable two-factor authentication (e.g. when a server
requires AuthenticationMethods
pubkey,keyboard-interactive). Thanks to @perryjrandall for the
patch and to @nevins-b and Matt Robenolt for additional support.
* Fix 'exec' requests in server mode to use get_string instead of
get_text to avoid UnicodeDecodeError on non-UTF-8 input. Thanks to
Anselm Kruis for the patch & discussion.
* Fix line number reporting in log output regarding invalid
known_hosts line entries. Thanks to Dylan Thacker-Smith for catch
& patch.
* Update the vendored Windows API addon to a more recent
edition. Also fixes :issue:`193`, :issue:`488`,
:issue:`498`. Thanks to Jason Coombs.
-------------------------------------------------------------------
Thu Feb 26 11:00:52 UTC 2015 - tbechtold@suse.com
- update to version 1.15.2 (bsc#962291)
* [Bug] #320: Update our win_pageant module to be Python 3 compatible
* [Bug] #429: Server-level debug message logging was overlooked during the
Python 3 compatibility update; Python 3 clients attempting to log SSH
debug packets encountered type errors. This is now fixed
* [Bug] #459: Tighten up agent connection closure behavior to avoid
spurious ResourceWarning display in some situations
* [Bug] #266: Change numbering of Transport channels to start at 0
instead of 1 for better compatibility with OpenSSH & certain server
implementations which break on 1-indexed channels
* [Support] #419: Modernize a bunch of the codebase internals to
leverage decorators. Props to @beckjake for realizing were no longer
on Python 2.2 :D
* [Support] #421: Modernize threading calls to user newer API
* [Support] #422: Clean up some unused imports
* [Support] #431: Replace handrolled ssh_config parsing code with
use of the shlex module
* [Bug] #415: Fix ssh_config parsing to correctly interpret ProxyCommand
none as the lack of a proxy command, instead of as a literal command
string of "none"
* [Bug] #428: Fix an issue in BufferedFile (primarily used in the SFTP
modules) concerning incorrect behavior by readlines on files whose
size exceeds the buffer size
* [Bug] #455: Tweak packet size handling to conform better to the
OpenSSH RFCs; this helps address issues with interactive program cursors
* [Bug] #413: (also #414, #420, #454) Be significantly smarter about polling
& timing behavior when running proxy commands, to avoid unnecessary
(often 100%!) CPU usage
-------------------------------------------------------------------
Thu Oct 2 16:33:24 UTC 2014 - andrea@opensuse.org
- new upsteam version 1.15.1
* fixed from previous version: Bug] #399: SSH agent forwarding
would hang due to incorrect values passed into the new window
size arguments for Transport
* detailed changelog available on pramiko website:
http://paramiko-www.readthedocs.org/en/latest/changelog.html
-------------------------------------------------------------------
Sat May 31 11:35:11 UTC 2014 - dmueller@suse.com
- update to 1.13.1:
* :support:`256 backported` Convert API documentation to Sphinx, yielding a new
API docs website to replace the old Epydoc one.
* :bug:`-` Use constant-time hash comparison operations where possible, to
protect against `timing-based attacks
<http://codahale.com/a-lesson-in-timing-attacks/>`_. Thanks to Alex Gaynor
for the patch.
* :feature:`58` Allow client code to access the stored SSH server banner via
`Transport.get_banner <paramiko.transport.Transport.get_banner>`. Thanks to
``@Jhoanor`` for the patch.
* :bug:`252` (`Fabric #1020 <https://github.com/fabric/fabric/issues/1020>`_)
Enhanced the implementation of ``ProxyCommand`` to avoid a deadlock/hang
condition that frequently occurs at ``Transport`` shutdown time. Thanks to
Mateusz Kobos, Matthijs van der Vleuten and Guillaume Zitta for the original
reports and to Marius Gedminas for helping test nontrivial use cases.
* :bug:`268` Fix some missed renames of ``ProxyCommand`` related error classes.
Thanks to Marius Gedminas for catch & patch.
* :bug:`34` (PR :issue:`35`) Fix SFTP prefetching incompatibility with some
SFTP servers regarding request/response ordering. Thanks to Richard
Kettlewell.
* :bug:`193` (and its attentant PRs :issue:`230` & :issue:`253`) Fix SSH agent
problems present on Windows. Thanks to David Hobbs for initial report and to
Aarni Koskela & Olle Lundberg for the patches.
* :bug:`225 (1.12+)` Note ecdsa requirement in README. Thanks to Amaury
Rodriguez for the catch.
* :bug:`176` Fix AttributeError bugs in known_hosts file (re)loading. Thanks
to Nathan Scowcroft for the patch & Martin Blumenstingl for the initial test
case.
-------------------------------------------------------------------
Fri Apr 18 15:10:24 UTC 2014 - rschweikert@suse.com
- include in SLE 12 (FATE #315990)
-------------------------------------------------------------------
Mon Nov 25 23:01:56 UTC 2013 - p.drouand@gmail.com
- Update to version 1.12
* #152: Add tentative support for ECDSA keys. *This adds the ecdsa
module as a new dependency of Paramiko.* The module is available at
[warner/python-ecdsa on Github](https://github.com/warner/python-ecdsa) and
[ecdsa on PyPI](https://pypi.python.org/pypi/ecdsa).
* Note that you might still run into problems with key negotiation --
Paramiko picks the first key that the server offers, which might not be
what you have in your known_hosts file.
* Mega thanks to Ethan Glasser-Camp for the patch.
* #136: Add server-side support for the SSH protocol's 'env' command
- Use local source instead of service
- Add python-ecdsa requirement; new dependency
-------------------------------------------------------------------
Sun Oct 27 17:50:34 UTC 2013 - lukas@wunner.de
- update to 1.11.2:
* #156: Fix potential deadlock condition when using Channel objects as
sockets (e.g. when using SSH gatewaying). Thanks to Steven Noonan and
Frank Arnold for catch & patch.
* #179: Fix a missing variable causing errors when an ssh_config file
has a non-default AddressFamily set. Thanks to Ed Marshall & Tomaz
Muraus for catch & patch.
* #200: Fix an exception-causing typo in `demo_simple.py`. Thanks to
Alex Buchanan for catch & Dave Foster for patch.
* #199: Typo fix in the license header cross-project. Thanks to Armin
Ronacher for catch & patch.
* #162: Clean up HMAC module import to avoid deadlocks in certain uses
of SSHClient. Thanks to Gernot Hillier for the catch & suggested fix.
* #36: Fix the port-forwarding demo to avoid file descriptor errors.
Thanks to Jonathan Halcrow for catch & patch.
* #168: Update config handling to properly handle multiple 'localforward'
and 'remoteforward' keys. Thanks to Emre Yilmaz for the patch.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 3 08:06:53 UTC 2013 - dmueller@suse.com Tue Sep 3 08:06:53 UTC 2013 - dmueller@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-paramiko # spec file for package python-paramiko
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,28 +12,46 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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/
# #
%{?sle15_python_module_pythons}
Name: python-paramiko Name: python-paramiko
Version: 1.11.0 Version: 3.5.1
Release: 0 Release: 0
Url: http://www.lag.net/paramiko/
Summary: SSH2 protocol library Summary: SSH2 protocol library
License: LGPL-2.1+ License: LGPL-2.1-or-later
Group: Development/Languages/Python URL: https://www.paramiko.org/
Source: http://pypi.python.org/packages/source/p/paramiko/paramiko-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/p/paramiko/paramiko-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch0: paramiko-test_extend_timeout.patch
BuildRequires: python-devel # PATCH-FIX-OPENSUSE remove-icecream-dep.patch to do not depend on python-icecream and unvendor lexicon
BuildRequires: python-pycrypto >= 2.1 Patch1: remove-icecream-dep.patch
BuildRequires: unzip BuildRequires: %{python_module PyNaCl >= 1.0.1}
Requires: python-pycrypto >= 2.1 BuildRequires: %{python_module Sphinx}
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 BuildRequires: %{python_module bcrypt >= 3.2}
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} BuildRequires: %{python_module cryptography >= 3.3}
%else BuildRequires: %{python_module gssapi}
BuildRequires: %{python_module invocations}
BuildRequires: %{python_module invoke >= 2.0}
BuildRequires: %{python_module lexicon}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pyasn1}
BuildRequires: %{python_module pytest-relaxed}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Recommends: python-gssapi
Recommends: python-invoke
Recommends: python-pyasn1 >= 0.1.7
Requires: python-PyNaCl >= 1.5
Requires: python-bcrypt >= 3.2
Requires: python-cryptography >= 3.3
BuildArch: noarch BuildArch: noarch
%endif %python_subpackages
%description %description
This is a library for making SSH2 connections (client or server). This is a library for making SSH2 connections (client or server).
@@ -41,22 +59,44 @@ Emphasis is on using SSH2 as an alternative to SSL for making secure
connections between python scripts. All major ciphers and hash methods connections between python scripts. All major ciphers and hash methods
are supported. SFTP client and server mode are both supported too. are supported. SFTP client and server mode are both supported too.
%package -n python-paramiko-doc
Summary: Documentation for %{name}
Provides: %{python_module paramiko-doc = %{version}}
%description -n python-paramiko-doc
This is a library for making SSH2 connections (client or server).
Emphasis is on using SSH2 as an alternative to SSL for making secure
connections between python scripts. All major ciphers and hash methods
are supported. SFTP client and server mode are both supported too.
This package contains the documentation.
%prep %prep
%setup -q -n paramiko-%{version} %autosetup -p1 -n paramiko-%{version}
sed -i "/#!.*/d" demos/{demo_keygen,rforward,demo_simple,demo_sftp,demo}.py # Fix doc-file-dependency # Fix non-executable script rpmlint issue:
find demos -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \; -exec chmod -x {} \;
%build %build
python setup.py build %pyproject_wheel
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
python test.py export LANG=en_US.UTF-8
# Do not test k5shell to avoid dependency
donttest="k5shell"
%pytest tests/test_*.py -k "not $donttest"
%files %files %{python_files}
%defattr(-,root,root) %license LICENSE
%doc LICENSE README demos docs %doc README.rst
%{python_sitelib}/* %{python_sitelib}/paramiko
%{python_sitelib}/paramiko-%{version}*-info
%files -n python-paramiko-doc
%license LICENSE
%doc demos/
%changelog %changelog

27
remove-icecream-dep.patch Normal file
View File

@@ -0,0 +1,27 @@
Index: paramiko-3.3.1/tests/conftest.py
===================================================================
--- paramiko-3.3.1.orig/tests/conftest.py
+++ paramiko-3.3.1/tests/conftest.py
@@ -4,7 +4,7 @@ import shutil
import threading
from pathlib import Path
-from invoke.vendor.lexicon import Lexicon
+from lexicon import Lexicon
import pytest
from paramiko import (
@@ -22,13 +22,6 @@ from ._loop import LoopSocket
from ._stub_sftp import StubServer, StubSFTPServer
from ._util import _support
-from icecream import ic, install as install_ic
-
-
-# Better print() for debugging - use ic()!
-install_ic()
-ic.configureOutput(includeContext=True)
-
# Perform logging by default; pytest will capture and thus hide it normally,
# presenting it on error/failure. (But also allow turning it off when doing