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