Skip to content

v0.26.8

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 16:25

What's Changed

Added

  • Choose where the compacted session-toolbar handle sits — PR #468, contributed by @asgitcode-tech — Settings ▸ Interface gains Session toolbar position: top centre (the default and the long-standing spot), top left, top right, bottom centre, bottom left or bottom right. The handle reveals the floating RDP, VNC and browser toolbar, and top centre is where the remote's own title bar and the embedded browser's tab row live, so a handle there swallows input meant for the remote. A bottom position moves the revealed strip to the bottom edge as well: the arrow points up, the strip's top corners are rounded and its shadow falls upwards. Left and right are physical sides and stay put in a right-to-left locale. The setting applies to sessions opened afterwards; terminal sessions, which have no floating toolbar, are unaffected. (rustconn-core/src/config/settings.rs, rustconn/src/app.rs, rustconn/src/embedded_toolbar_overflow.rs, rustconn/src/dialogs/settings/, rustconn/assets/style.css, po/)
  • Right-click shows the menu even while the session's program captures the mouse — PR #475, contributed by @asgitcode-tech — Settings ▸ Terminal gains Right-click always shows the menu. When the running program enables mouse reporting (tmux with mouse on, a TUI with clickable areas), VTE forwards the right button to it, so a plain right-click is swallowed by the program and the context menu — Copy, Paste, Select All, snippets — is reachable only through Shift+right-click or the Menu key, which nothing points at. With the setting on, RustConn claims unmodified right-clicks and opens the menu itself, so the copy a mouse-capturing program's own hint points at ("use your terminal's Copy") is actually reachable; the program then never sees the right button, which costs its own right-click interface (tmux's display-menu, for one), which is why the setting is off by default. Modified right-clicks (Shift, Ctrl, …) keep reaching VTE, and the choice applies to sessions that are already open. Never honoured together with Right-click pastes, which replaces the menu entirely. (rustconn-core/src/config/settings.rs, rustconn/src/terminal/config.rs, rustconn/src/dialogs/settings/, po/)

Fixed

  • Password files left by a killed or crashed RustConn are removed at the next start — the VNC vncpasswd file, the SPICE .vv file, the FreeRDP /args-from: file, the SSH askpass secret and the tunnel secret are deleted when their session ends, but a SIGKILL, a crash or a power cut skipped that. On Linux they sat in $XDG_RUNTIME_DIR until logout; on macOS in $TMPDIR, which logout does not clear, so a plaintext password stayed on disk. The 0.25.6 note "a crash of the application itself is still not covered" is now closed. The askpass and tunnel secret names carry the owner's process id (rc-tun-secret-<pid>-<uuid>), because rustconn-cli makes them too: a file is removed only when that process no longer exists. A file from an earlier version has no id and goes after a day. The VNC, SPICE and RDP files are made by the GUI alone, so any present at start-up belongs to a run that ended. (rustconn-core/src/stale_secrets.rs, rustconn-core/src/ssh_askpass.rs, rustconn-core/src/ssh_tunnel.rs, rustconn/src/app.rs)
  • rustconn-cli left a stored password behind on a rename or a group change — the vault key holds the connection's name on every backend, and its group path on the system keyring, the macOS Keychain and KeePass. The GUI moves the entry when either changes (0.25.5 fixed the last GUI path, Batch Edit), but rustconn-cli move, update --new-name / --group, group add-connection, group remove-connection and group edit --new-name / --parent only rewrote the configuration, so the next connect asked for the password again and the old entry stayed in the vault. These commands now move the entry after saving: KeePass renames it in place, the other backends store it under the new key and delete the old one. A credential already under the new key is kept; the old one is deleted only when both hold the same credential, otherwise both stay and a warning says so. A key another connection still uses is copied, not moved. A failure is a warning and the edit stands. A KeePass entry that does not exist is skipped. On every backend, a connection whose entry fails to move gets a warning naming it while the others still move, and each vault call gives up after 10 s on a local backend (keyring, Keychain, encrypted file) or 45 s on a CLI-backed one (Bitwarden, 1Password, Passbolt, pass, Proton Pass), so a backend that hangs cannot stall the command. A connection whose new group points it to another .kdbx has its entry copied there and then deleted from the old file; see the next entry. (rustconn-cli/src/commands/credential_move.rs, rustconn-cli/src/commands/secret.rs, rustconn-cli/src/commands/move_cmd.rs, rustconn-cli/src/commands/update.rs, rustconn-cli/src/commands/group.rs, docs/CLI_REFERENCE.md)
  • rustconn-cli group edit left a group's own KeePass password behind on a rename or a new parent — a group's own Vault password is a KeePass entry at RustConn/Groups/{group path}, so renaming a group or giving it another parent changes the path of that group and of every group beneath it. The GUI renames those entries; rustconn-cli group edit --new-name / --parent rewrote only the configuration, so the group's Inherit connections lost the password and the old entry stayed in the database. The command now renames the entry of the group and of each descendant group that has a Vault password, in the database the group resolves to. Every other backend keys a group's password by the group's UUID, which an edit does not change, so nothing moves there. A group whose edit also changes the database it resolves to is handled like a connection in that case; see the next entry. A failure is a warning and the edit stands. (rustconn-cli/src/commands/secret.rs, rustconn-cli/src/commands/credential_move.rs, docs/CLI_REFERENCE.md)
  • rustconn-cli copies a KeePass entry to the new database when an edit changes which .kdbx it belongs in — a rename, move, update --group, group add-connection / remove-connection or group edit --parent can make a connection (or a group's own password) resolve to another database through a kdbx_path_override on its group chain. The command warned and left the entry in the old file, so the next connect found nothing and asked for the password. It now reads the entry from the old database, checks that the new one opens with the global password, key file and YubiKey slot, writes the entry there, and deletes the old one only after the write succeeded. A password already in the new database is kept, and the old entry is deleted only when it holds the same password (otherwise both stay and a warning says so); it counts only when it sits at exactly the new path, never through the legacy name fallback, which may belong to another connection. If the new database cannot be opened with those settings, is read-only (kdbx_read_only), or the write fails, the old entry stays where it was and a warning says why; the edit stands. If only the removal of the old entry fails, both copies exist and the warning names the old one. Per-database unlock factors are not supported, as for the override itself. The GUI is unchanged and still leaves the entry in the old file. (rustconn-cli/src/commands/secret.rs, docs/CLI_REFERENCE.md)
  • The session toolbar's Paste button re-pasted on the next Enter — PR #467, contributed by @asgitcode-tech — clicking the toolbar's Paste button left the keyboard focus on it, so the operator's next Enter (aimed at the remote desktop) re-activated the button and pasted the local clipboard a second time. The session content takes focus back as soon as the paste is accepted (and the auto-hide folds the pill back to its handle), so a follow-up Enter reaches the remote instead. Embedded VNC and RDP alike; the terminal's Paste is a menu item and shortcut rather than a focus-grabbing button, and the embedded browser has none. (rustconn/src/embedded_vnc/ui.rs, rustconn/src/embedded_rdp/clipboard.rs)

Changed

  • Error toasts stay for 10 seconds — a failed connection showed its reason in a toast that disappeared after the 5 s default, too fast to read or copy into a ticket. Error toasts (the typed error toast, the missing-tool toast and the Retry toast) now stay 10 s, like the other long toasts. Info, success and warning toasts keep the default. (rustconn/src/toast.rs)
  • Saving a large connection list is about 19 times faster — the TOML writer's time grows with the square of the number of connections: 300 ms at 5 000 connections and 1.4 s at 10 000, on every save and on the flush at exit. Each connection is now rendered on its own and the pieces joined, 16 ms at 5 000. The file keeps its written_by marker and [[connections]] form, and parses to the same data, so older versions and rustconn-cli read it as before; the only text difference is a blank line between connections. (rustconn-core/src/config/manager.rs)
  • A save no longer makes the window re-read every connection file — the file watcher reported this process's own saves too, so about 0.7 s after each edit the main thread read, parsed and merged connections.toml, groups.toml and trash.toml again and found nothing (74 ms at 5 000 connections, 140-180 ms at 10 000). The watcher now remembers the bytes each of this process's saves wrote and does not report a file that still holds exactly those bytes. A write by another process, even one right after ours, has other bytes and is reported as before; once a change is reported the remembered bytes are dropped, so a later write that puts our old bytes back (a revert, a restored backup) is reported too, and so is a save that merged in entries another process had added. (rustconn-core/src/config/watch.rs, rustconn-core/src/config/manager.rs)
  • Save, Create and Export are text buttons in the group, smart-folder and export dialogs — the Edit Group and Edit Smart Folder dialogs used a floppy-disk icon for Save, New Smart Folder a "+" for Create, and Export Connections a floppy for Export, while the connection editor says "Create" or "Save" in words. The three now show the word, in the same header position and with the same suggested-action style. They reuse the existing "Save", "Create" and "Export" strings, so no catalogue changed. (rustconn/src/window/edit_group.rs, rustconn/src/dialogs/smart_folder.rs, rustconn/src/dialogs/export.rs)
  • The Edit Group dialog can be narrower than 600 px — it forced a 600 x 500 minimum, so on a tiled half-screen or a small panel it was clipped instead of shrinking. It keeps 600 x 730 as the preferred size and now has the same 360 px width floor as the connection editor and no height floor: the 500 px minimum height is gone too, so the dialog can be shorter than before. (rustconn/src/window/edit_group.rs)
  • The Remote file editor's size limit can be raised — the fixed 16 MiB limit refused larger device dumps such as a long show tech-support. The environment variable RUSTCONN_REMOTE_EDIT_MAX_BYTES sets the limit in bytes, clamped to 1 MiB..256 MiB; an unparsable value keeps 16 MiB. The refusal message names the variable. The 120 second transfer limit is unchanged. (rustconn-core/src/remote_editor.rs, docs/USER_GUIDE.md)
  • rustconn-cli test names why a jump host stopped it — a test skipped because the jump host wants a password, a passphrase or a PIN, or has a host key the user has not confirmed, carried the reason only as ssh's own text. It now also has a stable skip_kind (jump_host_needs_password, jump_host_auth_failed for a rejected key on a host that offers no password login, jump_host_needs_passphrase, jump_host_key_unconfirmed), in the result's details for JSON and as a last skip_kind CSV column, so a script can tell them apart. Existing columns keep their place. (rustconn-core/src/testing/probe.rs, rustconn-core/src/testing/mod.rs, rustconn-cli/src/commands/test.rs, docs/CLI_REFERENCE.md)
  • A drop into a collapsed group says where the item went — an item dropped into a group that is collapsed, or sits inside a collapsed group, has no visible row afterwards, so the drop looked like it had done nothing. A toast now reads "Moved into the collapsed group “name”". An expanded target shows no toast. The string is translated in every catalogue. (rustconn/src/window/sorting.rs, po/)
  • Two unused public items of rustconn-core are removed: LazyGroupLoader and SelectionState — API removal: rustconn_core::LazyGroupLoader (connection::lazy_loader) and rustconn_core::SelectionState (connection::virtual_scroll) with their tests, re-exports and the loader's property-test file are gone. Nothing in this repository used them, but an outside crate that depends on rustconn-core and names either type no longer compiles. ConnectionSidebar held the same two dead fields behind a blanket #[expect(dead_code)]; that is now one field-level marker on the history popover. The application behaves as before. (rustconn/src/sidebar/mod.rs, rustconn-core/src/connection/, rustconn-core/src/lib.rs, rustconn-core/tests/properties/, docs/ARCHITECTURE.md)

Internal

  • scripts/fix_all_po.py reads po/ — it looked for .po files next to itself; it now reads <repo>/po (run on a copy of po/, it changed nothing). (scripts/fix_all_po.py)
  • One place decides whether an ended session is reconnected by itself — the verdict was spread over five flags in session_lifecycle.rs (failure, refused credentials, rapid crash, reconnect loop, expired cloud login), read in two differently shaped conditions by the unattended sweeps and by the poll that starts when a session ends. SessionEnd::verdict in rustconn-core now combines them and returns what each caller may do, with tests for every combination. Behaviour is unchanged: a refused ssh or WinRM login still stops the poll but not the sweeps. (rustconn-core/src/connection/retry.rs, rustconn/src/window/session_lifecycle.rs)
  • The start-up file sweeps run on a background thread — removing stale agent keys and the password files a killed run left behind read the secret-file directory on the main thread before the window was built; on macOS that is $TMPDIR, which can hold thousands of entries. The three sweeps and the browser-profile cleanup now run one after another on one thread started when the state is ready. The sweep of the GUI's own files (VNC, SPICE, FreeRDP) now removes only files written before the run started, so it cannot delete a file that the first connection makes while it runs; a file within 2 s before the start is left to the next start. (rustconn/src/app.rs, rustconn-core/src/stale_secrets.rs)
  • A weekly check reminds the maintainer to re-review the accepted RUSTSEC-2023-0071 — deny.toml and .cargo/audit.toml accept the rsa Marvin Attack advisory (reached only through ironrdp, sspi and picky) with a review trigger that was only a comment. The new scripts/check-rsa-advisory.sh turns it into checks: the advisory database lists a patched rsa, sspi, picky or ironrdp-connector has a newer major series on crates.io than Cargo.lock pins, or the Last reviewed: dates are stale. It reads the date from both files, reports REVIEW DUE (exit 1) when they differ and judges staleness from the older one; a missing date is exit 2. The new .github/workflows/check-rsa-advisory.yml runs it every Monday and opens or updates an issue on failure. It changes no file. (scripts/check-rsa-advisory.sh, .github/workflows/check-rsa-advisory.yml, deny.toml, .cargo/audit.toml)
  • CI fails on a new duplicate dependency, and scripts/verify.sh runs the same gate — a new CI step, "No new duplicate dependencies", runs scripts/check-dup-deps.sh: a crate name that newly appears in Cargo.lock with two versions fails, measured against the committed scripts/dup-deps-baseline.txt (refreshed in this release). The script is now one of the fast gates of scripts/verify.sh too, so it also runs under --quick. (.github/workflows/ci.yml, scripts/check-dup-deps.sh, scripts/dup-deps-baseline.txt, scripts/verify.sh)

Dependencies

  • sha2 0.11.2 → 0.11.3

Installation

Flatpak (Recommended)

flatpak install flathub io.github.totoshko88.RustConn

Snap

sudo snap install rustconn

Debian/Ubuntu (.deb from this release)

sudo dpkg -i rustconn_0.26.8_amd64.deb
sudo apt-get install -f  # Install dependencies if needed

Fedora (.rpm from this release)

sudo dnf install rustconn-0.26.8-1.fc44.x86_64.rpm

AppImage

chmod +x RustConn-0.26.8-x86_64.AppImage
./RustConn-0.26.8-x86_64.AppImage

macOS (Homebrew)

brew tap totoshko88/rustconn
brew install rustconn
open $(brew --prefix)/opt/rustconn/RustConn.app

All dependencies (GTK4, libadwaita, VTE, Adwaita icons) are installed automatically.
Requires macOS 13 (Ventura) or later.

OBS Repositories

Packages available at: https://build.opensuse.org/package/show/home:totoshko88:rustconn/rustconn

# Debian 13 (Trixie)
echo 'deb http://download.opensuse.org/repositories/home:/totoshko88:/rustconn/Debian_13/ /' \
  | sudo tee /etc/apt/sources.list.d/rustconn.list
curl -fsSL https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/Debian_13/Release.key \
  | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/rustconn.gpg > /dev/null
sudo apt update && sudo apt install rustconn

# Ubuntu 24.04 LTS (Noble)
echo 'deb http://download.opensuse.org/repositories/home:/totoshko88:/rustconn/xUbuntu_24.04/ /' \
  | sudo tee /etc/apt/sources.list.d/rustconn.list
curl -fsSL https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/xUbuntu_24.04/Release.key \
  | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/rustconn.gpg > /dev/null
sudo apt update && sudo apt install rustconn

# Ubuntu 26.04 LTS (Resolute)
echo 'deb http://download.opensuse.org/repositories/home:/totoshko88:/rustconn/xUbuntu_26.04/ /' \
  | sudo tee /etc/apt/sources.list.d/rustconn.list
curl -fsSL https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/xUbuntu_26.04/Release.key \
  | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/rustconn.gpg > /dev/null
sudo apt update && sudo apt install rustconn

# Fedora 44
sudo dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/Fedora_44/home:totoshko88:rustconn.repo
sudo dnf install rustconn

# Fedora 43
sudo dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/Fedora_43/home:totoshko88:rustconn.repo
sudo dnf install rustconn

# openSUSE Tumbleweed
sudo zypper ar https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/openSUSE_Tumbleweed/ rustconn
sudo zypper ref && sudo zypper in rustconn

# openSUSE Leap 16.0
sudo zypper ar https://download.opensuse.org/repositories/home:/totoshko88:/rustconn/openSUSE_Leap_16.0/ rustconn
sudo zypper ref && sudo zypper in rustconn

Arch Linux (AUR)

yay -S rustconn

FreeBSD (Ports)

pkg install rustconn

Full installation guide: https://github.com/totoshko88/RustConn/blob/main/docs/INSTALL.md

Verifying your download

Every binary on this release (deb, rpm, AppImage, Flatpak) is covered two ways.

Plain checksums — download SHA256SUMS alongside the asset, then:

sha256sum -c SHA256SUMS

Signed build provenance (SLSA, via Sigstore) — proves the file was built by this
workflow from this commit:

gh attestation verify RustConn-0.26.8-x86_64.AppImage --repo totoshko88/RustConn

(The snap is signed by the Snap Store; the macOS build is delivered via the Homebrew tap.)