diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 17:47:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 17:47:36 +0000 |
commit | 7a45763ef91e6aedd9903fd736cc4490622fe333 (patch) | |
tree | f3b05657cebd31f81b2a7bb175dd32a3e0926588 | |
parent | Adding upstream version 3.4.0. (diff) | |
download | paramiko-7a45763ef91e6aedd9903fd736cc4490622fe333.tar.xz paramiko-7a45763ef91e6aedd9903fd736cc4490622fe333.zip |
Adding debian version 3.4.0-1.debian/3.4.0-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/changelog | 467 | ||||
-rw-r--r-- | debian/clean | 1 | ||||
-rw-r--r-- | debian/control | 64 | ||||
-rw-r--r-- | debian/copyright | 66 | ||||
-rw-r--r-- | debian/paramiko-doc.docs | 1 | ||||
-rw-r--r-- | debian/paramiko-doc.examples | 1 | ||||
-rw-r--r-- | debian/patches/0001-Fix-32-bit-ism-in-protocol-seqno-rollover-test-from-.patch | 55 | ||||
-rw-r--r-- | debian/patches/0001-Use-pytest-s-setup_method-in-pytest-8-the-nose-metho.patch | 26 | ||||
-rw-r--r-- | debian/patches/remove_pytest_relaxed.patch | 63 | ||||
-rw-r--r-- | debian/patches/series | 3 | ||||
-rwxr-xr-x | debian/rules | 7 | ||||
-rw-r--r-- | debian/salsa-ci.yml | 8 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/source/lintian-overrides | 8 | ||||
-rw-r--r-- | debian/source/options | 2 | ||||
-rw-r--r-- | debian/upstream/metadata | 4 | ||||
-rw-r--r-- | debian/watch | 3 |
17 files changed, 780 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..84ff552 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,467 @@ +paramiko (3.4.0-1) unstable; urgency=medium + + * Team upload + * New upstream version 3.4.0 + - Fix Terrapin MitM attack (CVE-2023-48795) (Closes: #1059006) + * Add debian/salsa-ci.yml + * Update debian/patches/remove_pytest_relaxed.patch + * Add python3-icecream to build-dependencies + * Fix nose deprecation errors produced by pytest. Patch: + 0001-Use-pytest-s-setup_method-in-pytest-8-the-nose-metho.patch + * Fix 32-bit-ism in protocol seqno rollover test from Terrapin fix. Patch + from upstream + * Add myself to Uploaders + + -- Santiago Ruano Rincón <santiagorr@riseup.net> Fri, 03 May 2024 07:10:06 -0300 + +paramiko (2.12.0-3) unstable; urgency=medium + + * remove myself + + -- Sandro Tosi <morph@debian.org> Wed, 28 Feb 2024 01:25:38 -0500 + +paramiko (2.12.0-2) unstable; urgency=medium + + * Run autopkgtests via autopkgtest-pkg-pybuild + + -- Sandro Tosi <morph@debian.org> Sat, 17 Dec 2022 20:07:23 -0500 + +paramiko (2.12.0-1) unstable; urgency=medium + + * New upstream release + * debian/patches/ + - refresh, remove patches merged upstream + * debian/control + - bump Standards-Version to 4.6.1.0 (no changes needed) + * debian/copyright + - extend packaging copyright years + + -- Sandro Tosi <morph@debian.org> Sat, 17 Dec 2022 14:09:43 -0500 + +paramiko (2.10.4-1) unstable; urgency=medium + + * Team upload. + * New upstream release. + * Drop patch that is included upstream. + * Drop upstream signing key. The release tarballs on GitHub are not signed. + + -- Benjamin Drung <bdrung@ubuntu.com> Mon, 16 May 2022 09:42:31 +0200 + +paramiko (2.10.3-1) unstable; urgency=medium + + * Team upload. + * New upstream release. + - Fix CVE-2022-24302 (Closes: #1008012) + - Add support for SHA-2 variants of RSA key verification algorithms + to support openssh >= 8.8p1-1 (Closes: #1007168, LP: #1961979) + * Refresh PR1942.patch + * Fix spelling mistake of distributed + * Drop unused source-is-missing lintian override + * Ignore very-long-line-length-in-source-file lintian alert + * Update debian/copyright + * d/p/thread-setdaemon-deprecation.patch: patch out a deprecation warning + with Python 3.10 (LP: #1959095) + + -- Benjamin Drung <bdrung@ubuntu.com> Tue, 12 Apr 2022 16:40:12 +0200 + +paramiko (2.8.1-1) unstable; urgency=medium + + * New upstream release + * debian/patches/PR1942.patch + - add upstream PR to fix test_sftp.py failures + * debian/control + - bump Standards-Version to 4.6.0.1 (no changes needed) + * debian/copyright + - extend packaging copyright years + + -- Sandro Tosi <morph@debian.org> Sat, 11 Dec 2021 01:27:04 -0500 + +paramiko (2.8.0-1) unstable; urgency=medium + + [ Ondřej Nový ] + * d/control: Update Maintainer field with new Debian Python Team + contact address. + * d/control: Update Vcs-* fields with new Debian Python Team Salsa + layout. + + [ Sandro Tosi ] + * New upstream release + * debian/watch + - track github releases + * debian/gbp.conf + - remove gbp.conf file + * debian/patches/remove_pytest_relaxed.patch + - refresh patch + + -- Sandro Tosi <morph@debian.org> Fri, 15 Oct 2021 13:33:52 -0400 + +paramiko (2.7.2-1) unstable; urgency=medium + + * Team upload. + * New upstream release. + - Rebase patches. + * Bump debhelper from old 12 to 13. + * Set upstream metadata fields: Bug-Submit. + * Set Rules-Requires-Root: no. + + -- Tristan Seligmann <mithrandi@debian.org> Wed, 02 Sep 2020 10:33:40 +0200 + +paramiko (2.7.1-2) unstable; urgency=medium + + * debian/rules + - run tests at build-time + * debian/control + - add mock, invoke to b-d, needed by tests + - wrap-and-sort + - bump Standards-Version to 4.5.0 (no changes needed) + * debian/patches/add-tests-configs-directory.patch + - add tests/configs directory, needed to run successfully the test suite, + patch by Cesar Tulio Albuquerque de Almeida + * debian/tests/control + - install build-depends packages when running autopkgtests; Closes: #960899 + + -- Sandro Tosi <morph@debian.org> Sun, 26 Jul 2020 01:18:03 -0400 + +paramiko (2.7.1-1) unstable; urgency=medium + + * Team upload + * New upstrem release (Closes: #955473) + + -- Antoine Beaupré <anarcat@debian.org> Mon, 11 May 2020 21:49:58 -0400 + +paramiko (2.6.0-2) unstable; urgency=medium + + [ Ondřej Nový ] + * Bump Standards-Version to 4.4.1. + + [ Sandro Tosi ] + * Drop python2 support; Closes: #937238 + + -- Sandro Tosi <morph@debian.org> Thu, 09 Jan 2020 19:39:19 -0500 + +paramiko (2.6.0-1) unstable; urgency=medium + + * New upstream release; Closes: #924178, #851474, #892860 + * Acknowledge NMU: Closes: #892859, #904635 + * debian/control + - move under DPMT umbrella (with current maintainers blessing) + - bump b-d on cryptograpy to >= 2.5 + - drop obsolete X-Python*-Version fields + - bump Standards-Version to 4.4.0 (no changes needed) + - update Vcs-* fields to point to DPMT repo + - update long description; Closes: #766893 + * debian/copyright + - convert to machine-parsable format + - add myself to copyright (previous contributions were not mentioned) + - update to new upstream release + * debian/patches/remove_pytest_relaxed.patch + - refresh patch + * debian/source/lintian-overrides + - update for new jquery.js + + -- Sandro Tosi <morph@debian.org> Sat, 17 Aug 2019 18:43:04 -0400 + +paramiko (2.4.2-0.1) unstable; urgency=medium + + * New upstream version 2.4.2 (Closes: #892859) + * Fix autopkgtests (switch to pytest) (Closes: #904635) + + -- Gaudenz Steinlin <gaudenz@debian.org> Sat, 01 Dec 2018 14:30:29 +0100 + +paramiko (2.4.0-1) unstable; urgency=medium + + * Imported Upstream version 2.4.0 + * Update build for 2.4.0 (Closes: #871249, #882322, #698075) + + -- Jeremy T. Bouse <jbouse@debian.org> Wed, 07 Mar 2018 14:59:55 -0500 + +paramiko (2.0.0-1) unstable; urgency=medium + + * Imported Upstream version 2.0.0 (Closes: #826737) + * Correct email address for patch + * Update Standards-Version to 3.9.8, no changes needed + * Update doc file names to match upstream changes + * Update crypto dependencies + * Clean up debian/control, debian/rules and lintian issues + * Upstream bug tracking check (Closes: #783313, #754851) + + -- Jeremy T. Bouse <jbouse@debian.org> Wed, 08 Jun 2016 23:56:41 -0400 + +paramiko (1.16.0-1) unstable; urgency=medium + + * Imported Upstream version 1.16.0 (Closes: #816618) + * Update debian/patches + * Add Python pyasn1 and gssapi build depends (Closes: #804582) + * Use upstream test script + * Update debian/watch to use pypi.debian.net + * Fix dh_auto_test override + * Update Standards-Version to 3.9.7, no changes needed + * Remove unneeded option + + -- Jeremy T. Bouse <jbouse@debian.org> Mon, 11 Apr 2016 15:47:02 -0400 + +paramiko (1.15.3-1) unstable; urgency=medium + + * Imported Upstream version 1.15.3 + + -- Jeremy T. Bouse <jbouse@debian.org> Sun, 25 Oct 2015 22:46:34 -0400 + +paramiko (1.15.2-1) unstable; urgency=medium + + * Imported Upstream version 1.15.2 + * Update Standards-Version (no changes needed) + + -- Jeremy T. Bouse <jbouse@debian.org> Wed, 08 Jul 2015 10:35:09 -0400 + +paramiko (1.15.1-1) unstable; urgency=medium + + * Imported Upstream version 1.15.1 + * Update gbp.conf section headers for newer version + * Move from epydoc to sphinx for doc build + * Add patch to localize generated documentation + * Implement pybuild buildsystem + * debian/gbp.conf: Update postbuild for git-buildpackage + * Imported Upstream version 1.15.0 + * Specify minimum required version of ecdsa + + -- Jeremy T. Bouse <jbouse@debian.org> Tue, 23 Sep 2014 14:07:59 -0400 + +paramiko (1.14.1-1) unstable; urgency=medium + + [ Thomas Kluyver ] + * Add autopkgtest information + + [ Jeremy T. Bouse ] + * Include upstream GitHub Pull Request #352 to fix RC bug. + Thanks to Jelmer Vernooij <jelmer> (Closes: #750517, #755910) + * Imported Upstream version 1.14.1 + * Revert "Include upstream GitHub Pull Request #352 to fix RC bug" + as it was included in upstream bug fix release 1.14.1 to remove + the regression introduced into 1.14.0. + + -- Jeremy T. Bouse <jbouse@debian.org> Thu, 28 Aug 2014 22:23:51 -0700 + +paramiko (1.14.0-2) unstable; urgency=low + + * Add extend-diff-ignore to debian/source/options. + Thanks to Thomas Goirand <zigo> + * Add python-ecdsa to Build-Depends (Closes: #702571) + * Add Python 3 support to build. + Thanks to Thomas Goirand <zigo> (Closes: #697600, #749512) + * Clean up build environment + + -- Jeremy T. Bouse <jbouse@debian.org> Tue, 27 May 2014 21:30:02 -0400 + +paramiko (1.14.0-1) unstable; urgency=low + + * Imported Upstream version 1.14.0 (Closes: #742005) + * Update Standards-Version to 3.9.5 + * Fix paramiko-doc overwriting /usr/share/doc-base/python-paramiko. + Thanks to Felix Geyer <fgeyer@debian.org> (Closes: #718004) + * debian/patches/*: Removed patch applied upstream + * debian/control: Move VCS location + * debian/control: Fix type in paramiko-doc block + * debian/control: Removed unknown XS-Testsuite + + -- Jeremy T. Bouse <jbouse@debian.org> Sun, 11 May 2014 23:01:05 -0400 + +paramiko (1.10.1-1) unstable; urgency=low + + * Imported Upstream version 1.10.1 + * debian/control: Revise debhelper Build-Depends entry + * debian/{control,watch}: Update for new maintainer and source address + (Closes: #690080) - thanks to Mike Gabriel <mike.gabriel@das- + netzwerkteam.de> + * debian/gbp.conf: Add standard git-buildpackage settings + * debian/patches/*: Removed patch included in upstream + * debian/patches/*: Removed hostkey patch that caused problems - + thanks to Lars Noschinski <lars@public.noschinski.de> + * debian/*: clean up build files for new version + * debian/control: Add Build-Depend on python-epydoc + * debian/patches/*: Add patch to remove upstream Makefile + * debian/*: Build out separate paramiko-doc package (Closes: #682255) + - thanks to Touko Korpela <touko.korpela@iki.fi> + + -- Jeremy T. Bouse <jbouse@debian.org> Thu, 27 Jun 2013 22:59:08 -0400 + +paramiko (1.7.7.1-3) unstable; urgency=low + + * Accept NMU uploads (Closes: #659007, #668239) + * Update package to clean up lintian findings + * debian/source/local-options: set unapply-patches option + * debian/watch: Don't need to use uupdate with gbp + * debian/control: Upgrade Debian Standard (no changes needed) + + -- Jeremy T. Bouse <jbouse@debian.org> Mon, 09 Jul 2012 11:02:38 -0400 + +paramiko (1.7.7.1-2.2) unstable; urgency=low + + * Non-maintainer upload. + * Add Fix-SSHException-when-re-keying-over-a-fast-connection.patch patch. + Fix bug "Transfers fail after 1GB; rekeying window too small". + (Closes: #659007) + + -- Salvatore Bonaccorso <carnil@debian.org> Sat, 07 Jul 2012 17:09:08 +0200 + +paramiko (1.7.7.1-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix broken host key handling when port != 22 (Closes: 668239) + + -- Luk Claes <luk@debian.org> Thu, 05 Jul 2012 00:38:56 +0000 + +paramiko (1.7.7.1-2) unstable; urgency=low + + * debian/*: Update build to use dh_python2 (Closes: #637379) + * Debian package build environment cleanup + * Acknowledge previous NMU patch that was included in upstream update + release Thanks Jelmer Vernooij <jelmer@debian.org> (Closes: #611361) + + -- Jeremy T. Bouse <jbouse@debian.org> Sun, 02 Oct 2011 13:46:01 -0400 + +paramiko (1.7.7.1-1) unstable; urgency=low + + * Imported Upstream version 1.7.7.1 (Closes: #627754) + * debian/patches: Patches included in upstream + * debian/control: Updated standards version (no change) + + -- Jeremy T. Bouse <jbouse@debian.org> Tue, 31 May 2011 21:23:55 -0400 + +paramiko (1.7.6-6) unstable; urgency=low + + * Add back quilt support NMU removed & update clean target + * Accept NMU upload. Thanks Jelmer Vernooij <jelmer@debian.org> + + -- Jeremy T. Bouse <jbouse@debian.org> Sat, 29 Jan 2011 12:02:16 -0500 + +paramiko (1.7.6-5.1) unstable; urgency=low + + * Non-maintainer upload. + * Avoid deprecated RandomPool. Patch by Gary van der Merwe. Closes: + #576697 + * Try connecting to each available address family until one succeeds. + Patch by Andrew Bennetts. Closes: #602251 + * Bump standards version to 3.9.1 (no changes). + + -- Jelmer Vernooij <jelmer@debian.org> Fri, 28 Jan 2011 12:35:12 +0100 + +paramiko (1.7.6-5) unstable; urgency=low + + * debian/control: Fix python-crypto version dependency + * debian/rules: Remove simple-patchsys.mk + + -- Jeremy T. Bouse <jbouse@debian.org> Sat, 17 Jul 2010 00:00:40 -0400 + +paramiko (1.7.6-4) unstable; urgency=low + + * Update Standards-Version to 3.9.0 + * debian/control: Add versioned dependency on python-crypto (Closes: + #479596) + * debian/control: Build-Depends python-all-dev to python-all + + -- Jeremy T. Bouse <jbouse@debian.org> Fri, 16 Jul 2010 10:54:06 -0400 + +paramiko (1.7.6-3) unstable; urgency=medium + + * Add conflict against fabric 0.9.0-1 (Closes: #563490) - thanks to + Chris Lamb <lamby@debian.org> for being a packaging tool + + -- Jeremy T. Bouse <jbouse@debian.org> Mon, 04 Jan 2010 10:12:32 -0500 + +paramiko (1.7.6-2) unstable; urgency=low + + * debian/control: Fix last remaining lintian warning + + -- Jeremy T. Bouse <jbouse@debian.org> Wed, 16 Dec 2009 08:15:36 -0500 + +paramiko (1.7.6-1) unstable; urgency=low + + * Imported Upstream version 1.7.6 (Closes: #543784) + * Fix formatting error for __all__ in paramiko/__init__.py (Closes: + #494836) + * Update debian/watch syntax + * Package build clean-up + * Include docs/ contents with build (LP: #364998) + * Update Build-Depends + * debian/control: Update Vcs-* entries + + -- Jeremy T. Bouse <jbouse@debian.org> Tue, 15 Dec 2009 09:46:29 -0500 + +paramiko (1.7.4-0.1) unstable; urgency=medium + + * NMU. + * New upstream version. + - Fix random number regression (stop using RandomPool). Closes: #490961. + + -- Matthias Klose <doko@debian.org> Fri, 18 Jul 2008 14:16:08 +0200 + +paramiko (1.7.3-1) unstable; urgency=low + + * New upstream version + Closes: #475505. + * Acknowledge NMU changes + * Missing examples included + Closes: #455547. + * Confirmed new upstream version corrected FutureWarning + Closes: #405552. + + -- Jeremy T. Bouse <jbouse@debian.org> Sun, 04 May 2008 11:41:27 -0400 + +paramiko (1.7.2-0.1) unstable; urgency=low + + * Non-maintainer upload to DELAYED/14-day. (¹) + * New upstream release. (Closes: #415060) + * Drop the patch introduced in 1.6.4-1.1, as it's part of 1.7.2. + + (¹) Counting since the initial 1.7.1-0.1 upload in Jan 13th. + + -- Adeodato Simó <dato@net.com.org.es> Thu, 24 Jan 2008 13:54:18 +0100 + +paramiko (1.6.4-1.1) unstable; urgency=high + + * Non-maintainer upload by security team. + * Fix insecure use of RandomPool if paramiko is used for threads or multiple + forked processes. This enables one session to predict random data of + another session using its own random data. + (CVE id pending; Closes: #460706). + + -- Nico Golde <nion@debian.org> Mon, 14 Jan 2008 19:36:40 +0100 + +paramiko (1.6.4-1) unstable; urgency=low + + * New upstream release (Closes: #344734, #382348). + + -- Jeremy T. Bouse <jbouse@debian.org> Tue, 26 Dec 2006 15:48:42 -0500 + +paramiko (1.5.2-0.1) unstable; urgency=low + + [ Wouter van Heyst ] + * Non-maintainer upload. + * New upstream release. + + Drop python_script_fix.patch and pathmangle.sh, no longer needed. + * Merge some ubuntu changes. + + Add watch file. + + Update copyright file. + + -- Robert Collins <robertc@robertcollins.net> Fri, 28 Jul 2006 14:26:29 +1000 + +paramiko (1.5-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix B-D-I/B-D glitches. + * Update package to the new python policy (Closes: #373472). + + -- Pierre Habouzit <madcoder@debian.org> Thu, 29 Jun 2006 23:00:34 +0200 + +paramiko (1.5-1) unstable; urgency=low + + * New upstream release. + * Initial package upload (Closes: #292942). + + -- Jeremy T. Bouse <jbouse@debian.org> Tue, 18 Oct 2005 14:57:46 -0700 + +paramiko (1.1-1) unstable; urgency=low + + * Initial Release. + + -- Guido Guenther <agx@debian.org> Mon, 31 Jan 2005 11:24:37 +0100 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..c7ec943 --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +test.log diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..856b088 --- /dev/null +++ b/debian/control @@ -0,0 +1,64 @@ +Source: paramiko +Section: python +Priority: optional +Maintainer: Debian Python Team <team+python@tracker.debian.org> +Uploaders: Jeremy T. Bouse <jbouse@debian.org>, + Guido Guenther <agx@debian.org>, + Santiago Ruano Rincón <santiagorr@riseup.net>, +Build-Depends: debhelper-compat (= 13), + dh-python, + python3-all, + python3-bcrypt (>= 3.1.3), + python3-cryptography (>= 2.5), + python3-ecdsa (>= 0.11), + python3-icecream <!nocheck>, + python3-invoke <!nocheck>, + python3-mock <!nocheck>, + python3-nacl (>= 1.0.1), + python3-pyasn1 (>= 0.1.7), + python3-pytest <!nocheck>, + python3-setuptools, +Standards-Version: 4.6.1.0 +Homepage: https://github.com/paramiko/paramiko/ +Vcs-Git: https://salsa.debian.org/python-team/packages/paramiko.git +Vcs-Browser: https://salsa.debian.org/python-team/packages/paramiko +Rules-Requires-Root: no +Testsuite: autopkgtest-pkg-pybuild + +Package: paramiko-doc +Section: doc +Architecture: all +Depends: libjs-jquery, + libjs-underscore, + ${misc:Depends}, +Multi-Arch: foreign +Description: Make ssh v2 connections with Python (Documentation) + "Paramiko" is a combination of the Esperanto words for "paranoid" and "friend". + It's a module for Python 2.7/3.4+ that implements the SSH2 protocol for secure + (encrypted and authenticated) connections to remote machines. Unlike SSL (aka + TLS), SSH2 protocol does not require hierarchical certificates signed by a + powerful central authority. You may know SSH2 as the protocol that replaced + Telnet and rsh for secure access to remote shells, but the protocol also + includes the ability to open arbitrary channels to remote services across the + encrypted tunnel (this is how SFTP works, for example). + . + This is the documentation for the package. + +Package: python3-paramiko +Architecture: all +Depends: ${misc:Depends}, + ${python3:Depends}, +Provides: ${python3:Provides}, +Recommends: python3-invoke, +Suggests: python3-gssapi (>= 0.6.1), +Description: Make ssh v2 connections (Python 3) + "Paramiko" is a combination of the Esperanto words for "paranoid" and "friend". + It's a module for Python 2.7/3.4+ that implements the SSH2 protocol for secure + (encrypted and authenticated) connections to remote machines. Unlike SSL (aka + TLS), SSH2 protocol does not require hierarchical certificates signed by a + powerful central authority. You may know SSH2 as the protocol that replaced + Telnet and rsh for secure access to remote shells, but the protocol also + includes the ability to open arbitrary channels to remote services across the + encrypted tunnel (this is how SFTP works, for example). + . + This is the Python 3 version of the package. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..89c372d --- /dev/null +++ b/debian/copyright @@ -0,0 +1,66 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: paramiko +Source: https://github.com/paramiko/paramiko/ + +Files: * +Copyright: 2003-2009 Robey Pointer <robeypointer@gmail.com> + 2013-2014 science + computing ag + 2013-2022 Jeff Forcier <jeff@bitprophet.org> +License: LGPL-2.1 + +Files: demos/demo_keygen.py +Copyright: 2010 Sofian Brabez <sbz@6dev.net> +License: LGPL-2.1 + +Files: paramiko/agent.py +Copyright: 2003-2007 John Rochester <john@jrochester.org> +License: LGPL-2.1 + +Files: paramiko/config.py +Copyright: 2006-2007 Robey Pointer <robeypointer@gmail.com> + 2012 Olle Lundberg <geek@nerd.sh> +License: LGPL-2.1 + +Files: paramiko/kex_group14.py +Copyright: 2013 Torsten Landschoff <torsten@debian.org> +License: LGPL-2.1 + +Files: paramiko/kex_group16.py +Copyright: 2019 Edgar Sousa <https://github.com/edgsousa> +License: LGPL-2.1 + +Files: paramiko/proxy.py +Copyright: 2012 Yipit, Inc <coders@yipit.com> +License: LGPL-2.1 + +Files: paramiko/win_openssh.py +Copyright: 2021 Lew Gordon <lew.gordon@genesys.com> + 2022 Patrick Spendrin <ps_ml@gmx.de> +License: LGPL-2.1 + +Files: paramiko/win_pageant.py +Copyright: 2005 John Arbash-Meinel <john@arbash-meinel.com> +License: LGPL-2.1 + +Files: debian/* +Copyright: 2019-2022 Sandro Tosi <morph@debian.org> + 2022 Benjamin Drung <bdrung@ubuntu.com> +License: LGPL-2.1 + +License: LGPL-2.1 + Paramiko is free software; you can redistribute it and/or modify it under the + terms of the GNU Lesser General Public License as published by the Free + Software Foundation; either version 2.1 of the License, or (at your option) + any later version. + . + Paramiko is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + details. + . + You should have received a copy of the GNU Lesser General Public License + along with Paramiko; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian GNU/Linux systems, the complete text of the Lesser GNU General + Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. diff --git a/debian/paramiko-doc.docs b/debian/paramiko-doc.docs new file mode 100644 index 0000000..a1320b1 --- /dev/null +++ b/debian/paramiko-doc.docs @@ -0,0 +1 @@ +README.rst diff --git a/debian/paramiko-doc.examples b/debian/paramiko-doc.examples new file mode 100644 index 0000000..dde105a --- /dev/null +++ b/debian/paramiko-doc.examples @@ -0,0 +1 @@ +demos/* diff --git a/debian/patches/0001-Fix-32-bit-ism-in-protocol-seqno-rollover-test-from-.patch b/debian/patches/0001-Fix-32-bit-ism-in-protocol-seqno-rollover-test-from-.patch new file mode 100644 index 0000000..6806276 --- /dev/null +++ b/debian/patches/0001-Fix-32-bit-ism-in-protocol-seqno-rollover-test-from-.patch @@ -0,0 +1,55 @@ +From 9f6fe4c926931920570fac84fa2fcdc9de8a3324 Mon Sep 17 00:00:00 2001 +From: Jeff Forcier <jeff@bitprophet.org> +Date: Sat, 10 Feb 2024 21:29:48 -0500 +Subject: [PATCH] Fix 32-bit-ism in protocol seqno rollover test from Terrapin + fix + +Fixes #2353 +--- + sites/www/changelog.rst | 2 ++ + tests/test_transport.py | 9 ++++++--- + 2 files changed, 8 insertions(+), 3 deletions(-) + +diff --git a/sites/www/changelog.rst b/sites/www/changelog.rst +index 00f42a70..3f886fc8 100644 +--- a/sites/www/changelog.rst ++++ b/sites/www/changelog.rst +@@ -2,6 +2,8 @@ + Changelog + ========= + ++- :bug:`2353` Fix a 64-bit-ism in the test suite so the tests don't encounter a ++ false negative on 32-bit systems. Reported by Stanislav Levin. + - :release:`3.4.0 <2023-12-18>` + - :feature:`-` `Transport` grew a new ``packetizer_class`` kwarg for overriding + the packet-handler class used internally. Mostly for testing, but advanced +diff --git a/tests/test_transport.py b/tests/test_transport.py +index 67e2eb45..59f871b8 100644 +--- a/tests/test_transport.py ++++ b/tests/test_transport.py +@@ -1419,16 +1419,19 @@ class TestStrictKex: + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + # Induce an about-to-rollover seqno, such that it rolls over +- # during initial kex. ++ # during initial kex. (Sequence numbers are uint32, so we need ++ # the largest possible 32bit integer such that incrementing it ++ # will roll over to 0.) ++ last_seq = 2**32 - 1 + setattr( + self.packetizer, + "_Packetizer__sequence_number_in", +- sys.maxsize, ++ last_seq, + ) + setattr( + self.packetizer, + "_Packetizer__sequence_number_out", +- sys.maxsize, ++ last_seq, + ) + + with raises( +-- +2.43.0 + diff --git a/debian/patches/0001-Use-pytest-s-setup_method-in-pytest-8-the-nose-metho.patch b/debian/patches/0001-Use-pytest-s-setup_method-in-pytest-8-the-nose-metho.patch new file mode 100644 index 0000000..a0de1f7 --- /dev/null +++ b/debian/patches/0001-Use-pytest-s-setup_method-in-pytest-8-the-nose-metho.patch @@ -0,0 +1,26 @@ +From d71046151d9904df467ff72709585cde39cdd4ca Mon Sep 17 00:00:00 2001 +From: Alex Gaynor <alex.gaynor@gmail.com> +Date: Sat, 27 Jan 2024 17:04:18 -0500 +Subject: [PATCH] Use pytest's setup_method -- in pytest 8 the nose method + setup is deprecated + +--- + tests/test_config.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/test_config.py b/tests/test_config.py +index 2e49aa3d..1e623e0a 100644 +--- a/tests/test_config.py ++++ b/tests/test_config.py +@@ -53,7 +53,7 @@ def load_config(name): + + + class TestSSHConfig: +- def setup(self): ++ def setup_method(self): + self.config = load_config("robey") + + def test_init(self): +-- +2.43.0 + diff --git a/debian/patches/remove_pytest_relaxed.patch b/debian/patches/remove_pytest_relaxed.patch new file mode 100644 index 0000000..70a8e0a --- /dev/null +++ b/debian/patches/remove_pytest_relaxed.patch @@ -0,0 +1,63 @@ +From: Debian Python Modules Team + <python-modules-team@lists.alioth.debian.org> +Date: Wed, 2 Sep 2020 10:30:06 +0200 +Subject: remove_pytest_relaxed + +--- + setup.cfg | 1 - + tests/test_client.py | 23 ++++++++++++----------- + 2 files changed, 12 insertions(+), 12 deletions(-) + +Index: paramiko/tests/test_client.py +=================================================================== +--- paramiko.orig/tests/test_client.py ++++ paramiko/tests/test_client.py +@@ -33,7 +33,7 @@ import weakref + from tempfile import mkstemp + + import pytest +-from pytest_relaxed import raises ++from pytest import raises + from unittest.mock import patch, Mock + + import paramiko +@@ -797,13 +797,13 @@ 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") ++ # TODO: more granular exception pending #387; should be signaling "no auth ++ # methods available" because no key and no password ++ with raises(SSHException): ++ self._test_connection(passphrase='pygmalion') + + @requires_sha1_signing + def test_passphrase_kwarg_used_for_key_passphrase(self): +@@ -823,15 +823,15 @@ class PasswordPassphraseTests(ClientTest + password="television", + ) + +- @raises(AuthenticationException) # TODO: more granular + @requires_sha1_signing + def test_password_kwarg_not_used_for_passphrase_when_passphrase_kwarg_given( # noqa + self, + ): + # Sanity: if we're given both fields, the password field is NOT used as + # a passphrase. +- self._test_connection( +- key_filename=_support("test_rsa_password.key"), +- password="television", +- passphrase="wat? lol no", +- ) ++ with raises(AuthenticationException): # TODO: more granular ++ self._test_connection( ++ key_filename=_support("test_rsa_password.key"), ++ password="television", ++ passphrase="wat? lol no", ++ ) diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..0e6becc --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,3 @@ +remove_pytest_relaxed.patch +0001-Use-pytest-s-setup_method-in-pytest-8-the-nose-metho.patch +0001-Fix-32-bit-ism-in-protocol-seqno-rollover-test-from-.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..484115f --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +export PYBUILD_NAME=paramiko +export LC_ALL=C.UTF-8 + +%: + dh $@ --with python3 --buildsystem=pybuild diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml new file mode 100644 index 0000000..b1aef1f --- /dev/null +++ b/debian/salsa-ci.yml @@ -0,0 +1,8 @@ +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml + +variables: + SALSA_CI_DISABLE_BUILD_PACKAGE_ARMEL: 0 + SALSA_CI_DISABLE_BUILD_PACKAGE_ARMHF: 0 + SALSA_CI_DISABLE_BUILD_PACKAGE_ARM64: 0 diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 0000000..c31126e --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,8 @@ +# Upstream uses black to wrap long lines. These lines are cannot be wrapped. +very-long-line-length-in-source-file paramiko/kex_group14.py line * is 530 characters long (>512) +very-long-line-length-in-source-file paramiko/kex_group16.py line * is 1042 characters long (>512) +very-long-line-length-in-source-file paramiko/kex_gss.py line * is 530 characters long (>512) +very-long-line-length-in-source-file tests/test_kex.py line * is 1253 characters long (>512) +very-long-line-length-in-source-file tests/test_pkey.py line * is 619 characters long (>512) +# Public SSH keys used for tests. They are not wrapped. +very-long-line-length-in-source-file tests/cert_support/test_*.key-cert.pub line 1 is * characters long (>512) diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..50f396e --- /dev/null +++ b/debian/source/options @@ -0,0 +1,2 @@ +extend-diff-ignore = "^[^/]*[.]egg-info/" +extend-diff-ignore = "^docs/index.html" diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..2a7b0b4 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,4 @@ +Bug-Database: https://github.com/paramiko/paramiko/issues +Bug-Submit: https://github.com/paramiko/paramiko/issues/new +Repository: https://github.com/paramiko/paramiko.git +Repository-Browse: https://github.com/paramiko/paramiko diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..60d421b --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%paramiko-$1.tar.gz%" \ +https://github.com/paramiko/paramiko/tags (?:.*?/)?v?(\d[\d.]*)\.tar\.gz |