liquid_files/s3 transfer asks for SSH private key password and crashes on unexpected keyword argument
When running
sett transfer --protocol liquid_files --protocol-args '{"host": "https://foo.liquidfiles.test","subject": "TEST", "message": "TEST","api_key":"api_key","chunk_size": 100}' ./20231011T111438.zip
the CLI asks for a SSH private key password ("Please enter your SSH private key password:"). But for Liquidfiles, no SSH key should be used.
After submitting an empty password, the process fails with
Protocol.sett.protocols.liquid_files() got an unexpected keyword argument 'pkey_password'
.
Error log:
---
log
===
[2023-10-11 11:43:17,157] [PID:3266461] [ERROR] Protocol.sett.protocols.liquid_files() got an unexpected keyword argument 'pkey_password'
---
config
======
{
"dcc_portal_url": "https://portal.dcc.sib.swiss",
"keyserver_url": "https://keys.openpgp.org",
"gpg_home_dir": "~/.gnupg",
"always_trust_recipient_key": true,
"repo_url": "https://pypi.org",
"check_version": true,
"log_dir": "~/.local/var/log/sett",
"error_reports": true,
"log_max_file_number": 99,
"connections": {},
"output_dir": null,
"ssh_password_encoding": "utf_8",
"default_sender": null,
"gui_quit_confirmation": true,
"compression_level": 5,
"package_name_suffix": null,
"max_cpu": 0,
"gpg_key_autodownload": true,
"verify_package_name": true,
"sftp_buffer_size": 1048576,
"verify_key_approval": true,
"verify_dtr": true,
"legacy_mode": false
}
In the docs, there are some sneaky typos: The CLI-args need to be entered without the =
, e.g. --protocol liquid_files
instead of --protocol=liquid_files
.
Update: This also happens for --protocol s3
.
Edited by omg_me