Skip to content

ferge 0.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Nov 22:32
· 21 commits to main since this release

Download

System Package
macOS 11 or newer, Apple silicon and Intel ferge-0.1.0-macos.dmg, or brew install --cask wirecurl/tap/ferge
Debian, Ubuntu 22.04 or newer ferge_0.1.0_amd64.deb, ferge_0.1.0_arm64.deb
Fedora, openSUSE ferge-0.1.0-1.x86_64.rpm, ferge-0.1.0-1.aarch64.rpm
Any Linux with glibc 2.35 or newer ferge-0.1.0-x86_64-linux.tar.gz, ferge-0.1.0-aarch64-linux.tar.gz
  • macOS: ferge is not signed with an Apple Developer ID yet, so macOS asks before the first
    start: allow it under System Settings → Privacy & Security → Open Anyway.
  • Linux: ferge draws with Vulkan; Mesa provides a driver for most graphics cards. The
    tarball unpacks into ~/.local with
    tar -xzf ferge-0.1.0-x86_64-linux.tar.gz -C ~/.local --strip-components=1.
  • Checksums: sha256sum -c SHA256SUMS --ignore-missing in the download folder.

Changes

The first release.

Added

  • Dual-pane file browser: this computer on the left, an SFTP server on the right, in tabs.
    Narrow windows show one side with a switch.
  • SFTP via russh: SSH agent, key files with passphrase prompt, password and
    keyboard-interactive authentication; ~/.ssh/config with host aliases, ProxyCommand,
    Include and Match all.
  • Strict host key checking against known_hosts with OpenSSH semantics; unknown keys are
    confirmed, changed keys are refused.
  • Streaming, cached listings; folders with 100,000 entries scroll, sort and filter without
    dropped frames. Natural sorting and type-to-filter.
  • Transfers between any two panes: uploads, downloads and server-to-server copies of files and
    folders, with a queue, four files in parallel, pause and resume within a file, and a conflict
    dialog. Pipelined SFTP reads and writes on separate data channels.
  • Direct transfers between two servers, after asking: the source pushes or the target pulls
    over their own SSH connection, with a key that only works for the job's files and expires;
    small files travel in tar batches. The copy goes on when ferge quits, ferge follows it
    again after a restart, and it falls back to this computer when the servers cannot reach each
    other. Each server is left as it was found, down to file times, and checked for it. Copies
    within one server use copy-data or cp and never leave it.
  • Transfers go on after a lost connection once the servers are back, and transfers through this
    computer are saved: closing ferge pauses them, and they resume where they stopped after a
    restart.
  • Transfer traces and a log file for debugging, summarized by ferge-trace; ferge-direct
    shows or removes what direct transfers left on a server.
  • Drag and drop from and to the desktop's file manager.
  • File operations: new folder and file, rename, duplicate, delete, copy address; an inspector
    with editable permissions.
  • Favorites in folders, recent connections and Quick Connect, stored in SQLite.
  • Saved passwords in the Secret Service or the macOS Keychain, or in a file encrypted with
    Argon2id and XChaCha20-Poly1305 when no credential service is available.
  • Working as root on SSH servers through sudo, without a root login and without setup on the
    server.
  • Previews of text, images, spreadsheets, Word, PowerPoint and OpenDocument files and PDF
    pages, with text selection.
  • Command palette, keyboard navigation for everything, and a settings window backed by a
    hand-editable, watched settings.toml.
  • Follows the desktop's fonts and light or dark preference.
  • An app icon: the f of ferge crossing a wave, for the Linux icon theme (with a symbolic
    variant) and X11 windows.
  • Packages: a tarball, .deb and .rpm for x86_64 and aarch64 Linux (glibc 2.35 and newer),
    ferge.app for macOS on Apple silicon and Intel, AUR recipes and a Homebrew cask.

Security

Hardening from a review of the code before the first release:

  • Host names that known_hosts would read as patterns (*, ?, , and the like) are refused,
    so a confirmed host key can never be trusted for other hosts.
  • Spreadsheets, office documents, PDF pages and pictures are decoded in a separate worker
    process with a memory and time limit; the readers themselves are bounded too, and SVG
    drawings cannot read files.
  • Partial files of transfers are created exclusively and never written through a symlink;
    a symlink in place of a folder is never followed, and existing folders are merged only
    after asking.
  • Listings, transfer plans and copies are bounded against servers that send without end;
    connecting times out on a silent server.
  • Working as root asks sudo about the very sftp-server it runs, so no password can reach
    sftp-server; sessions as root close once they are left.
  • The encrypted password file is locked against concurrent writers, the settings file is
    followed through a symlink only in a private folder, and names with hidden characters are
    shown so that they cannot disguise themselves.