Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev-python/paramiko: apply iqmp-swap patch #17309

Closed
wants to merge 1 commit into from

Conversation

solpeth
Copy link
Contributor

@solpeth solpeth commented Aug 29, 2020

Apply this upstream patch to allow duplicity to work correctly with the paramiko backend, when performing backups over sftp. Otherwise it fails with the error BackendException: ssh connection to <user>@<addr>:22 failed: ('Invalid private key', [_OpenSSLErrorWithText(code=67764350, lib=4, func=160, reason=126, reason_text=b'error:040A007E:rsa routines:RSA_check_key_ex:iqmp not inverse of q')])

I noticed this issue when my periodic duplicity backup via sftp using the paramiko backend started failing as of 2020-08-28. The upstream patch fixing the issue, and included in this pull request, was committed around the same time.

I do not know the cause of the breakage, but this patch does resolve the issue. Tested both with user patches and in an ~amd64 container.

EDIT: as acknowledged in the upstream patch message this breakage may be related to dev-python/cryptography, which upgraded on my system to version 3.1 on the same day the above error began.

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits. labels Aug 29, 2020
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2020-08-29 09:00 UTC
Newest commit scanned: 604986f
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/1a53ccaca6/output.html

@solpeth solpeth changed the title dev-python/paramiko: apply iqmp-swap patch dev-python/paramiko: apply iqmp-swap patch [please reassign] Aug 29, 2020
@gentoo-bot gentoo-bot changed the title dev-python/paramiko: apply iqmp-swap patch [please reassign] dev-python/paramiko: apply iqmp-swap patch Aug 29, 2020
@gentoo-bot
Copy link

Pull Request assignment

Submitter: @solpeth
Areas affected: ebuilds
Packages affected: dev-python/paramiko

dev-python/paramiko: @gentoo/python, @aliceinwire

Linked bugs

Bugs linked: 739576


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. and removed assigned PR successfully assigned to the package maintainer(s). no bug found No Bug/Closes found in the commits. labels Aug 29, 2020
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2020-08-29 23:45 UTC
Newest commit scanned: 5d822c3
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/1cd7a7ca58/output.html

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Jack Todaro <solpeth@posteo.org>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2020-09-05 07:46 UTC
Newest commit scanned: ae065a5
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/f9d50b8ccf/output.html

@solpeth solpeth closed this Dec 13, 2020
@solpeth solpeth deleted the python branch December 13, 2020 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR.
Projects
None yet
3 participants