github IBM/aspera-cli v4.30.0
Aspera CLI v4.30.0

one hour ago

Highlights:

  • Plugin bundles: a plugin of option plugin_folder can be a folder with a manifest plugin.yaml, which adds commands and transfer agents; config plugins list and config plugins show tell whether each plugin is available, and why not. A development gem is built every day from main (GitHub pre-release nightly).
  • mcp server hardened further (security level high): the AI client can no longer start a transfer agent that runs on the local host, send the saved credentials to a host of its choice, disable the validation of certificates or use a proxy, start a local server, or choose the configuration file or the vault. The transferd daemon started by ascli requires an API key, and secrets no longer appear in logs or in the command line of async.
  • New command sync logs (also server sync logs, node sync logs): the notable events of IBM Aspera Sync logs (file conflicts, errors), to find why two folders drift.
  • Aspera on Cloud administration: new resources (distribution_list, group_permission, app_collaborator, dropbox join_request...), help shows the fields of create and modify, --query=help the query parameters; commands that always failed are removed.
  • New extended value @date:: a date and time in UTC, ISO 8601, absolute or relative (e.g. now-2h), also accepted by console transfer current list.
  • Options with a schema are checked when set (transfer, smtp, node_api, ssh_options, log, out...), and an error caused by a value of the user is no longer reported as a bug of ascli.
  • Project: test coverage 97.5%.

This version has breaking changes: read the Breaking Changes section below before upgrading. In particular: the folders of option plugin_folder replace the default folder (add DEF to keep it), @env: of a variable that is not set is an error, an unknown key in options smtp, transfer and out.img is refused when the option is set (also in a preset), server du and server md5sum return one row per path, and the security levels medium and high refuse more options and commands.

New Features

  • Option plugin_folder: --show-config lists all the folders given (it showed only the last one), and DEF (the default) is the folder plugins of the configuration folder. --plugin-folder=@json:[] uses no plugin folder other than the one of the gem.
  • Development version of the gem, built every day from main (not signed): aspera-cli-nightly.gem of the GitHub pre-release nightly. See the manual, section "Installing the development version of the gem".
  • Options node_api, ssh_options (server) and service_credentials (cos) have a schema: help as value shows their parameters (e.g. --node-api=help), and a value is checked when the option is set. --transfer=help shows the parameter asynchronous, common to all agents.
  • Plugin bundles: a plugin of a plugin folder (option plugin_folder) can be a folder <name>/ with a manifest plugin.yaml, in addition to a single file <name>.rb. A bundle has its commands, and can add a transfer agent (value of option transfer, with the schema of its parameters), schemas, commands to another plugin (e.g. config), services shared with other bundles, instructions for the AI client of mcp server (section mcp), and can depend on other bundles. A bundle that cannot be used (invalid manifest, missing dependency or gem) is listed with its reason, and the other plugins work. The built-in plugins and transfer agents are bundles too. See the manual, section "Writing a plugin bundle".
  • config plugins list: shows the folder of a bundle as path, has a column status (available, or the reason why the plugin is unavailable), and lists the unavailable plugins. New command config plugins show <NAME>: title, source, form, path, security level, status, commands, agents, schemas, mounts, services, extension points, dependencies and missing gems of a plugin, without loading its code.
  • ascli <NAME> for an unavailable plugin gives the reason, and a transfer agent of an unavailable plugin gives plugin <NAME> is unavailable: <REASON>. The error of an invalid value of option transfer also lists the agents added by plugin bundles.
  • Extended value @stdin:stream: the standard input, read by a command that reads a file (config ascp logs, sync logs), as it reads the file (e.g. gzip is detected). The argument - of these commands is short for it. It is refused by other options and arguments, and with a decoder (use @stdin:).
  • New command sync logs (also server sync logs, node sync logs): it reads the async (IBM Aspera Sync) log files of the local host and reports only the notable events, so a drift between two folders is easy to find: file conflicts and errors (SYNC FILE STOP with status=CONFLICT or ERROR), unsupported file-system events, session start/stop/idle, and ERR-level lines. With no argument it reads the log at the default location (~/Library/Logs/Aspera/async.log on macOS, syslog on Linux and Unix); a path, a folder, a gzip file, or - (standard input) can be given. The paths are checked against the security level, like @file:.
  • Agent transferd with port zero (the default url): the port of the daemon started is read from the file that transferd 1.1.7 and later writes once it listens, else from its log (it was read only from the log).
  • aoc admin group list and aoc admin group_membership list: --query=help lists the query parameters (filters, sort, q, embed[]...), and create shows the fields of the group or membership.
  • New command aoc admin group_permission: owners and managers of groups (tab Managers of a group in the web UI), with list, show, create, modify (only the level: owner or manager) and delete. --query=help lists the query parameters (group_id, entity_type, entity_id, sort, q, embed[]...), and create shows the fields. See the manual, section "Example: Owners and managers of a group".
  • aoc admin kms_profile and aoc admin saml_configuration: create and modify show the fields (modify <ID> help), and list --query=help the query parameters. aoc user preferences modify, aoc user notifications modify, and the same commands of aoc admin user, show the fields.
  • New aoc admin resources: distribution_list and distribution_list_membership (lists of email addresses and groups of a user or a workspace, recipients of packages), app_collaborator (allow list of the Files and Packages apps of a workspace), connect_suppressed_permission (users and groups that use the HTTP Gateway instead of IBM Aspera Connect), client_authorization (users and groups allowed to use an API client), email_template (list, show, modify, and effective: the templates used for the organization, a workspace or a shared inbox), trend_micro_profile and watermark_profile, and file_deletion_policy show (nodes of a storage, --query with node_id). aoc admin organization modify. New commands aoc admin integrations list (integrations and their options: providers and regions of watermarking and Trend Micro profiles) and aoc admin integrations watermark_identity <ID> (user of a watermark), and aoc user file_upload_notifications (list, create, modify, delete). create and modify show the fields, and list --query=help the query parameters.
  • aoc admin dropbox join_request <ID> list|show|approve|delete: requests to submit packages to a shared inbox made with its self registration link (approval required), approve and delete (reject) send emails; aoc admin dropbox update_self_registration_link <ID> renews the link. aoc admin network_policy initiation_rule|access_control_rule <ID> list|create|delete: the rules of a network policy, which ascli could not create (a policy allow_following without rules blocks the transfers with all nodes); the policy_setting of an access control rule is optional, derived from the type of the policy as in the web app. aoc admin user invite <ID> sends again the invitation of a user. aoc admin user|group shared_folders <ID>: the shared folders that a user or a group can access, on all nodes. aoc admin kms_profile nodes <ID>. aoc packages download_counts <ID> and aoc admin package download_counts <ID>: the downloads of a package by user. In these commands, option query cannot change a parameter given by the command (e.g. member_id), and the objects of its embed[] are added to user. create and modify of aoc admin dropbox show the self registration fields, and those of aoc admin network_policy the corrected fields (e.g. access_control_type disallow_following), with list --query=help its query parameters.
  • New extended value @date:: a date and time in UTC, ISO 8601 (e.g. 2026-11-27T09:00:00Z), from an absolute date (e.g. 2026-11-27 10:00:00, local time unless a time zone is given), or from now, today, yesterday, tomorrow optionally followed by - or + and a duration, e.g. @date:now-24h, @date:today+9h. A duration alone, e.g. 24h or 3600, is refused, with a hint (use now-24h). Embedded with @extend: in a query, e.g. --query=@json:@extend:'{"q":"last_login_at:<@date:now-730d@"}', it replaces Ruby code (@ruby:, refused at security levels medium and high). See the manual, section "Dates". The help (ascli -h) describes it and durations: it described a date syntax (now, -<num>h) not accepted since version 4.24.0.
  • console transfer current list: query parameters from and to also accept the syntax of @date:, e.g. --query=@json:'{"from":"now-2h"}'. A date without time zone is in UTC, as for Console.

Issues Fixed

  • console transfer current list without from and to: the default period (the last 24 hours) was computed in local time, but Console reads these dates in UTC, so the period was shifted by the offset of the local time zone, e.g. at UTC-5 the transfers of the last 5 hours were not listed.
  • Agent transferd: the daemon started by ascli had no authentication: during the transfer, another user of the host could call its API on the local port. It now requires an API key: the one of parameter api_key, else a random one, sent by ascli in each call. Its configuration file, in the temporary folder, is readable only by the user (it was readable by all). A daemon left running (stop is false) gets the key of parameter api_key, else it has no authentication, with a warning.
  • server ls, du, md5sum, rm, mv, cp, mkdir with several paths: only the result of the last path was shown, e.g. server du <PATH_A> <PATH_B> showed the size of <PATH_B>, and server ls <FILE> <FOLDER> did not list the folder. When a path failed and another one succeeded, the error was unexpected value: 2 (the other paths were processed), and when several failed, only the last one was reported. All results are now shown, and each failed path is reported with its error, after all paths are processed.
  • server commands executed by ascmd (ls, rm...): a path with newlines was sent as several command lines, and the lines between the first and the last one were executed as commands of ascmd (e.g. as_rm), for example with a file name made for that. A newline or NUL character in a path is now refused, as is a command longer than what ascmd reads (4094 bytes, it stopped with Internal server error). An error of ascmd itself (e.g. usage) showed errno 4294967295 instead of -1, and a date before 1970 was wrong.
  • server commands executed by ascmd (ls, rm, mkdir...): an error returned by the server was reported as Argument, exit code 2 (command line error), e.g. server browse /no-such-folder. It is now reported as ascmd, with the exit code of its category: 4 when the file or folder is not found (also a path below a file), 3 when the access is refused (permissions, or a path outside the docroot), else 7 (error of a remote API). With several paths, the code is 4 or 3 only when all paths failed for that reason. The error numbers of a Windows server, which differ, are taken into account.
  • aoc with --auth=web and no client_id: the global client was used, and AoC refused the login in the browser (Add the redirect URI for your API client...). ascli now stops before opening the browser, with an error that tells to set client_id and client_secret of an API client of the organization. The manual stated that the default of auth is web and the one of redirect_uri is http://localhost:12345: the default of auth is jwt, and redirect_uri has no default.
  • Errors caused by a value given by the user were reported as a bug of ascli: Other(Aspera::AssertError): assertion failed: ..., exit code 1, with the location in the code. For example: an element that is not a string in a list option (--plugin-folder=@json:'[1]'), parameters of sync_info, of transfer_info or of the transfer spec (paths without source), of smtp, a --query that is a list, package ids, the configuration file. They are now reported as Argument (exit code 2), and a shared folder not found (aoc, faspex5) as Identifier (exit code 4). Errors of parameters found by the library of the gem, and not converted by the command, were also reported as Other (e.g. Missing mandatory option: private_key of aoc with --auth=jwt): they are now reported as Argument. A component missing on the system is reported as Environment: no ascp or SDK installed, font of magick, H.264 encoder of ffmpeg, tool used for previews.
  • Other errors that are not a bug were also reported as Other(<class>), with the location in the code. They are now reported without location: errors of secret references and of option vault as Vault; a secret not found, or several secrets with the same label, in all stores, as Identifier (exit code 4), as is a lookup by name (%name:) that matches several entities; a wrong password of the vault file, and a passcode or public link refused by Faspex 5, as Authentication (exit code 3); parameters of sync (local_db_dir), metadata of an aoc package (missing mandatory field: ...), the URL of httpgw and a faux: path (it was Transfer, exit code 5) as Argument (exit code 2); a graphical environment required (agents connect and desktop) and the requirements of the service of transferd (Linux with systemd, root) as Environment; a remote command that failed as SSH; other failures of a remote service as Error.
  • Agent node with a bearer token and no root_id: the error said root_id not allowed for access key, it is required.
  • Agent transferd: a url without port is refused, with the expected format (the daemon was started, and the connection to it failed).
  • Options log, out and node_api: an unknown key was reported as a bug (Other(Aspera::InternalError) or assertion failed). It is now refused with its path, like for the other options with a schema, e.g. object property at `/levl` is a disallowed additional property, as is a value of node_api that is not a boolean.
  • Option smtp: an unknown key, or a value of a wrong type, was refused only when an email was sent: it is now refused when the option is set. The manual stated that the default of domain is the domain part of server: it is the one of from_email.
  • Option transfer: an unknown parameter, or a parameter of another agent (e.g. wss with agent node), was refused only when the transfer started, with the Ruby error unknown keyword: it is now refused when the option is set. Same for parameter resume of agent direct, and for option image (out.img), refused only when an image was displayed.
  • Manual: option node_api has no parameter per_page: it is a parameter of option query.
  • --transfer=node without url and without default node configuration: the message No default node configured. Please specify --transfer.url or --transfer was a Ruby error (NameError, reported as a bug of ascli). It is now the Argument error with that message.
  • Plugin of a single file <name>.rb with _ in its name (e.g. my_app.rb): help and poll messages showed the name of the class in lower case (myapp), they now show the name of the file.
  • mcp server: the commands sent by the client ran in the default home (~/.aspera/ascli, or env ASCLI_HOME) instead of the main folder of the server (option home). They now run in the main folder of the server; the client still cannot change it at security levels medium and high.
  • mcp server: the commands sent by the client could choose the configuration file with option config_file, and so read, create, modify or rename a file of the server, also outside writable_paths. The option is now refused at security levels medium and high, and the commands of the client use the configuration file of the server.
  • mcp server: the commands sent by the client could choose the vault with option vault (and its password with vault_password), and so create a vault file outside writable_paths, or make the server connect to a host of their choice (HashiCorp Vault, Keeper, ...). The options are now refused at security levels medium and high, and the commands of the client use the vault of the server, also when it is set in a preset of its configuration file.
  • mcp server: the commands sent by the client could start a transfer with an agent that runs on the local host (direct, a local transferd daemon, connect, desktop, httpgw), which reads and writes local files and runs local programs. At security level high (the default in MCP server mode), a transfer now uses an agent that the user controls on a remote host (node, or transferd attached to a remote daemon): an agent that runs on the local host is refused, with a message that tells to select a remote agent. In addition, the parameters that pass raw arguments to ascp or ssh (ascp_args of agent direct, ssh_args of the transfer spec) can start a local program (for example an ssh ProxyCommand): they are now refused at security levels medium and high (they execute code, allowed at level low only).
  • mcp server: a command sent by the client could redirect the saved credentials of the server to a host it chose: by combining a preset that holds a secret with its own url (the url of the command line overrode the one of the preset, but the secret stayed from the preset, and was sent to the host of the client), by referring to the secret with @preset:<NAME>.password or @vault: next to its own url, in a preset given as a Hash (--preset=@json:...), or by changing the configuration: a new preset with its own url and a copy of the secret, or another url in the preset of the server; also with another url for agent node in option transfer (--transfer=@preset:<NAME> --transfer.url=...), or another remote_host in option ts, which received the credentials of the transfer spec of the command (e.g. the password of a server preset). At levels medium and high, a secret of the configuration of the server (read from a preset or from the vault, whatever the way it is referred to, or set in the environment: options password, client_secret, private_key, passphrase, and these keys and api_key in an option with a key url, such as transfer) is now sent only to a url of the configuration (or of the environment), option ts cannot change the remote_host of the credentials of a transfer (unless that host is in the configuration, or the credentials are given with it), and the configuration is read-only: commands that change presets or the vault are refused.
  • mcp server: the commands sent by the client could disable or redirect the validation of a server certificate, or route through a proxy, and so intercept the connections of the server and its credentials (man-in-the-middle): options insecure, ignore_certificate, cert_stores, http_proxy, and the keys ca_file, verify_mode and ssl_options of option http_options. They now require security level low: refused at levels medium and high.
  • mcp server: the commands sent by the client could start a local server that listens on the network and serves a folder of the host or accepts transfers: node emulator (simulator), aoc gateway, faspex5 gateway. These commands, like faspex5 postprocessing, now require security level low: they are refused, and not listed by config commands, at levels medium and high.
  • mcp server: several commands read or wrote a local path chosen by the client without the security check, so at level high the client could read a file, enumerate a folder (following symbolic links), write or replace a file, or run a local program on a local file: config ascp logs, config sync admin (and server/node sync admin), preview test and show, orchestrator workflows import and check_import (read); config genkey and config plugins create (write); config image with a file: URL (read). These paths are now checked against the security level, like @file:: refused at level high, and limited to allowed_paths (read) or writable_paths (write) at level medium, where a missing path and one outside the allowed paths give the same error (no path-existence oracle). At level medium, a file or folder found in a folder given to config ascp logs is skipped when it is outside of allowed_paths (symbolic link), and the database of sync admin is checked also when its folder (local_db_dir) or the session name comes from sync_info. The argument - (standard input) of config ascp logs read the JSON-RPC stream of the MCP server (stdio): it is now refused in MCP server mode, as @stdin:; for the other commands, - was left unchecked (a file named -), it is now a path checked as any other. The sync transfer commands (push, pull, bidi) run the local async program and are refused at level high. Raw SQL (option sql of sync admin) can write a file (for example VACUUM INTO), and options sdk_folder (the folder ascp is run from) and temp.folder (temp_folder, where temporary files are written) let the client choose a local path: they are refused at levels medium and high.
  • Option security, writable_paths (levels medium and high, e.g. mcp server): a symbolic link in a folder of writable_paths to a file that does not exist was accepted as a path to write, and the file was then created where the link points, also outside writable_paths (e.g. a plugin in the folder plugins). Such a link is now refused, also as a parent folder of the path.
  • config web_login: about 1 code in 64 started with -, and ascli config web_login <code> then read the code as an option (Missing argument: code). A code no longer starts with -. For Shares, install the updated patch docs/shares/zz_saml_cli_relay_state.rb, which makes the codes on the server.
  • sync push|pull|bidi with sync_info in conf format: the remote password and token were in the command line of async (--conf64, base64 of the configuration), visible to the other users of the host (ps), and shown in the debug log (--log-level=debug). They are now given in environment variables ASPERA_SCP_PASS and ASPERA_SCP_TOKEN, hidden in logs, and the value of --conf64 is hidden in logs.
  • Logs at levels debug, trace1 and trace2: some secrets were in clear. At trace1 and trace2: the tokens of an OAuth token response (access_token, refresh_token, id_token) and the credentials of the token request (client_secret, code, code_verifier, the JWT assertion, also at debug in the URL with faspio --auth=jwt). At debug: the authorization code of a browser login, in the access log of the local web server (always with config web_login). At all three levels: the passcode of a Faspex 5 public link, in the context of the link (base64 JSON in the URL, given in option url or returned as access_url by faspex5 invitations create|list), and the code of its login. At trace2: the values of cookies. These values are now hidden, as are the secrets in the JSON, form or URL query bodies of HTTP requests and responses. In command output, the context of a public link given in an option (e.g. url of a preset) is hidden too; access_url in a result is shown. The logs no longer hide values that are not secrets, e.g. "token_type": "bearer", access_key, public_key. Still in clear at trace2: a secret split across two lines of the debug output of Net::HTTP (body over 16 KiB, or chunked).
  • sync push|pull|bidi in continuous mode ("mode":"continuous"): ascli stopped async about 10 seconds after the end of the first activity, when async closes its management port (it reports each activity period as a session). ascli now waits for the end of async (e.g. Ctrl-C, or asyncadmin --terminate).
  • sync admin (also server/node sync admin): the snap database (snap.db) was opened read-write while async may have it open during a synchronization, so a query (for example option sql) could modify the live database (UPDATE, DELETE, or VACUUM INTO to write a file). The database is now opened read-only, so these subcommands cannot change it.
  • sync push|pull|bidi (conf format): the parameters of option transfer (and the deprecated transfer_info) had no effect, because ascli always ran async with the direct agent and its defaults. They are now passed to the agent (as for a regular transfer): for async, quiet (async native progress) and spawn_timeout_sec have an effect; the ascp-only parameters (ascp_args, wss, resume, ...) do not. sync still always uses the direct agent, so a parameter meant for another agent (for example the url of node) is ignored.
  • --transfer=transferd without the optional gem grpc: ascli stopped with a Ruby error and a stack trace (cannot load such file -- grpc (LoadError)). It now tells to install the gem: agent transferd requires gem grpc: gem install grpc.
  • server: in a terminal, after a failed SSH authentication, the password was asked (<USER>@<HOST>'s password:, by Net::SSH), also with --interactive=no, so a script or a recording waited for an input instead of failing. The command now fails (SSH: Authentication failed, exit code 3), and the password (or the passphrase of a key) is asked only with --interactive=yes. Parameter non_interactive of option ssh_options overrides it.
  • Transfer spec, parameters exclude_newer_than and exclude_older_than: an integer, as in the examples of the manual (hot folder, "exclude_newer_than":-8), was refused (value at /exclude_newer_than is not a string). An integer or a string of an integer is now accepted, and each agent gets the type that it reads: a string for the Node API and transferd (the Node API ignores a number, transferd refuses it), an integer for Connect, which ignored the string, so no file was excluded. A negative (relative) time, that Connect also ignores, is refused with agent connect.
  • config preset get <NAME> <PARAMETER>: a value whose extended value is not a string, e.g. @none: or @json:[1,2], gave a bug of ascli (Other(ArgumentError): text result data: expecting type String...): it is now shown as by config echo, e.g. <null>.
  • config preset secure <NAME> with a preset that does not exist: it displayed Secrets secured in vault and did nothing. It now fails with no such preset, as preset show. GLOBAL is the global default preset, as for the other preset commands.
  • Agent transferd: the first start of the daemon failed at times, with assertion failed: Daemon started with PID <PID>, but connection failed to 127.0.0.1:55002: the daemon did not listen yet 2 seconds after its start (e.g. first execution of its executable). The connection is now retried until the daemon answers, for up to 10 seconds, else the error names the files of its logs.
  • Agent transferd: a url without address (e.g. :55002, as in the manual) failed in the commands of plugin transferd (info, transfers) and for the status of asynchronous jobs (Unavailable: errors resolving :55002): address 127.0.0.1 is used, as by the agent.
  • config agents jobs list: the status of the jobs not ended is queried, as with status: it showed the saved status, e.g. running and bytes_transferred 0 for a transfer completed, until status was called. When the agent gives no status, the saved one is shown, with a warning.
  • config agents jobs status: when the agent gave no status (e.g. Unauthenticated: missing api_key, daemon not reachable), unknown and the error replaced the saved status, and the error stayed after a later successful query. The saved status is now kept and shown with the error, the error of a previous query is removed once the agent gives the status, and a job ended (completed, failed, cancelled) is not queried again. For agents direct and httpgw after a restart of ascli, the last saved status is shown with a note (it was unknown).
  • OAuth (e.g. aoc, faspex5): a token cached for an API client was used with another API client (client_id) of the same server and user, until it expired: e.g. a test of a new client used the token of the previous one. A token is now cached for each API client. After the upgrade, a new token is generated once for each user (with --auth=web, one more login in the browser), and the files of the previous tokens are removed by the cleanup of expired tokens.
  • Public keys were masked (-----BEGIN PUBLIC KEY-----***-----END PUBLIC KEY-----) in results, unless option out.secrets was yes, e.g. config pubkey, and field public_key of faspex5 admin oauth_clients show, of AoC users and API clients. Only private keys are masked.
  • aoc admin usage_reports with workspace_id in option query: the parameter was sent twice, with the current workspace and with the value of the query. It is now refused, with a message, unless it is the current workspace.
  • aoc admin group_membership modify is removed: AoC cannot modify a group membership (delete it and create another one).
  • aoc admin contact show|modify|delete and aoc user contacts show|modify|delete are removed: they always failed (404). AoC can only list and create contacts: a contact is a user, group, shared inbox or distribution list (source_type, source_id), with no identifier of its own.
  • aoc admin short_link show is removed: it always failed (404), AoC has no GET /short_links/{id}, and the list cannot be filtered by identifier. Use list (--query filters on purpose and user_id), or short_link show of files or packages shared_inboxes.
  • aoc admin auth_providers update was not implemented. It is replaced by show and modify (modify <ID> help shows the fields: name, enabled, login_text, configuration, included_domains, excluded_domains), and list --query=help no longer fails.
  • help as value of the Hash argument of aoc admin client_access_key create|modify, client_registration_token create|modify and operation modify failed with a bug of ascli (assertion failed: schema: ...). The fields are now shown, and modify of all admin resources shows the fields of a modification, no longer those of a creation; workspace modify <ID> help shows the fields of a workspace. client_access_key list --query=help shows the query parameters (it showed none).
  • aoc admin kms_profile, saml_configuration, configuration_policy, client_registration_token and short_link with an identifier given by a field (%name:<NAME>) failed with 500 Internal Server Error: AoC fails on parameter q of these lists, used to search the value. The value is now searched in the whole list, in the field given (e.g. %name:, %short_url:).
  • Manual, section "Calling AoC APIs from command line": the curl example failed (token without admin scope, missing option -g). It now lists the group and member names, as does aoc admin group_membership list with --query=@json:'{"embed[]":["group","member"]}'.

Breaking Changes

  • Option plugin_folder: the folders given replace the folder plugins of the configuration folder (they were added to it). To use both, add DEF, e.g. --plugin-folder=DEF --plugin-folder=<FOLDER>. A warning tells when that folder has plugins and is not used.
  • Extended value @env: of an environment variable that is not set is an error, with the name of the variable: environment variable <NAME> is not set (exit code 2). It was null, without error: a typo in the name gave a misleading error later, e.g. --password=@env:<NAME> gave Either password, key, or transfer spec token must be provided. A preset that refers to a variable not set (@env:) fails when it is used, also when the command does not need that option.
  • server du and server md5sum: the result is a list with one row per path, with column path (it was a single object, of the last path only).
  • server df: the column of the type of file system is type (it was is_a).
  • An unknown key in options smtp, transfer and image (out.img) is refused when the option is set: a preset with such a key makes every command fail, also one that does not send an email, transfer or display an image. An unknown key is refused (it was ignored) in option package_folder (aoc), in the parameters of node telemetry, and in the plugin set of orchestrator plugins reload_set (it was sent to Orchestrator).
  • Security level high (the default in MCP server mode) now refuses a transfer agent that runs on the local host (direct, a local transferd daemon, connect, desktop, httpgw): a transfer uses a remote agent that the user controls (node, or transferd with a url to a remote daemon). The default agent is direct (local): on the command line, a transfer at level high without an agent is refused with a message that tells to select a remote agent (level high is not the default on the command line). The parameters that pass raw arguments to ascp or ssh (ascp_args of agent direct, ssh_args of the transfer spec) are refused at levels medium and high: they can start a local program, so they are allowed at level low only.
  • Security levels medium and high: a secret of the configuration (read from a preset or from the vault, or set in the environment) is sent only to a url of the configuration (or of the environment), so option url on the command line with another URL than the one of the preset that carries a secret (password, client_secret, private_key, passphrase), or next to a reference to such a secret (@preset:, @vault:), is refused; so is another url for the secret of agent node of option transfer, and another remote_host in option ts for the credentials of the transfer spec of the command (remote_password, token, ssh_private_key, ssh_private_key_passphrase), unless the credentials are given in ts with it. The configuration is read-only: commands that change presets or the vault are refused (available at level low only): config preset set, delete, unset, initialize, update, ask, secure, config wizard, config initdemo, config vault create, delete, import, password. For example, an MCP client cannot create a preset: create it before starting the server. So the presets of the configuration are the ones of the operator: an option available at level low only (for example ignore_certificate) is accepted in a default preset or in a preset given by name (--preset=<NAME>), as in the environment, and refused when the client sets it (command line, or preset given as a Hash); extended values in a preset are still restricted. The command line default level low is unaffected.
  • Security levels medium and high refuse the options that disable or redirect the validation of a server certificate, or route through a proxy (available at level low only): insecure, ignore_certificate, cert_stores, http_proxy, and the keys ca_file, verify_mode and ssl_options of option http_options.
  • Security levels medium and high refuse the commands that start a local server (they are available at level low only, as faspex5 postprocessing): node emulator (simulator), aoc gateway, faspex5 gateway.
  • Security levels medium and high: a command that reads or writes a local path chosen by the client checks it like @file:, refused at high and limited to allowed_paths/writable_paths at medium (it was not checked): config ascp logs, config/server/node sync admin, preview test and show, config genkey, config plugins create, orchestrator workflows import and check_import, and config image with a file: URL. orchestrator workflows import was not restricted before (it is read like any local file, since ascli reads it, even though it is then sent to Orchestrator). The sync transfer commands (push, pull, bidi) run the local async program and are refused at level high. Option sql of sync admin, and options sdk_folder and temp.folder (temp_folder), are refused at levels medium and high. Library and plugin authors: a command argument that completes to a local file or folder (complete: :file or :folder) must now declare access: (:read, :write, or :none when it is not a local path read or written by ascli), and stdin: true when - is the standard input (else - is a path): the action then receives an Aspera::StandardInput instead of - (read gives the content).
  • Ruby library use (the ascli command line is unchanged): classes are renamed and files moved, with no alias at the old names, e.g. Aspera::Api::Node is Aspera::Plugins::Node::Api, Cli::OptionDeclarator is Cli::Option::Declarator. See the manual, section "Ruby Module: Aspera".
  • Plugins of a plugin folder: BasicAuth and Oauth are modules (they were classes): subclass Cli::Plugins::Base and write include Cli::Plugins::BasicAuth (or Oauth).

Server Versions

Tested with Ruby 4.0.10 on osx-arm64.

Plugin Product Version
aoc IBM Aspera on Cloud SaaS
console IBM Aspera Console 3.4.12
faspex5 IBM Aspera Faspex 5.0.19
faspio IBM Aspera faspio Gateway 1.3.7
httpgw IBM Aspera HTTP Gateway 2.3.4
node IBM Aspera High-Speed Transfer Server (Node API) 4.4.9.3472
orchestrator IBM Aspera Orchestrator 4.1.6.2036-00000
server IBM Aspera High-Speed Transfer Server (SSH) 4.4.9.3472
shares IBM Aspera Shares 1.11.5

Transfer Agent Versions

Agent Product Version
connect IBM Aspera Connect 4.2.16
desktop IBM Aspera for Desktop 1.1.2
direct IBM Aspera ascp 4.4.8.2592
httpgw IBM Aspera HTTP Gateway 2.3.4
node IBM Aspera High-Speed Transfer Server (Node API) 4.4.9.3472
transferd IBM Aspera Transfer Daemon 1.1.9

Don't miss a new aspera-cli release

NewReleases is sending notifications on new releases.