Skip to content

v0.15.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 18:26
· 218 commits to main since this release
0ac7d7f

Highlights

  • Passwords komando never stores. --login ask on host add, host edit, conn add and conn edit: a person types the password when it is
    needed, and an AI agent cannot move where it goes.
  • Strict read-only. exec --read-only (and job start, docker exec,
    cluster exec, read-only recipes) runs a command only when komando knows
    it cannot change anything, on every server.
  • Riskier changes need a person. db grant, db user add, cluster apply of a file that gives out rights, and a DELETE or UPDATE that
    keeps every row now need --allow-dangerous.
  • Output contract 2. Every error code means one thing and has one exit
    code; meta.contract is 2. Scripts that read error codes should check
    "Changed for scripts and agents".
  • New commands. import securecrt, storage mkdir, storage mv,
    storage chmod, cp between two remote places, --continue for a cut-off
    transfer, db kill on MongoDB, svc --user-units, and facts --only.
  • Releases name their version. The signature of checksums.txt now
    covers the version, so an older release cannot pass as a newer one.
  • Many security fixes for AI agents, VPNs, file transfers and approval
    windows; see Security.

Added

  • komando import securecrt FILE|FOLDER adds SecureCRT's SSH2 sessions,
    from its exported settings (File > Export Settings, an .xml file) or
    its Sessions folder: host, port, user and key file, with each
    session's folder as a group. Other session types, a firewall and a
    .ppk key are listed with what to do. Stored passwords and key
    passphrases are never read.

  • komando pkg security works on zypper (security patches; pkg upgrade --security runs zypper patch --category security), and on pacman
    with arch-audit. Where the repositories publish no security notices
    (apk, pacman without arch-audit, dnf/yum repositories such as
    CentOS's) the list is no longer silently empty: the new
    security_notices field is false, unclassified_updates lists every
    pending update, and a warning says why. pkg upgrade --security stops
    there with SECURITY_UNSUPPORTED (exit 3) and changes nothing; apk,
    zypper and pacman servers are no longer in meta.skipped.

  • --user-units on komando svc status, list, start, stop, restart,
    reload, enable, disable and daemon-reload manages the login
    user's own units (systemctl --user), without sudo. A user with no
    systemd manager running stops with the new code NO_USER_MANAGER
    (exit 3); the hint names loginctl enable-linger USER.

  • komando docker prune --volumes takes --older-than. Docker has no age
    filter for volumes, so komando prunes with the age filter, then removes
    only the unused anonymous volumes made before the cut-off, by name; the
    dry run lists exactly those, and the answer lists them in
    volumes_removed. A volume whose age komando cannot read stays. A dry
    run with --volumes now always has volumes, empty when none would go.

  • MongoDB conns take komando db kill CONN OPID (stops the operation
    db activity shows, with killOp; --dry-run shows it first; no
    --session), komando db user list (the users of every database, with
    their roles, never their stored credentials) and komando db user show CONN USER (roles, and the actions they give). The JSON has the same
    shape as for SQL databases. db user add, passwd, rm, db grant and
    db revoke stop with NOT_SUPPORTED, whose hint says to send the
    command with db query --write (it needs --allow-dangerous).

  • komando host trust NAME --fingerprint SHA256:... pins a server's key
    only when the server shows the key with that fingerprint: compare and
    pin in one step. Any other key stops with HOSTKEY_MISMATCH and
    nothing is pinned. The answer has expected_fingerprint next to
    fingerprint; the approval rules for AI agents and --reset are as
    before.

  • komando secret set NAME --new stores a secret only when NAME is not in
    the vault yet. A taken name stops with SECRET_EXISTS (exit 8) and
    keeps its value, --dry-run included. The check and the write are one
    step of the store, so of several komando commands creating one name at
    once exactly one wins.

  • komando host add NAME ADDRESS --login ask and komando host edit NAME --login ask: a server whose password komando never stores. A person types it whenever komando connects (every command, fleet run, jump host, shell, cp, sync, job and tunnel), and it is used for that command only: at a terminal komando asks NAME: Password: (hidden); for an AI agent's command komando opens its own window on the person's screen, which names the agent, the server as user@address:port and the command (or says it is hidden), and where they type it; the agent never sees it. Apps get the same question through the new engine.Call.AskPassword hook. A script, an agent with no screen and ssh-gate get NEEDS_PERSON (exit 6), and a cancelled window gives DECLINED (exit 6) whose hint is komando login SERVER; after a cancel the window stays shut for that server for a minute (DECLINED at once). These are new exit paths for every command that connects to such a server, including tunnel start, which asks before it starts the tunnel and hands the password to the tunnel's process on its input (that process keeps it in memory for the tunnel's life). Only a person sets where the password goes: an AI agent that adds a --login ask server, turns one to --login ask, changes its address, port, user, --via, proxy command or transport, or changes a server or VPN on its way (edit, vpn add --overwrite, import, or replacing the vault secret that holds an OpenVPN profile) gets NEEDS_PERSON (exit 6), which no flag lifts; a dry run names it in meta.would_be_blocked. The window names the way komando dials (VPN, each jump host with its address, proxy command). The first connection to such a server (a host key nobody has seen, host_key_policy off, or WinRM tls=off/skip-verify) needs a person at a terminal, and so does a key that is pinned but that nobody has logged in to this server with (pins are by address, and any server added at that address can pin one): an agent gets NEEDS_PERSON and nothing is pinned. Each pin now keeps the login-ask servers a person logged in to with it (a new optional logins list in the pin record; host trust --reset clears it). An AI agent that starts komando login's background process (login-holder) itself gets NEEDS_PERSON. One command asks once per server; a refused password is asked again on the next connection. The typed password is hidden in all output and never written to disk, the audit log or a program's environment; komando zeroes its own copy when the command ends. A komando login NAME that is still live is used without asking.

  • komando conn add NAME URL --login ask and komando conn edit NAME --login ask (also komando db add and the other KIND add): a conn whose password komando never stores, typed by a person at every connect through the same questions as a --login ask server (terminal, app window, komando's window for an AI agent with the same cool-down; NEEDS_PERSON for a script or an agent with no screen; DECLINED after a cancel). --login on conns takes ask, password or none, the words of the new login field of conn show and list. Only a person sets where the password goes (NEEDS_PERSON for an agent's add, --url, --via, turn to ask, or change to a server or VPN on its way). An agent's db dump/db restore of such a conn gets NEEDS_PERSON (the dump tool would get the password in its environment). SQLite files and clusters refuse --login ask (USAGE). The guided database forms offer "Yes, and I type it each time".

  • --login ask|password|key|agent on host add and host edit: the same words as the new login field of host show, host list (and list), host add and host edit, so what you read back is what you can write. password is a stored password (with --ask-password or --password-ref) and drops a key; key needs --key or --identity; agent is ssh-agent and ~/.ssh only and drops the key and the stored password. A flag that contradicts the word is a USAGE error. Switching to ask or agent unlinks the stored password but never deletes the secret: host edit names an unused one in the new secrets_unused field. komando schema host add and host edit list the new --login flag (type string, no default).

  • komando storage mkdir CONN PATH makes a folder (and any missing parents) in a bucket or on a file server. On S3, Google Cloud and Azure, which have no real folders, it stores an empty folder marker, as their consoles do, and storage list now shows such an empty folder instead of FOLDER_NOT_FOUND.

  • komando storage mv CONN SRC DST [--overwrite] moves or renames inside one conn. File servers (SFTP, FTP, FTPS, WebDAV, SMB) rename on the server, folders too. S3, Google Cloud and Azure cannot rename: there mv copies the object on the server, checks the copy's size and checksum, and deletes the original only after that check (method: copy_then_delete). Where a file server cannot rename over a file, --overwrite moves the old one aside first and puts it back if the rename fails. A file or folder already at DST stops it with FILE_EXISTS (exit 8). New error codes: MOVE_FAILED (exit 5: the copy did not check out, so the original was kept, or the original could not be deleted after a good copy) and STORAGE_UNSUPPORTED (exit 2). For an AI agent, a file that is secret by its name (.env, a private key, a key store) keeps such a name: renaming it to another kind of name stops with SENSITIVE_FILE. An FTP server whose listing hides dot files is asked for the file itself, so a hidden file at DST is not replaced without --overwrite.

  • komando storage chmod CONN MODE PATH sets the Unix mode of a file or folder on an SFTP conn and says the old one; other kinds stop with STORAGE_UNSUPPORTED before anything is contacted.

  • All three are changes like storage upload: --dry-run shows what would happen and is never blocked (meta.would_need), a protected conn needs a person's yes, and every run is in the audit log. New JSON: storage.mkdir {conn, path, created, dry_run}, storage.mv {conn, src, dst, folder, replaced, method, size_bytes, dry_run}, storage.chmod {conn, path, mode, old_mode, dry_run}.

  • komando cp SRC_TARGET:PATH DST_TARGET:PATH copies between two remote places: server to server, storage to storage, or a server and a storage conn. The data streams through this computer and is never saved on its disk; folders go with -r. A single file reports its sha256, the result names its source, a protected destination asks once, --progress writes the same lines as an upload, and the audit log has one record for the whole copy (source, destination, size, sha256). For an AI agent the copy is read on its way: a file holding anything komando hides from an agent (a vault value, a secret by its shape, or personal data where the source hides it) stops with SENSITIVE_FILE before it is put in place (in a folder copy it is listed in errors and the rest go), as a file that is secret by its name does. A folder without -r stops with IS_A_DIRECTORY (exit 2).

  • --continue on upload, download, cp and storage upload/download goes on with one file that was cut off: the part already at the destination is checked against the source (sha256), only the rest is sent, and the whole file is checked before komando says it worked. The result has continued_from_bytes and sha256. A destination that is longer or differs, before the copy or by its sum after it, stops with RESUME_CONFLICT (exit 8: copy the whole file again without --continue); one that changed while komando copied stops with FILE_CHANGED (exit 8: run the same command again); S3, Google Cloud Storage, Azure Blob and WebDAV, which store a file whole, stop with RESUME_UNSUPPORTED (SFTP, FTP, FTPS and SMB conns can go on). Servers work out the sums themselves (sha256sum or shasum).

  • komando ssh-gate status says which ssh-gate key runs it, and whether it
    may change things or reach the network (gate, name, read_only,
    network, komando). ssh-gate answers it itself; typed on the komando
    computer it says gate: false.

  • komando facts lists every real file system as disks: mount point,
    device, size, used and free in MiB, and use %.

  • komando facts SERVER --only load,mem,disks runs just those probes, in
    about a second, for an app that polls: the same keys, the other sections
    left out. --only system gives the OS name and the time the server has
    been up (os, os_version, os_pretty, uptime_sec). A read-only
    ssh-gate key without --network runs it.

  • A --login ask conn follows the same rule as a stored password for where its password goes (every URL setting except the few that move nothing): an AI agent's other change of its URL gets NEEDS_PERSON. A WinRM server's ca= and auth= count as where its password goes too.

  • An AI agent's config set default_user gets NEEDS_PERSON while a --login ask server has no user of its own; replacing a secret on the way to a login-ask server or conn (a VPN's key or profile, a WinRM or conn CA) does too. The same holds for default_user while a jump server on the way to a login-ask server or conn has no user of its own, and for an import --overwrite that would replace such a secret (a conn's password in the file is stored as NAME-pass); a secret a protected entry uses needs a person's yes there, as in secret set.

  • An AI agent that changes the user or the transport (WinRM, its tls=) of a server with a stored password now needs a person's yes (SECRET_DESTINATION), as it did for the address, port and --via: the password goes there.

Changed

  • Windows: a program under Program Files or the system folder counts as one only an administrator can change (so an AI agent's command may hand it a password, or run a kubeconfig's login program without asking again) only when the file and each folder up to Program Files belong to the system or the administrators and no one else may write them (C116). An installer that let every user write its folder no longer makes its programs count. A ProxyCommand runs with Windows' own cmd.exe, never the one ComSpec or SystemRoot in the environment names.

  • An old copy of runtime.json put back no longer opens (C115). store.db keeps a mark that changes whenever a VPN session or a held server login starts, ends or changes, and runtime.json must carry the same mark; one that does not is read as empty, like a plain one, so its sessions are found or made again. Marking a VPN used does not change the mark. Folders from before keep working: neither file has a mark until the first session change.

  • The release signature covers the version (C114). From 0.15.0 on, the first line of checksums.txt is komando-release vX.Y.Z YYYY-MM-DD, signed with the rest. komando update and install.sh install a release only as the version that line names, so the signed files of an older release put under a newer tag, or served as the newest, stop with RELEASE_SIGNATURE_INVALID (exit 2) and nothing is changed; a release after 0.14.1 without the line stops the same way. 0.14.0 and 0.14.1, signed before the line, still install when asked for by version. install.sh prints the version and day it installs. Known limit: a real, older release served as the newest is not detected (update never goes back on its own). For releases: releasesig sign takes the tag and refuses a checksums.txt that does not name it.

  • exec --read-only (and job start, docker exec, cluster exec,
    read-only recipes) is now a strict allowlist on every server: the
    command runs only when komando knows every part of it only reads, and
    anything else is READ_ONLY_VIOLATION. Before, an unknown command ran
    on an unprotected server and through a read-only ssh-gate key. No longer
    accepted under --read-only: a program komando does not know (curl,
    wget, nc, your own tool), git (a repository's config can run a
    program), less, patch --dry-run, lz4, ldd, nm, chrt,
    taskset, nohup, busybox, sudo -i/-s/-E, set -x and any
    set but -e, -u and -o pipefail, let, unset, declare,
    shopt, kubectl --kubeconfig/--server/--token/--as, psql
    and mysql (use komando db query, which runs in a read-only
    transaction), setting a variable with an upper-case name (PATH,
    PS4, TAR_OPTIONS ...; LANG, LC_*, TZ, TERM and COLUMNS
    still pass) by NAME=, export, read, for or -e, an -e value
    in a command with double quotes or with *, ?, [, {, ~ or a
    backslash in it, kubectl config view --raw, a long
    option not written in full or not on komando's
    list, a subcommand it does not know, unquoted {a,b}, and
    ${x@P}-style expansions. For a server's state use komando facts,
    logs, svc status or fs read. See
    Commands.

  • komando export --for-phone now seals the file with post-quantum encryption: HPKE with X-Wing (ML-KEM-768 and X25519), HKDF-SHA256 and AES-256-GCM, the suite komando's sync uses, so a copied export file stays closed even to a future quantum computer. The phone's key is now a 1216-byte X-Wing public key; a 32-byte X25519 key from an older iPhone app is refused with PHONE_KEY_INVALID and a message to update the app. The file's recipient header is version 2; a file for the phone made by komando 0.14.0 (X25519 only) is refused as outdated and never opened: make it again. It needs the iPhone app for iOS 26 or later. Passphrase files (--sealed) are unchanged. internal/sealfile/testdata/vectors.json now pins every byte of both modes, with files that must be refused; docs/design/sealed-file.md has the layout.

  • A read key stays off the network. An SSH key added with
    komando ssh-gate line --read-only now runs only komando's own reads of
    the servers and conns in your list. Every net command, cert check of
    a website, and exec, job start, docker exec, cluster exec and
    recipe run are refused for it (SSH_GATE_NETWORK_REQUIRED, exit 6): they can
    reach any host and carry what the key reads in a URL or a DNS name. A
    read komando adds later is refused until it is known to stay on listed
    targets. Add --network to the line for a read key that may run them
    (komando ssh-gate line --name NAME --read-only --network KEY); the line
    JSON has network.

  • --read-only no longer lets through the forms of read tools that write
    or kill: xxd IN OUT, yq -i and --split-exp, xmllint --output and
    --shell, fuser -k, ss -K and -D, arp -d, -s and -f, and
    sar -o. Their plain reads still pass.

  • db query on SQL Server: a linked-server name (lnk.db.dbo.t) and the
    functions that read a file path (fn_xe_file_target_read_file,
    fn_get_audit_file, fn_trace_gettable, fn_dump_dblog) need
    --write, as OPENQUERY and OPENROWSET did: a path can be
    \\HOST\share, a connection to any host.

  • db query on Oracle: xmltype(), XMLPARSE and createxml() of text
    the query builds need --write: a DTD in it can name a URL the parser
    fetches. xmltype(column) stays a read.

  • No ssh-gate key, read, network or full, makes komando read a file on the
    komando computer any more: --script FILE, --stdin-file FILE,
    db query --file, db restore --from, cluster apply --file,
    fs write --from, upload, storage upload, cp and sync from a path
    there, and cluster run -- apply -f, --from-file or cp to a pod are
    refused (SSH_GATE_REFUSED). A private key sent to a server could come
    back in its answer. - (the key's own input) still works.

  • --read-only reads tool options as the tools do: a start of a writing
    long option (ss --kil, arp --del, yq --in-pl), xmllint's
    -output and -shell, and xxd's second file even when it starts with a
    dash.

  • db query needs --write for more ways out: SQL Server
    dm_os_file_exists, dm_os_enumerate_filesystem and any \\HOST\share
    path; Oracle XML parsed from anything but a bare column (a bind value,
    CONCAT, XMLTRANSFORM); Postgres http_* (pgsql-http, pg_net),
    aws_s3.*, aws_lambda.*, aws_commons.* and pg_background_*; a
    BigQuery routine or model named with a project (proj.ds.fn), which may be
    another project's remote function.

Changed for scripts and agents

  • A DELETE or UPDATE whose WHERE keeps every row (WHERE true,
    WHERE 1, WHERE 1=1, x OR true), and a MERGE ... ON TRUE, are
    rated like no WHERE: they need --allow-dangerous
    (sql-delete-no-where, sql-update-no-where) on every SQL kind.
  • db grant, db revoke, db user add and db user passwd now need
    --allow-dangerous (at a terminal: type the user's name). They send
    the statements db query already rates as privilege changes
    (sql-privileges); without the flag they stop with POLICY_BLOCKED.
  • cluster apply and cluster run -- apply|create -f need
    --allow-dangerous for a file that gives out rights (roles, bindings,
    webhook configurations, service account token Secrets) or opens a node
    to a pod (host namespaces, privileged, added capabilities, hostPath),
    and for a Swarm stack file that hands a service the server. cluster run -- create role needs it too.
  • db restore has a new stop, FILE_CHANGED (exit 8): the file
    changed after komando checked it.
  • komando doctor -o json: a check that one komando command puts right,
    asking nothing, has fix, the words to run as a list. error.message,
    error.hint, error.suggestion (also in per-server error objects),
    meta.warnings, meta.skipped and doctor's name and detail are
    made safe to show in JSON as they are on the terminal: escape
    sequences, text-direction marks and invisible format characters show
    as \e, \xNN, \uNNNN. The rest of data is unchanged.
  • One error code each (output contract 2). meta.contract is now 2.
    Every error code means one thing and has one exit code; there are no old
    names to fall back on. Scripts and apps that read error.code change
    these (old -> new):
    • PROTECTED_HOST -> PROTECTED_TARGET (any protected server, conn, VPN
      or secret).
    • CONNECT_FAILED, K8S_UNREACHABLE, REGISTRY_UNREACHABLE,
      WINRM_UNREACHABLE, RELEASES_UNREACHABLE -> CONN_UNREACHABLE (the
      message still names what could not be reached).
    • HOST_NOT_FOUND, CONN_NOT_FOUND, VPN_NOT_FOUND -> TARGET_NOT_FOUND
      for an unknown name, whatever the command; a group, tag or pattern that
      picks nothing -> TARGET_EMPTY.
    • KEY_NOT_FOUND -> SSH_KEY_NOT_FOUND or CACHE_KEY_NOT_FOUND;
      NOT_FOUND -> SWARM_SERVICE_NOT_FOUND, SWARM_STACK_NOT_FOUND,
      SWARM_OBJECT_NOT_FOUND, DOCKER_OBJECT_NOT_FOUND or
      CACHE_SECTION_NOT_FOUND; REGISTRY_NOT_FOUND ->
      REPOSITORY_NOT_FOUND or IMAGE_TAG_NOT_FOUND; K8S_NOT_FOUND for a
      pod -> K8S_POD_NOT_FOUND, for a container (and CONTAINER_NOT_FOUND
      of cluster deploy) -> K8S_CONTAINER_NOT_FOUND.
    • FAILED -> COMMAND_FAILED (exit 5) when one server's command exited
      non-zero; any other one-server failure gives that server's own code
      (CONNECTION_REFUSED, TIMEOUT ...); kubectl failing in cluster run
      -> TOOL_FAILED.
    • REVEAL_NEEDS_HUMAN -> REVEAL_NEEDS_TERMINAL.
    • A statement that ended komando's transaction while running ->
      SQL_TX_CHECK_REQUIRED (exit 6); a conn whose settings change how SQL
      is read -> SQL_SAFE_SETTINGS_REQUIRED (exit 6). SQL_TX_CONTROL and
      SQL_STRING_RULES are now only for SQL you wrote (exit 2).
    • A file komando cannot write on a server -> REMOTE_WRITE_FAILED
      (exit 5); WRITE_FAILED (exit 1) is a file on this computer.
    • storage download of a folder without -r and storage rm of a
      folder key -> IS_A_DIRECTORY (was USAGE).
    • error.thing is gone from the JSON: the code says it.
  • Breaking for scripts: a script (no terminal, not an AI agent) that runs
    komando login, komando login aws or --ask-password / --ask-psk now
    gets NEEDS_PERSON (exit 6), as an agent does; it was NEEDS_TERMINAL
    (exit 2). NEEDS_TERMINAL is only for interactive commands (shell,
    db shell, cluster shell). VIA_CYCLE is exit 2 everywhere (it was 1
    when found while connecting).
  • SECRET_INPUT_INVALID is gone. An AI agent's arguments, script or
    file that hold a vault value now get the answer any other value gets,
    and the value it typed is not hidden as [secret:NAME] in that
    command's output: the refusal told it which guess was a secret as
    surely as the mask did. The audit log still records it.
  • komando takes no proxy from an AI agent's environment (HTTPS_PROXY,
    HTTP_PROXY, NO_PROXY): an agent that needs the company proxy uses
    it as a VPN with --via, or a kubeconfig's proxy-url. A person's
    proxy works as before. SSL_CERT_FILE and SSL_CERT_DIR are ignored
    for everyone, on every system: komando trusts the system's CAs and the
    CAs a conn, VPN or kubeconfig names. On Linux, and on macOS with Go
    1.27, an agent's own CA plus its proxy read stored VPN passwords,
    cluster tokens and registry and storage logins.
    The AWS SDK, minio and the Google token clients get komando's transport
    too, and an agent's AWS_CA_BUNDLE and VAULT_CACERT are ignored.
  • A Kubernetes Secret's values in cluster get, the hidden arguments in
    cluster run's audit and dry run, and the cluster apply --dry-run
    diff now read [hidden], [hidden, changed] and [hidden, new], the
    marker the rest of komando uses, not (hidden). A file holding either
    marker is still refused with HIDDEN_VALUE.
  • cluster run's own errors keep kubectl's error: line and exit code 1,
    but say what is wrong in komando's words (name the type of resource to get, --timeout "x" is not a duration), not kubectl's.
  • Hints no longer say "nothing was changed/imported/lost/run": that state
    is now at the end of the message.

Removed

  • The refusal for an OpenVPN saved with the old OS mode (--os-mode,
    removed earlier): VPN_OS_MODE_REMOVED is gone, and vpn show no
    longer has a runs line for it. Re-add such a VPN with vpn add ... --overwrite before updating.

  • The reader for sealed stores from before the record index (a change
    count with no index beside it). No released komando wrote that form,
    only development builds in the hours before 0.12.0. A store in that
    form now stops with "changed outside komando".

  • The reader for audit entries from before the audit chain (an entry
    that does not hold the sum of the one before it). Only the same
    development builds wrote them. komando audit stops at such an entry
    with "changed outside komando", after the entries before it.

  • komando download TARGET PATH --to - streams one file to stdout, from a server too now (and komando cp TARGET:PATH -); komando upload TARGET - DEST, komando storage upload CONN - KEY and komando cp - TARGET:PATH read it from stdin, for the phone apps' Files view. With --to -, stdout carries the file's bytes and nothing else, whatever -o says; komando's own answer goes to stderr (with -o json one envelope at the end: {host|conn, path|key, to: "stdout", bytes, sha256, masked}, or the error), and the exit code says which. Storage downloads to stdout no longer need -o text. An upload from stdin goes to one server or conn through a temporary file (an object store finishes it only at the end); --size N makes a stream of another length fail with SIZE_CONFLICT (exit 8) and replace nothing, and a stream holding a [hidden] value is refused (HIDDEN_VALUE). --continue, -r and several servers are refused with -; a dry run reads nothing. For an AI agent a stream keeps what a download to a file keeps, before a byte is written: text with secret values as [hidden], a binary file holding a vault value, a secret or personal data komando hides refused (SENSITIVE_FILE), anything over 16 MiB refused (FILE_TOO_LARGE). Through ssh-gate, download --to - is a read (allowed for a read-only key), and uploads from stdin need a key that may change things.

Security

  • cluster run and docker raw|compose read a compose or stack file
    that is already on the server before they rate the command: a
    privileged service or a bind of / there now needs --allow-dangerous,
    as in a local file, and so does a file komando cannot read or one that
    pulls in files it does not check (include:, extends: file:, a
    COMPOSE_FILE in .env, privileged left to a variable). Manifests
    that install through a controller (k3s HelmChart, Argo CD, Flux), EKS's
    aws-auth ConfigMap, a kube-system pod with one of its service
    accounts, label ... pod-security.kubernetes.io/enforce=privileged (or
    removing it), set serviceaccount, create configmap aws-auth and
    Argo Workflows need it too. (C113)

  • An AI agent's import kubeconfig no longer copies a file from ~/.ssh
    or another credential store (other than ~/.kube) into the vault when
    the kubeconfig names it as a client key, certificate or token file
    (SENSITIVE_FILE). (C113)

  • db restore of a PostgreSQL archive now checks the SQL inside it, as
    for a plain SQL file: what it does beyond writing data (COPY ... PROGRAM, GRANT, ...) is named in the approval; before, an archive
    went to pg_restore unread. (C113)

  • Four more ways an AI agent could move where a person's typed password
    (--login ask) goes now stop with NEEDS_PERSON. A server with no
    user logs in as the account komando runs as, from the system, no
    longer as $USER, which an agent sets. A cert check --via path that
    reaches a login-ask server another way than its own stops. A login-ask
    conn's URL user is part of where its password goes. And an agent's
    vpn add --overwrite or import of a VPN on such a way stops even with
    the same flags: its profile or key secret may be new.

  • cluster run -- cp POD:SRC DST by an AI agent, with SRC named like a
    secret (.env, a private key), now stops with SENSITIVE_FILE before
    komando reads the pod, as download does; before, the pod's files were
    read first and refused afterwards. (C04)

  • Moving a VPN now counts for the stored passwords behind it (C111). An AI agent's vpn edit that changes how a VPN connects, vpn add --overwrite, an import that replaces a VPN, or a new OpenVPN profile in the vault, gets SECRET_DESTINATION (exit 6) when servers or conns with a stored password reach their server through that VPN, and the window names each one, as for a moved jump server. Login-ask servers and conns behind it still need a person (NEEDS_PERSON). A person's own commands are unchanged.

  • An AI agent's approval window now shows what an upload, a restore or a kubectl -f sends from this computer (C111). cp, upload and storage upload of a file show it, or name its size and SHA-256 when it is too long or not text; cp -r and sync list each file with its size and SHA-256 (more than 40 files: no window); cluster run -- apply -f FILE and --from-file show the files; db restore shows plain SQL whole or opens no window (a 60-line SQL file is no longer a way past that rule) and names a pg_dump archive by its SHA-256. Indentation past 16 spaces shows as (+N), so deep YAML keeps its nesting. A person's own commands are unchanged.

  • An approval code works once (C10). komando keeps the last accepted
    30-second step in its sealed store and refuses that code, or an older
    one, a second time: two windows in the same 30 seconds need two codes.
    The agent's hint says so (code-used).

  • An AI agent that set both HOME=/x and KOMANDO_HOME=/x/.komando in
    front of komando moved komando's data folder: komando counted
    ~/.komando of the changed HOME as the usual folder, so only the
    guard hook refused the line. For an agent the usual folder is now only
    ~/.komando of the account's home in the computer's user database (or
    a link to that folder); any other KOMANDO_HOME stops (see the next
    entry), whatever HOME says. The e2e lab,
    which leaned on the old rule, now builds a komando of its own with the
    build tag e2elab, which takes the agent's account home from
    KOMANDO_E2E_ACCOUNT_HOME. It is built outside the checkout and
    removed after the run; a released komando has no such variable, and
    make bins and make dist refuse a binary that has it.

  • An AI agent's command with KOMANDO_HOME set to another folder than
    ~/.komando now stops for good (NEEDS_PERSON, was SAFETY_SETTING): no flag and no
    window lets it through, and a dry run stops too. Before, --dry-run
    went on and still connected to servers from a folder without the
    person's pinned host keys, protection and deny rules, and --yes
    opened a window that could not ask for the approval code, which lives
    in the usual folder. komando guide uninstall stops the same way; it
    used to skip the check, and --reveal opened its window before it.
    komando makes nothing in the other folder (a stopped command used to
    leave a new store there). The hint tells the agent to take
    KOMANDO_HOME out and run the command again. This is the one case
    where a dry run is blocked.

  • The agent guard keeps all of ~/.aws from an AI agent, like ~/.kube
    and ~/.azure: the SSO token cache and the CLI's cached credentials
    too, not only the credentials file. An AWS profile whose web identity
    token file lies under ~/.aws now needs a person for an agent's
    command (NEEDS_PERSON), as a token file elsewhere already did.

  • On Windows, komando takes the Windows and Program Files folders from
    Windows itself when it decides that a program there is safe to run
    with a password, and only System32 and SysWOW64 count of the Windows
    folder (every user can write to its Temp and Tasks folders). It used
    to read SystemRoot and ProgramFiles from the environment, which an
    AI agent sets. A login program's PATH (kubeconfig) takes the Windows
    folder from Windows too.

  • The audit log no longer keeps a password, key or token that a command
    line carried (PGPASSWORD=... psql, --password=...): the command
    of exec, job start and cluster exec is recorded with those
    values as [hidden], in the sealed log and in the copy sent to a
    syslog server (audit_syslog), which travels in clear text.

  • One approval window no longer answers for what it did not show. An AI
    agent's --reveal (or --host-key-policy off) opened its window
    before the command had read its script, and that yes then covered the
    script, the matched rules and the protected server, even a script no
    window can show. A yes now covers the script and the reasons its
    window showed, and a --reveal yes no longer answers a --yes or
    --allow-dangerous check (nor the other way round); anything new asks
    again. A destructive
    change on a protected server or conn asks once, in a window that names
    both flags.

  • The approval window for recipe run shows the command the recipe
    fills in, and says when it runs with sudo. An agent could replace a
    saved recipe and have a person allow it by its trusted name.

  • The approval window of db query --file, fs write --from,
    cluster apply --file and queue send --from shows what the command
    sends: the SQL whole, or no window, like a script; other content whole
    when it fits, a named file that is only too long by its size and
    SHA-256, and anything else (stdin, invisible characters, what looks
    like a secret) gets no window.

  • import env and import csv --overwrite also run secret set's
    check of whom komando trusts on the secrets they store: an OpenVPN
    profile or a CA certificate an agent replaces this way needs a
    person's yes.

  • Replacing a protected VPN's key, pre-shared key or profile in the vault
    (secret set, secret cp --overwrite, secret rename --overwrite)
    needs a yes (PROTECTED_TARGET), like a protected server's password.

  • An AI agent that replaces a secret deciding whom komando trusts needs
    a person's yes: an OpenVPN VPN's profile (SECRET_DESTINATION; the
    window names the new servers), and the CA certificate a WinRM server
    or a conn is checked against (SAFETY_SETTING), also when the secret
    did not exist yet. Pointing a WinRM server at another CA certificate
    with host edit asks the same way.

  • An AI agent that moves a jump server (address, port, --via, proxy
    command) is asked about every password other servers and conns send
    through it, also through a second hop (SECRET_DESTINATION). Only the
    moved server's own secrets were checked.

  • A protected sftp:// conn protects the SSH server at its address: a
    host entry or user@address for the same server needs a yes too.

  • pkg upgradable --refresh and pkg security --refresh count as a
    change (they rewrite the package index as root): a protected server
    needs a yes, and --dry-run no longer refreshes.

  • db query and exec --read-only rate more statements by what they
    do: MariaDB's SET STATEMENT ... FOR <statement> as the statement
    after FOR; the Postgres functions pg_replication_slot_advance,
    pg_logical_slot_get_changes, pg_copy_*_replication_slot,
    pg_logical_emit_message, pg_backup_start/stop,
    pg_sync_replication_slots, pg_truncate_visibility_map and
    pg_*_reset as destructive (and a wrapped DDL no longer runs inside
    the transaction a dry run rolls back); MongoDB profile (any level but -1), validate with
    repair or fixMetadata and killCursors as writes, bulkWrite
    that deletes or updates every document like delete and update
    do, and aggregate with $out as replacing a collection.

  • --read-only could be talked into a change on a protected server, or
    through a read-only ssh-gate key, with no person's yes: a shortened long
    option (sed --in, sort --o=FILE, tar --checkpoint-act=exec=...),
    text bash evaluates inside an argument (let 'a[$(cmd)]=1', ${x@P}),
    brace expansion (systemctl {restart,status} nginx), a wrapper komando
    did not follow (timeout 1d rm, coproc), subcommands it did not list
    as writes (systemctl soft-reboot, ip netns exec, npm explore,
    sysctl name=value), read tools with a writing option (rg --pre,
    file -C), \gexec, \set or a backquote in SQL fed to psql, an
    -e value inside double quotes (find /tmp "$x" with x=-delete),
    variables programs read as code (read PS4, PATH=...,
    TAR_OPTIONS=...), git in a repository whose config runs a program,
    and kubectl --kubeconfig FILE. --read-only now runs only what
    komando knows only reads (see Changed).

  • An ssh-gate key could run the shell-completion helper with
    -o -- __complete, which the gate recorded as an empty command. The
    gate now finds the helper the way komando does and refuses it.

  • The install line (install.sh) installs a release only when its checksums.txt is signed with the komando project's key, the check komando update already made; before, it checked only the checksum, which someone able to replace a release's files could replace too. It needs OpenSSL 3 or perl for the check (macOS and most Linux systems have one), installs nothing on a computer with neither, and downloads over HTTPS only. Releases up to 0.13.0, which have no signature, still install with KOMANDO_VERSION: the installer knows the checksums each was released with and takes no other files for them. The install line itself is now curl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/sgnd/komando/main/install.sh | sh.

  • Releases: the jobs that build and sign a release no longer use a build cache other jobs can write, and make dist SIGNED=DIR stops when a signed macOS binary is missing instead of building an unsigned one in its place.

  • A cloud login of this computer no longer goes to an address an AI agent
    picked.

    • Kubernetes: a kubeconfig that logs in with aws eks get-token,
      aws-iam-authenticator or gke-gcloud-auth-plugin needs a person's
      yes for an agent to import, or to use after its cluster block changed
      (SAFETY_SETTING). For everyone, people too, that login no longer
      travels over http:// or with the certificate unchecked
      (insecure-skip-tls-verify with no CA): a usage error.
    • Kubernetes: a login program a person trusted is now one file. An
      agent's command runs the file the person's import found, with that
      import's PATH, the user's real home and only a few plain variables
      of its own environment, so PATH=dir:$PATH komando ... (or
      LD_PRELOAD, KUBECONFIG, a proxy) no longer hands the kubeconfig's
      arguments to another program. The trust covers the file's contents,
      each argument, and the CA, tls-server-name and proxy-url. An
      import an agent made with a person's yes trusts nothing for later.
    • A Pub/Sub conn with an endpoint= that is not Google's gets no gcloud
      login. An Amazon ECR login goes only over https with the certificate
      checked. No cloud registry login (ECR, Google, Azure), and no gcloud
      login for Cloud Storage, BigQuery or Pub/Sub, goes to a conn with a CA
      of its own (?ca=) or ?resolve=.
    • AZURE_AUTHORITY_HOST has to be one of Azure's sign-in hosts. A Google
      login file sends only to Google's token services
      (sts.googleapis.com, iamcredentials.googleapis.com), also inside
      source_credentials.
    • For an AI agent: only a gcloud login or a service account key is used
      as Google login file; AWS_ENDPOINT_URL, AWS_ENDPOINT_URL_*, a
      profile's endpoint_url and a container credentials address that is
      not ECS's or EKS's are not followed (a conn's own endpoint= still
      is); and the token file a cloud variable or AWS profile names
      (AZURE_FEDERATED_TOKEN_FILE, AWS_WEB_IDENTITY_TOKEN_FILE) may not
      be a private key, komando's own data or a file that holds secrets.
      These stops are NEEDS_PERSON (no flag lifts them: the user sets the
      login up in their own terminal), as is a login program that changed
      while komando was connecting.
    • After updating, import each kubeconfig that uses a login program, EKS
      or GKE once more yourself (komando import kubeconfig FILE --overwrite), or agents are asked on every cluster command. For an
      agent, such a login program gets only the environment the kubeconfig
      gives it (env), not the shell's proxy, AWS_PROFILE or KUBECONFIG.
  • A running VPN session, a kept server login and a tunnel are now known by when their process started, not only by its process number and program. When that process ended (a crash, or an old copy of komando's runtime file put back), a later process given the same number, even another komando or openconnect, is no longer taken for it: it gets neither the session's SOCKS login nor the addresses it connects to, and is never stopped by komando. After updating, VPN sessions, logins and tunnels started by an older komando count as ended: run komando vpn down --all, komando logout SERVER and komando tunnel stop --all before you update, or end those processes yourself; komando starts new ones when needed.

  • komando secret keychain now gives the vault a new key as it moves the key into the keychain. Before, it moved the same key, so a copy of store.key from before the move (a backup, a synced folder's history) still opened every later copy of the store, secrets added after the move included. A move that stops part way finishes the next time it runs.

  • Ways around hiding data from an AI agent are closed. A value that is
    not text (shown as base64) is now checked for what it holds and reads
    [hidden] when that is a secret or personal data, in db query, cache
    and queue peek. Stored credentials are hidden whatever their shape
    (MongoDB's SCRAM verifiers under credentials, a list under apiKeys).
    mask_columns now also hides MongoDB fields, and an agent's query that
    names a hidden column (name AS customer, upper(name), WHERE name ...) stops with REVEAL_NEEDS_PERSON (exit 6: a person allows it with --reveal); SELECT * still shows
    it as [hidden: column]. cp, sync and fs replace hide personal
    data as download and fs cat do. For an agent, db dump of a
    database whose personal data is hidden, storage link, and a binary
    object on storage download --to - that holds a hidden value stop with
    SENSITIVE_FILE unless a person allows --reveal. An agent's conn edit that takes a column out of mask_columns or turns mask_personal
    off needs a person's yes (SAFETY_SETTING).

  • fs rm, fs mv and fs mkdir with --sudo no longer follow, as root,
    a link another server user made. A link that user planted in a folder of
    theirs (cache/x -> /etc) could have root remove, move or create files
    in the folder it names; now it stops with IS_A_SYMLINK (exit 92), as
    fs chmod --sudo and writes and reads as root already did. fs rm
    removes a link at the end of the path, never what it names, and works
    from inside the real folder, so a folder swapped for a link meanwhile is
    not followed either. fs mv --sudo moves only into a folder no other
    user can change (SHARED_FOLDER_CONFLICT otherwise, as for a write as
    root), from inside that folder.

  • A file komando sends to a server (fs write, upload, fs replace,
    fs restore, --backup copies, sync, and the --sudo staging file)
    is no longer readable by other users of that server while it is written.
    SFTP makes a new file at the server's default mode (often 0644) and
    komando narrowed it only afterwards, for sync and upload -r only
    once the whole file was there: another user who opened it in between
    could read it all. Each file is now made inside a folder only the SSH
    user can enter (0700) and gets its final mode before it moves into
    place. A server that cannot make that folder private stops with
    CHMOD_FAILED, as before for a file it could not make private.

  • import komando FILE no longer turns on, without a person's yes, what
    host edit and vpn edit ask for: lending the ssh-agent to a server
    (forward_agent), old IKEv1 ciphers (legacy_crypto) or PAP
    (allow_pap) for a VPN, and, for a VPN it replaces with --overwrite,
    dropping the CA the VPN checks its server against or turning mfa or
    protection off. Each stops with SAFETY_SETTING, as the edit commands
    do; an AI agent could write such a file and import it to get around
    them. A protected VPN left out of --overwrite without --yes now
    gives the same reason as a protected server or conn.

  • --host-key-policy no longer loosens the setting host_key_policy
    without a yes, and no longer fails open. With the setting strict, an
    AI agent (or an ssh-gate key) could add --host-key-policy accept-new
    and pin a new server's key that strict says a person must trust; and
    any value but the exact strict (Strict, a typo) pinned like
    accept-new. The flag now takes accept-new, strict or off in any
    case (anything else is USAGE), a value looser than the setting needs
    the same yes as config set (SAFETY_SETTING), and a stored policy
    komando does not know refuses to connect.

  • A folder's name can no longer forge who owns it in the
    SHARED_FOLDER_CONFLICT hint of a --sudo write. A name with a line
    break and komando's marker made the hint suggest --sudo-user root (or
    shell text such as root;id;#). The name is now printed on one line,
    only root's own line counts, an owner that is no user name is never
    put in the hint, and the path is quoted.

  • An ssh-gate key can no longer reach this computer's own ports through
    cert check with a name that resolves to it (ip6-localhost, or a
    public name pointing at 127.0.0.1). The gate compared names as text; it
    now resolves a name and refuses it when any address is loopback,
    unspecified or one of this computer's, and a gated cert check checks
    the address again when it connects, so a DNS answer that changes in
    between is refused too.

  • storage upload to an SFTP conn no longer writes through a link another
    user of that server planted. The upload went to a fixed temporary name
    (.komando-upload-NAME), opened without refusing an existing file, so a
    link there had komando write and chmod the file it named. It now writes
    in a folder of its own under a random name, made exclusively and
    entered only by the SSH user; a server that cannot make that folder
    private stops with CHMOD_FAILED.

  • An AI agent can no longer set a WinRM server's tls=skip-verify,
    tls=off or auth=basic without a person's yes. Through host add,
    host edit --address or import, a stored password could go to a
    server komando does not check, or travel unencrypted, with only a
    warning; now it stops with SAFETY_SETTING, as a conn's weak TLS does.

  • A registry's token service can no longer make komando read a reply of
    any size: komando reads at most 1 MiB of it. (Every SSH, Kubernetes,
    database, queue, VPN and cloud reply was checked for a size limit; the
    memcached and pod-copy gaps are fixed with the cluster tier changes.)

  • db restore restores the bytes it checked. It used to open the backup
    again by path after the approval, so a file swapped in between was
    restored unchecked. A MySQL DELIMITER after a statement on the same
    line, which the check and the restore read differently, is refused.

  • A memcached server can no longer crash komando, or make it reserve
    memory, with a bad value length; cluster cp refuses a sparse tar
    entry and holds the files of a copy to 512 MiB together; net http
    reads the redirect address as text, so a server cannot forge the
    status; db explain --analyze on MariaDB refuses TABLE (it became
    ANALYZE TABLE); Snowflake INSERT OVERWRITE, CREATE OR ALTER and
    COPY ... PURGE need --allow-dangerous.

  • import kubeconfig reads the certificate, key and token files a
    kubeconfig names under the same rule as the kubeconfig: for an AI
    agent, never komando's own folder. cluster deploy refuses an
    --image with spaces or unprintable characters.

Fixed

  • komando import filezilla now stores the password FileZilla keeps for
    an SFTP server in the vault: the server pointed at secret:NAME-pass,
    but nothing was stored there.

  • login-holder started by hand answers every broken input with
    NEEDS_PERSON, not with a parse error.

  • key gen --dry-run shows where the real run keeps the key (path
    sealed:; the record's ID is made only when the key is written) and
    the key's SSH type (ssh-ed25519, not ed25519), as the real run does.
    No key is made (C08).

  • An upload to a WebDAV conn that is cut off partway (a dropped link,
    Ctrl-C, or a copy komando refuses) no longer replaces the file there with
    the part that arrived, or leaves a part under a new name: it goes to a
    temporary name and is moved into place (WebDAV MOVE) only when it arrived
    whole, as on SFTP, FTP and SMB conns. The server must allow MOVE; a server that refuses it says so in the hint, and one that removes the old file and then fails the move keeps the new content under its temporary name (UPLOAD_NOT_RENAMED).

  • An AI agent's storage download from an FTP or FTPS conn that komando
    stops before the end (a file too large to read for personal data) now
    waits for the download to end, so the next command on that connection
    reads its own reply instead of the download's.

  • sync --delete stops before it empties a folder that the source lists
    as empty while the destination still has files in it
    (EMPTY_FOLDER_CONFIRM_REQUIRED, exit 6, with the folders and counts in
    error.details.folders): a listing cut short, as on plain FTP, looks
    just like that. A person types the folder; an AI agent needs a person's
    yes in the window (--allow-dangerous); a script names each folder it
    empties on purpose with the new --emptied FOLDER, since
    --allow-dangerous alone no longer does for it.

  • An FTP or FTPS conn reached through --via could report a transfer that
    had worked as failed, with the server: EOF: an upload, a download, a
    listing, --continue, or the check storage mv makes. When the server
    behind the jump host closed its side first, komando took closing its own
    side as an error. It no longer does, for FTP and FTPS, and the same
    close no longer fails for any conn through --via.

  • An FTPS listing whose data connection closed before TLS was set up was
    read as an empty folder with no error. sync --delete from such a
    source could then remove that folder's files on the destination, and
    mv, cp and storage stat could miss a folder that is there. It now
    stops with STORAGE_CONNECT. Every FTP connection error also names the
    FTP command it came from ("EOF (during APPE)").

  • A Google Cloud Storage conn reads at most 32 MiB of one listing page or
    one object's details: a broken or hostile endpoint that answers without
    end now stops with STORAGE_ERROR ("the answer is larger than 32 MiB")
    instead of being read, and kept in memory, whole.

  • An FTP or FTPS conn whose connection drops, and whose one new session
    cannot be opened either, now says both in STORAGE_CONNECT: the drop
    and why logging in again failed ("...: EOF; logging in again failed:
    ..."). The second error used to be thrown away.

  • A Tailscale VPN logs in only at its --server or Tailscale's own
    server: TS_CONTROL_URL, TS_AUTHKEY, TSNET_FORCE_LOGIN and the
    other tsnet variables are ignored. A Tailscale VPN replaced by vpn add --overwrite or an import starts as a new node, as after vpn rm.

  • An AI agent may no longer move a VPN whose login a person types at
    vpn up (--portal, --server, a new OpenVPN profile): it gets
    NEEDS_PERSON.

  • vpn add --config never quotes the file's text in an error (it named
    the first word of the line it refused, which for a .pgpass or a
    token file is the secret), and refuses komando's own folder for an AI
    agent. --ca is read as any local file (SENSITIVE_FILE for an agent
    on a secret file) and keeps only the file's certificates.

  • vpn add --dry-run no longer tells an AI agent whether a WireGuard key
    it guessed is the one in an unused vault secret NAME-key; WireGuard
    keys must be 32 bytes in base64.

  • vpn serve, tunnel serve and login-holder, the background
    processes vpn up, tunnel start and login start, now run only
    when one of those commands started them. Run by hand, an AI agent got a
    SOCKS port into an --mfa VPN that vpn up refuses it, a tunnel or a
    held login without its checks, and no audit record. They now stop with
    NEEDS_PERSON unless their parent's ticket comes first on stdin: an
    HMAC of their whole command line (flags too) under a key made from the
    store's master key, good once and for five minutes, so a file written
    by hand is not one. An AI agent's KOMANDO_HOME set to another folder
    needs a person's yes for them too (SAFETY_SETTING).

  • IKEv2 VPNs read only the IKE_SA_INIT response unencrypted. A forged
    plaintext Delete or CREATE_CHILD_SA from anyone on the path could end
    the tunnel or move its traffic to an SA of their choosing.

  • IKEv1 (L2TP/IPsec, Cisco IPsec) moves an exchange on only after the
    server's hash checks out, so a forged message no longer breaks the
    real one after it, and an error in a quick mode answer counts only
    with the server's hash. Hash checks are constant-time. Cisco IPsec's
    mode config fails on an answer without the server's hash, or one that
    is not a REPLY or SET, instead of going on with no address and
    crashing in quick mode.

  • An IPsec server given as an IPv6 address now gets a clear error
    (komando's IPsec client speaks IPv4) instead of a crash.

  • Three crashes on what an SSL VPN server sends: Pulse ESP keys cut
    short, a DPD interval or GlobalProtect timeout too large for a
    duration, and an IPv6 address for PPP (F5, Fortinet), which carries
    only IPv4.

  • An OpenVPN server that pushes a huge ping or ping-restart no longer
    makes the client spin without waiting: both are kept to at most a day.

  • L2TP's PPP link no longer comes up before the login. An IPCP answer, a
    CHAP Success before komando answered the challenge, a PAP ack nobody
    asked for, or a server dropping the login it asked for could bring it
    up without the MS-CHAPv2 server proof; now IPCP waits for the login,
    and a dropped login ends the link with an authentication error. A
    server that asks for CHAP-MD5 or no login, which prove nothing about
    it, is now asked for MS-CHAPv2 like one asking for PAP; --allow-pap
    allows all three weak logins for one VPN.

  • --ask-password and --ask-psk no longer replace a secret made while
    the person was typing (in another terminal tab, or by an app's
    secret set --new). A name that was free when komando asked is stored
    only if it is still free, in one store write; otherwise the command
    stops with SECRET_EXISTS (exit 8) and nothing is replaced. A new
    password for a server's own secret still replaces it, as before.

  • A docker command on a server without Docker now stops with DOCKER_MISSING and its hint whatever the shell prints (docker: command not found from bash or sudo, command not found: docker from zsh, docker: not found from dash), not with a generic DOCKER_ERROR.

  • Three places where commands running side by side in one process (the
    apps) could answer for the wrong command. A connection with no command
    behind it could pin a new server's host key and report it in another
    running command's output and audit log; it now refuses to pin and says
    so. A secret one command read could be shown in another command's
    output if it was read just as that command started; it now stays
    hidden for the whole command. And a login to a jump host that one
    command opened could carry another command's servers: an AI agent's
    command could use a jump-host login a person's command had opened; now
    each command opens its own.

  • A command stopped while it followed a server's output (Ctrl-C on
    logs --follow) could still print a line after it had ended. Output
    now stops when the command does.

Update: komando update (sudo komando update when komando is in
/usr/local/bin). From 0.6.0 or older, or to install, run:

curl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/sgnd/komando/main/install.sh | sh

Check a download: gh attestation verify FILE --repo sgnd/komando