Package: duplicity
Version: 2.1.4-3+b1
Severity: important

When trying to do backup to an sftp:// target Duplicity fails since
python3-paramiko was updated to 3.4.0-1, with the following error which
looks like an API change in Paramiko:

ssh: Unknown exception: public_blob
ssh: Traceback (most recent call last):
ssh:   File "/usr/lib/python3/dist-packages/paramiko/transport.py", line
2220, in run
ssh:     handler(m)
ssh:   File "/usr/lib/python3/dist-packages/paramiko/auth_handler.py",
line 394, in _parse_service_accept
ssh:     key_type, bits = self._get_key_type_and_bits(self.private_key)
ssh:                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ssh:   File "/usr/lib/python3/dist-packages/paramiko/auth_handler.py",
line 218, in _get_key_type_and_bits
ssh:     if key.public_blob:
ssh:        ^^^^^^^^^^^^^^^
ssh:   File "/usr/lib/python3/dist-packages/paramiko/agent.py", line
476, in __getattr__
ssh:     raise AttributeError(name)
ssh: AttributeError: public_blob
ssh:
BackendException: ssh connection to ****** failed: public_blob

Downgrading python3-paramiko to 2.12.0-2 makes Duplicity work again, I
assume Duplicity needs to be updated/fixed to work with the new Paramiko
API.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.8.9-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages duplicity depends on:
ii  gnupg                   2.2.43-6
ii  libc6                   2.38-11
ii  librsync2t64            2.3.4-1.1
ii  python3                 3.11.8-1
ii  python3-fasteners       0.18-2
ii  python3-setuptools-scm  8.0.4-2
ii  python3.11              3.11.9-1

Versions of packages duplicity recommends:
ii  python3-oauthlib  3.2.2-1
ii  python3-paramiko  3.4.0-1
ii  python3-pexpect   4.9-2
ii  python3-urllib3   1.26.18-2
ii  rsync             3.3.0-1

Versions of packages duplicity suggests:
pn  lftp                 <none>
pn  ncftp                <none>
pn  par2                 <none>
pn  python3-boto3        <none>
ii  python3-pip          24.0+dfsg-2
pn  python3-swiftclient  <none>
pn  tahoe-lafs           <none>

-- no debconf information

Reply via email to