update to py3-paramiko-2.11.0

This commit is contained in:
sthen 2022-05-17 08:35:10 +00:00
parent 1438cb1353
commit 657832fffa
4 changed files with 21 additions and 11 deletions

View File

@ -1,6 +1,6 @@
COMMENT = Python module that implements the SSH2 protocol
COMMENT = low-level pure Python implementation of SSHv2
MODPY_EGG_VERSION = 2.10.4
MODPY_EGG_VERSION = 2.11.0
DISTNAME = paramiko-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = security

View File

@ -1,2 +1,2 @@
SHA256 (paramiko-2.10.4.tar.gz) = PS5lC2gSzm0WCr/3AdbvRDTsl5NLE+lc8a09pw/7XFg=
SIZE (paramiko-2.10.4.tar.gz) = 1068156
SHA256 (paramiko-2.11.0.tar.gz) = AD5r7nwDTCH7sFG/g9wKnuQQYgTdPFMFTHFFLMTsOTg=
SIZE (paramiko-2.11.0.tar.gz) = 1075390

View File

@ -11,25 +11,30 @@ Index: tests/test_client.py
from mock import patch, Mock
import paramiko
@@ -685,13 +684,6 @@ class PasswordPassphraseTests(ClientTest):
@@ -731,15 +730,7 @@ class PasswordPassphraseTests(ClientTest):
# Straightforward / duplicate of earlier basic password test.
self._test_connection(password="pygmalion")
- # TODO: more granular exception pending #387; should be signaling "no auth
- # methods available" because no key and no password
- @raises(SSHException)
@requires_sha1_signing
- def test_passphrase_kwarg_not_used_for_password_auth(self):
- # Using the "right" password in the "wrong" field shouldn't work.
- self._test_connection(passphrase="pygmalion")
-
- @requires_sha1_signing
def test_passphrase_kwarg_used_for_key_passphrase(self):
# Straightforward again, with new passphrase kwarg.
self._test_connection(
@@ -708,14 +700,3 @@ class PasswordPassphraseTests(ClientTest):
@@ -755,17 +746,4 @@ class PasswordPassphraseTests(ClientTest):
self._test_connection(
key_filename=_support("test_rsa_password.key"),
password="television",
)
- )
-
- @raises(AuthenticationException) # TODO: more granular
- @requires_sha1_signing
- def test_password_kwarg_not_used_for_passphrase_when_passphrase_kwarg_given( # noqa
- self
- ):
@ -39,4 +44,4 @@ Index: tests/test_client.py
- key_filename=_support("test_rsa_password.key"),
- password="television",
- passphrase="wat? lol no",
- )
)

View File

@ -1,2 +1,7 @@
paramiko is a module for Python that implements the SSH2 protocol for
secure connections to remote machines.
Paramiko is a pure-Python implementation of the SSHv2 protocol
providing both client and server functionality.
Direct use of Paramiko itself is only intended for users who need
advanced/low-level primitives or want to run an in-Python sshd.
If you're looking for a high-level SSH library for common client
use-cases, try Fabric (https://fabfile.org) which uses Paramiko.