Arch Linux

Please read this before reporting a bug:

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!

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



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>
File "/usr/bin/duplicity", line 86, in with_tempdir
File "/usr/lib/python3.8/site-packages/duplicity/", line 1525, in main
action = commandline.ProcessCommandLine(sys.argv[1:])
File "/usr/lib/python3.8/site-packages/duplicity/", line 1188, in ProcessCommandLine
backup, local_pathname = set_backend(args[0], args[1])
File "/usr/lib/python3.8/site-packages/duplicity/", line 1059, in set_backend
globals.backend = backend.get_backend(bend)
File "/usr/lib/python3.8/site-packages/duplicity/", line 225, in get_backend
obj = get_backend_object(url_string)
File "/usr/lib/python3.8/site-packages/duplicity/", line 211, in get_backend_object
return factory(pu)
File "/usr/lib/python3.8/site-packages/duplicity/backends/", line 170, in __init__
File "/usr/lib/python3.8/site-packages/paramiko/", line 127, in load_host_keys
File "/usr/lib/python3.8/site-packages/paramiko/", line 101, in load
e = HostKeyEntry.from_line(line, lineno)
File "/usr/lib/python3.8/site-packages/paramiko/", line 364, in from_line
key = ECDSAKey(data=decodebytes(key), validate_point=False)
File "/usr/lib/python3.8/site-packages/paramiko/", 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/ and run duplicity with scp.
This task depends upon