mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 01:58:35 +04:00
- [Bug] 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.
- [Bug] 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. Thanks to Shengdun Hua for the original report
/patch and to Christopher Papke for the final version of the fix.
- [Support] 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. Thanks to Karthikeyan
Singaravelan for the report, @Narendra-Neerukonda for the patch, and
to Thomas Grainger and Jun Omae for patch workshopping.
Signed-off-by: Javier Marcet <javier@marcet.info>
(cherry picked from commit b1159e8764)
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=python-paramiko
|
|
PKG_VERSION:=2.10.4
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=paramiko
|
|
PKG_HASH:=3d2e650b6812ce6d160abff701d6ef4434ec97934b13e95cf1ad3da70ffb5c58
|
|
|
|
PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
|
|
PKG_LICENSE:=LGPL-2.1-or-later
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
PYTHON3_PKG_SETUP_ARGS:=
|
|
|
|
define Package/python3-paramiko
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=SSH2 protocol library
|
|
URL:=https://github.com/paramiko/paramiko/
|
|
DEPENDS:=+python3-light +python3-logging +python3-bcrypt \
|
|
+python3-cryptography +python3-openssl +python3-pynacl
|
|
endef
|
|
|
|
define Package/python3-paramiko/description
|
|
Paramiko is a Python (2.7, 3.4+) implementation of the SSHv2 protocol,
|
|
providing both client and server functionality. While it leverages a Python
|
|
C extension for low level cryptography (Cryptography), Paramiko itself is a
|
|
pure Python interface around SSH networking concepts.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-paramiko))
|
|
$(eval $(call BuildPackage,python3-paramiko))
|
|
$(eval $(call BuildPackage,python3-paramiko-src))
|