If you configure an ssh key in openssh format (which is the default format for ssh-keygen on my 22.04, e.g. ssh-keygen -f ./duptest-rsa4096 -b 4096), duplicity will complain about about invalid keys:
The issue lies with paramiko (https://github.com/paramiko/paramiko/issues/1313), but it would help to have a check here, or automatically convert it to the right format. The file itself is verbose enough to tell:
If you configure an ssh key in openssh format (which is the default format for ssh-keygen on my 22.04, e.g.
ssh-keygen -f ./duptest-rsa4096 -b 4096
), duplicity will complain about about invalid keys:If I use a key in the pem format (
ssh-keygen -f ./duptest-rsa4096pem -m pem -b 4096
), it works:The issue lies with paramiko (https://github.com/paramiko/paramiko/issues/1313), but it would help to have a check here, or automatically convert it to the right format. The file itself is verbose enough to tell:
Imported from Launchpad using lp2gh.
date created: 2023-02-17T13:48:13Z
owner: marcusboden
assignee: dashmage
the launchpad url