Paramiko 1.10.0 breaks Paramiko backend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Duplicity version: 0.6.21
Python version: 2.7.3
OS: Arch Linux
Target filesystem: Linux/ext4
Paramiko 1.10.0 breaks the Paramiko backend. For example, running
TMPDIR='/var/tmp' duplicity collection-status --name 'duply_main' --no-encryption --verbosity 'i' --exclude-
using duply gives:
Using archive dir: /root/.
Using backup name: duply_main
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Import of duplicity.
Using temporary directory /var/tmp/
Traceback (most recent call last):
File "/usr/bin/
with_
File "/usr/bin/
fn()
File "/usr/bin/
action = commandline.
File "/usr/lib/
globals.backend = backend.
File "/usr/lib/
return _backends[
File "/usr/lib/
self.
File "/usr/lib/
if not path.startswith
AttributeError: 'list' object has no attribute 'startswith'
The problem is that starting with version 1.10.0, Paramiko's SSH config parser allows multiple IdentityFile options per host, meaning that SSHParamikoBack
Branch with fix attached. Tested with Paramiko 1.9.0 and 1.10.0.
Related branches
- duplicity-team: Pending requested
-
Diff: 24 lines (+13/-2)1 file modifiedduplicity/backends/_ssh_paramiko.py (+13/-2)
description: | updated |
description: | updated |
description: | updated |
Changed in duplicity: | |
status: | New → Fix Committed |
Changed in duplicity: | |
importance: | Undecided → Medium |
milestone: | none → 0.6.22 |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |