Skip to content
pitisPublic

About

Hush: native macOS Signal client: Rust core (presage) + SwiftUI. Unofficial, personal.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

168 Commits

Folders and files

Repository files navigation

Hush

An unofficial Signal client for anyone on macOS, Windows and Linux: a Rust core built on presage and an app written in Rust on GPUI (core/desktop). It links to your phone as a secondary device, like Signal Desktop. Not affiliated with Signal. AGPL-3.0.

Download

Each release has Hush for macOS, Windows and Linux. Install it, open it, and link it from your phone: in Signal, Settings > Linked devices > Link a new device, then scan the code Hush shows. An update installs the same way, over the old copy (on Windows in the same folder: Open at login starts that path); the data and the link stay.

  • macOS (Apple silicon, macOS 12 or later): Hush-<version>-macos-arm64.zip. Unzip it and move Hush.app to Applications. It isn't notarized, so macOS refuses to open it the first time: then choose Open Anyway in System Settings > Privacy & Security (on macOS 12, System Preferences > Security & Privacy), or run xattr -dr com.apple.quarantine /Applications/Hush.app before opening it. After an update macOS may ask to let Hush use its key in the keychain: enter your login password and choose Always Allow. Its log (a panic in Hush too) is in the system's log: log show --predicate 'subsystem == "dev.pitis.hush"' --last 1h in Terminal, or live in Console.app (Start streaming, then search for subsystem dev.pitis.hush).

  • Windows (x64, Windows 10 or 11): Hush-<version>-windows-x64.zip. Unzip it and run hush.exe. It isn't signed, so Windows may warn that it doesn't know the app: More info > Run anyway. Its data is in %LOCALAPPDATA%\Hush, and its log there in hush.log (with hush.log.1, the one before it): attach both to a bug report. They say what went wrong and when (a panic in Hush too), with errors and opaque ids only, never what messages say.

  • Linux (x64, glibc 2.39 or later: Ubuntu 24.04, Debian 13, Fedora 40 or newer): Hush-<version>-linux-x64.tar.gz. It needs a Vulkan driver and a Secret Service (GNOME Keyring or KWallet) for its key. To install it with its launcher entry:

    tar -xzf Hush-*-linux-x64.tar.gz
    install -Dm755 hush/hush ~/.local/bin/hush
    install -Dm644 hush/dev.pitis.hush.png ~/.local/share/icons/hicolor/512x512/apps/dev.pitis.hush.png
    install -Dm644 hush/dev.pitis.hush.desktop ~/.local/share/applications/dev.pitis.hush.desktop
    # the launcher finds it without ~/.local/bin on the session's PATH
    sed -i "s|^Exec=hush|Exec=$HOME/.local/bin/hush|" ~/.local/share/applications/dev.pitis.hush.desktop

    Its log (a panic in Hush too) goes to stderr: run ~/.local/bin/hush in a terminal to see it; started from the launcher, it is usually in the user journal (journalctl --user -b).

Development

make setup   # once, on macOS: protobuf, git hooks
make run     # build the app and launch it (or: cd core && cargo run -p hush-desktop)
make check   # lint + all tests

The app keeps its data in "Hush" in the system's app data folder (on macOS the former Swift app's, opened as it is) and its key in the keychain. For development and testing only, HUSH_DATA_DIR=<a throwaway folder> makes it use that folder instead, with the key in a file next to the data (dev-key), and leave the keychain, the real folder and the login item alone.

On macOS, Hush ships as an app bundle (make run's bare program gets no notifications):

make bundle    # the release app, signed, in core/target/bundle.noindex/Hush.app
make install   # the same, then into /Applications in place of the Hush.app there (quit Hush first)

Hush.app reads the key the former Swift app kept (dev.pitis.hush/db-key), and the keychain lets it only under a signature it trusts. make bundle signs with the owner's Apple Development identity (team 95KQ82C586) when it is in the login keychain: the keychain then trusts every rebuild, so a key a Hush signed with that identity made opens without asking, and any other asks once. Without the identity the app is signed ad-hoc (the script warns), which the keychain trusts for that build only: macOS asks at the first launch of each build. Enter the login password and choose Always Allow. A development run with HUSH_DATA_DIR never asks (make run, or the bundle's Contents/MacOS/hush for notifications). The app isn't notarized: Gatekeeper opens it without asking only on the Mac that built it (elsewhere, see Download). The build folder ends in .noindex (Spotlight skips it) and the script unregisters the build from LaunchServices, so the Dock and Spotlight open only the installed copy (until the build itself is opened).

Linux (x86-64) needs protobuf-compiler clang cmake pkg-config libxkbcommon-x11-dev libwayland-dev libx11-xcb-dev libfontconfig-dev libfreetype-dev libvulkan-dev libasound2-dev and a Secret Service (GNOME Keyring or KWallet) for the database key; with libpulse-dev installed the link fails (cubeb then adds its PulseAudio backend, a Rust library with its own copy of std). arm64 Linux doesn't build yet: the SQLCipher fork's Rust crypto assumes a signed C char. Windows (x64) needs protoc, Git Bash (RingRTC's build runs its WebRTC download script with bash), OPENSSL_DIR set to any folder with lib and include in it (the SQLite build script asks for it although SQLCipher doesn't use OpenSSL there), and RUSTFLAGS=-C target-feature=+crt-static (RingRTC's prebuilt WebRTC uses the static C runtime). The release workflow (.github/workflows/release.yml) builds both that way. On Windows Hush opens no console: its log goes to hush.log in its data folder (also with HUSH_DATA_DIR), 1 MB at most before it becomes hush.log.1, and to stderr only for what starts it with one, as PowerShell does with Start-Process hush.exe -RedirectStandardError err.log. On every system a panic is logged as one scrubbed line (its place and message); only a debug build (make run, cargo run) also prints Rust's own report to stderr, with a backtrace under RUST_BACKTRACE=1.

Releases: make publish (macOS, the owner's Mac) builds origin/main's Hush.app and makes the next GitHub release with it; the release workflow then adds the Windows and Linux builds.

About

Hush: native macOS Signal client: Rust core (presage) + SwiftUI. Unofficial, personal.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages