Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#67419 - [duplicity] 0.8.12-1 failed with paramiko 2.7.1-2

Attached to Project: Arch Linux
Opened by Louis Holbrook (lash) - Monday, 27 July 2020, 21:11 GMT
Last edited by freswa (frederik) - Monday, 27 July 2020, 22:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:

versioning problem in duplicity dependencies when run with scp. originally it reports "cant open .ssh/known_hosts" but the cause is that a method call it attempts in elliptic crypto library does not exist.


Additional info:
* package version(s)

duplicity 0.8.12-1 with paramiko 2.7.1-2

* config and/or log files etc.

Using temporary directory /tmp/duplicity-2km3c1is-tempdir
Using temporary directory /tmp/duplicity-2km3c1is-tempdir
Traceback (innermost last):
File "/usr/bin/duplicity", line 100, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 86, in with_tempdir
fn()
File "/usr/lib/python3.8/site-packages/duplicity/dup_main.py", line 1525, in main
action = commandline.ProcessCommandLine(sys.argv[1:])
File "/usr/lib/python3.8/site-packages/duplicity/commandline.py", line 1188, in ProcessCommandLine
backup, local_pathname = set_backend(args[0], args[1])
File "/usr/lib/python3.8/site-packages/duplicity/commandline.py", line 1059, in set_backend
globals.backend = backend.get_backend(bend)
File "/usr/lib/python3.8/site-packages/duplicity/backend.py", line 225, in get_backend
obj = get_backend_object(url_string)
File "/usr/lib/python3.8/site-packages/duplicity/backend.py", line 211, in get_backend_object
return factory(pu)
File "/usr/lib/python3.8/site-packages/duplicity/backends/ssh_paramiko_backend.py", line 170, in __init__
self.client.load_host_keys(file)
File "/usr/lib/python3.8/site-packages/paramiko/client.py", line 127, in load_host_keys
self._host_keys.load(filename)
File "/usr/lib/python3.8/site-packages/paramiko/hostkeys.py", line 101, in load
e = HostKeyEntry.from_line(line, lineno)
File "/usr/lib/python3.8/site-packages/paramiko/hostkeys.py", line 364, in from_line
key = ECDSAKey(data=decodebytes(key), validate_point=False)
File "/usr/lib/python3.8/site-packages/paramiko/ecdsakey.py", line 163, in __init__
key = ec.EllipticCurvePublicKey.from_encoded_point(
AttributeError: type object 'EllipticCurvePublicKey' has no attribute 'from_encoded_point'


* link to upstream bug report, if any



Steps to reproduce:

comment out exception around line 174 in /usr/lib/python3.8/site-packages/duplicity/backends/ssh_paramiko_backend.py and run duplicity with scp.
This task depends upon

Loading...