Skip to content

v0.4.5

Choose a tag to compare

@github-actions github-actions released this 11 Nov 08:46
· 87 commits to master since this release
Immutable release. Only release title and notes can be modified.

Installation

htree CLI

Install with shell:

curl -fsSL https://github.com/mmalmi/hashtree/releases/download/v0.4.5/install.sh | sh

Manual macOS/Linux install: download the archive for your platform from the release assets below, extract it, and run ./install.sh.

  • Windows x64 CLI: download the zip asset below, extract it, and add htree.exe, htree-cashu.exe, and git-remote-htree.exe to your PATH.

Changelog

Includes git-remote-htree 0.4.2.

Added

  • Find public trees and Git repositories by name through your social graph:
    htree search <name> lists matches, and htree clone <name> and
    htree get <name> ask you to choose a publisher before fetching. Names
    resolve through signed profiles, follow lists, public mutes and public tree
    announcements, up to two follow hops from your identity. Profile names are
    not unique, so nothing is downloaded without an explicit publisher choice;
    without a terminal the commands print explicit npub URLs and exit.

Performance

  • Relay query diagnostics no longer read /proc/self/smaps_rollup before and
    after every query. The value was unused, and the read walks every mapping of
    the process, which is slow on a daemon with a large memory-mapped store.

Security

  • htree start prints the web UI login link, which carries the credential,
    only when its output is a terminal. Under a service manager or when
    redirected to a file it prints the address and the path of the credential
    file instead, so the credential no longer lands in captured logs.

Compatibility

  • htree add --legacy-keys and htree release publish --legacy-keys write
    32-byte CHK keys instead of the default suite-prefixed 33-byte keys. A
    reader built before suite-prefixed keys existed cannot open the default
    form: a gateway still running one returns ciphertext for every path of such
    a tree. The ciphertext is the same either way; only the key encoding
    differs. The release and Homebrew tap scripts now publish with this option
    so install URLs keep working through such a gateway.

Fixed

  • The post-publish install check reads the Homebrew tap from rust/README.md,
    where the instructions are, instead of the repository root README.

Build Info

  • Release v0.4.5 from commit 6058c7b3e3807d11b828459fa1d39c2e702e69bd.