version 4.16.0. was released yesterday, that may address your question.
Original Message:
Sent: Tue December 19, 2023 07:00 PM
From: Sean Kim
Subject: Configuring Password Prompt for Package Downloads using ascli
Hello,
thank you for your response and for providing me with the beta version.
However, it still doesn't prompt for the passphrase that I configured with 'content_protection_password' when receivers initiate the download.
Currently, they can download the encrypted version without entering a passphrase.
I would like the receivers to download the content in a decrypted form after entering the passphrase.
Is there a way to achieve this?
------------------------------
Sean Kim
Original Message:
Sent: Thu December 14, 2023 07:09 PM
From: Laurent Martin
Subject: Configuring Password Prompt for Package Downloads using ascli
Hi,
using ascli version 4.15.0 and Faspex 5.0.6.2, downloading a password-protected package will lead to failure:
ascp: File decryption needs a passphrase in environment variable ASPERA_SCP_FILEPASS, exiting.
The user can provide the passphrase similarly to sending:
--ts=@json:'{"content_protection":"decrypt","content_protection_password":"t3st_d@c3m6er"}'
Or one can trigger an interactive input with:
--ts=@json:@extend:'{"content_protection":"decrypt","content_protection_password":"@secret:@"}'
In next version, by default it will interactively ask the passphrase unless the use specifies not to do so (keep encrypted or give password)
a beta can be found here: https://ibm.biz/aspera-cli-beta
install with: gem install [gem filename here]
Laurent
------------------------------
Laurent Martin
Original Message:
Sent: Wed December 13, 2023 06:09 PM
From: Sean Kim
Subject: Configuring Password Prompt for Package Downloads using ascli
My objective is to send a package using ascli. This is the complete command I am using;
# ascli faspex5 packages send @json:'{"title":"test title","recipients":[{"name":"receiver_email_account"}]}' test_file.bin --ts=@json:'{"content_protection":"encrypt", "content_protection_password":"t3st_d@c3m6er"}'
Uploading the package poses no issues, but I want the recipient to decrypt the files when they initiate the download. When I send a package directly from the web browser, it prompts a pop-up window, but with this command, it encrypts the files without asking for a password when the recipients begin the download.
How can I ensure that recipients are prompted to enter a password during the download process?
------------------------------
Sean Kim
------------------------------