From a1a162190b0ecb4333748d4c238fca0a121132ef Mon Sep 17 00:00:00 2001 From: ab604 Date: Thu, 23 Oct 2025 18:44:38 +0100 Subject: [PATCH] Fix Aspera key filename to match actual key file The code was looking for 'aspera_tokenauth_id_rsa' but the actual key file is named 'asperaweb_id_dsa.openssh'. This caused authentication failures when downloading files via Aspera protocol. Fixes authentication prompt issue when using aspera protocol. --- pridepy/files/files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pridepy/files/files.py b/pridepy/files/files.py index ba0c639..0d590ef 100644 --- a/pridepy/files/files.py +++ b/pridepy/files/files.py @@ -284,7 +284,7 @@ def download_files_from_aspera( """ ascp_path = Files.get_ascp_binary() key_full_path = importlib.resources.files("pridepy").joinpath( - "aspera/key/aspera_tokenauth_id_rsa" + "aspera/key/asperaweb_id_dsa.openssh" ) key_path = os.path.abspath(key_full_path) for file in file_list_json: