Repository navigation
Releases
v0.1.0-beta.7
Release Notes
A release about safety and a cleaner setup. A review of everything the
other side of a sync can send led to many fixes, every connection offers a
key exchange that holds against a future quantum computer, and the new
irsync pair is now the only command that uses ssh. The configuration and
the command line were cleaned up, so read "Upgrading" first.
Upgrading
- The protocol changed. An older irsync cannot talk to this one, so update
the client and every server together. irsync.tomlhas a new layout, and irsync refuses a file from beta.6 at
the first line it no longer knows. Change it by hand, with the
configuration reference at hand:[hosts.NAME]is split into[servers.NAME], the machines you
connect to, and[clients.NAME], the machines your daemon lets in.
Grants name clients. The file starts withconfig_version = 2. [#202][client]is now[defaults], and the top-levelidentitymoves
into it.[all]and[immediate]are nowall_exportsandall_pathson
the client, and[daemon] immediateis nowallow_all_paths. [#284]- One
relay = "default" | "disabled" | "URL"replacesrelayand
relay_mode.dht,dnsandmdnsare plain keys in[daemon],
[defaults]and each server, and[daemon.discovery]is gone. - The export setting
warm_indexis nowindex_at_start.
- The first command that changes
irsync.tomlwrites it in a fixed order.
Comments stay, blank lines do not. - irsync refuses a config file, a private key or a passphrase file that
other users can read or write, or that belongs to another user, as sshd
does.chmod 600fixes it.unsafe_config_allowed = trueat the top of
irsync.tomlturns the check off. - A sync no longer uses ssh.
irsync pair myserversets a server up: it
installs irsync there, lets your client in, starts the daemon as a user
service and saves the server. A sync to a name that is not a saved server
stops and points toirsync pair. Runirsync paironce for each server
you set up before, to update it. [#277] - Commands and flags that changed:
irsync hostis gone. Useirsync serverandirsync client.--ssh,--rsh,--no-installand--no-remote-dhtleft the sync.
irsync pairhas--rsh,--no-ssh-installand--server-no-dht.--timeout SECSis now--idle-timeout DUR.--relay default|disabled|URLreplaces--no-relayand the old
--relay URL, andserver add --relay-modeis gone.export add --rois now--read-only.irsync export updateis nowirsync index --export NAME.grant addandgrant removeno longer takeallorimmediate.
Useirsync client set.
- Every mistake on the command line exits with 2. Some used to exit with 1.
- A push of one file onto a symlink is refused when the link has an
absolute target or leads out of the export. - A client with a grant for only one of two exports of the same directory
can no longer use the other export's name. filesetrefuses a manifest written by an older version. Make it again
withfileset init.
New
irsync pairends by reaching the daemon over iroh, the way a sync
will, and says so when it cannot. [#312]irsync remote myservermanages a server's exports, clients and grants
from your client, with no shell on the server. The server gives a client
that right withirsync client set myclient admin=rw, oradmin=roto
only read.irsync pairgives it to your client. [#203]irsync client setsets a client'sall_exports,all_pathsand
admin.all_paths = "ro"is new: read any path, write none. [#284]irsync export set,irsync export renameandexport add --fsync.
export addalso changes an export that is already there.--identityworks on every command, and-qquiets the management
commands.- Every connection offers the hybrid key exchange
X25519MLKEM768first.
A recorded connection between two irsync of this version stays safe from
a future quantum computer.pq_key_exchange = "require", or
--pq-key-exchange require, refuses a connection without it.-vv
shows which key exchange a connection got. [#240] [#241] [#255] - A chunk that a dropped connection left half done continues where it
stopped. On a link that drops more often than one chunk can cross, a
transfer now finishes. [#281] - A big push over a link that drops often keeps going, as long as each
connection moves data. [#271] - The daemon setting
max_dormant_sessions_per_key, default25, limits
the interrupted sessions one client key may leave in an export. - A run with several sources names each session in the progress block, and
the name stays above its finished lines. [#112] fileset init --store redbkeeps the manifest in one small file, for a
tree that travels. It can be read on media that cannot be written to.
[#192] [#206]filesetruns on Windows.- The book has a page on the threat model. Security problems can be
reported privately on the repository's Security tab. - The landing page has the version switcher, and the book of the
development version moved to dev.irsync.org. [#288] [#318]
Fixed
- irsync checks what the other side of a sync sends much more strictly:
- A receiver places only the one file of a single-file sync, and nothing
that its own filter rules exclude. - Files are read and written through directories opened without
following symlinks, so a sync stays inside the export and the
destination even when a directory is swapped for a symlink. - A sender learns nothing about the old copy of a file it updates.
- A session holds a limited number of filter rules, paths and hard-link
checks. - Text from the other side is printed with control characters and
characters that change the direction of text escaped, and a log entry
stays on one line. - An export's name counts only for a client with a grant for it.
- A receiver places only the one file of a single-file sync, and nothing
- Partial files, the index, the daemon's log and a new config file can be
read by their owner only. Saving the config keeps its permissions. filesettrusts a manifest that came with a tree less: it refuses one
that is a symlink or holds links, views or triggers.--reconnectcounts an outage from the first dropped connection, not
from the start of the run. A long first connection that drops is always
dialled again. [#223]- On a lossy link, the daemon's last answer, such as a refusal, reaches the
client. [#298] - A daemon's refusal no longer looks like an empty list of exports, and a
refused listing no longer prints an error from iroh first. [#256] - The progress block:
- A file that is fully sent and waits for the other side no longer shows
as stalled. [#120] - On a pull, a file gets its row when its data arrives, not while it
waits its turn. [#114] - The rows show the files that are moving, not the largest ones, and the
last line says how many hidden rows are stalled. [#121]
- A file that is fully sent and waits for the other side no longer shows
irsync showno longer creates a daemon key,irsync config getprints
the default of every key, and help, errors and the book were corrected
in many places.
Behind the scenes
- irsync builds on Windows, but does not run there yet.
tools/ci.sh typecheckchecks every platform from one machine. pbwalkshows where every byte of a protocol capture goes. [#231]- aws-lc-rs replaces ring, iroh comes from upstream instead of a fork, and
cargo denyrefuses a new duplicate crate version. OpenSSF Scorecard
checks the repository. [#124] [#209] - Release notes live in
CHANGELOG.md, and every release line gets a
release branch. [#322] - Several flaky tests are fixed.
Install irsync 0.1.0-beta.7
Install prebuilt binaries via Homebrew
brew install irsync-dev/tap/irsyncDownload irsync 0.1.0-beta.7
| File | Platform | Checksum |
|---|---|---|
| irsync-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| irsync-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| irsync-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo irsync-dev/irsyncYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation> --repo irsync-dev/irsyncWhat's changed
What's Changed
- Progress block: a fully written file is waiting, not stalled by @lambdanature in #146
- Offer private vulnerability reporting by @lambdanature in #149
- bump-version.sh: update fuzz/Cargo.lock too by @lambdanature in #150
- Add OpenSSF Scorecard by @lambdanature in #151
- Stop a manifest scan that goes round in circle...
v0.1.0-beta.6
Install irsync 0.1.0-beta.6
Install prebuilt binaries via Homebrew
brew install irsync-dev/tap/irsyncDownload irsync 0.1.0-beta.6
| File | Platform | Checksum |
|---|---|---|
| irsync-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| irsync-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| irsync-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo irsync-dev/irsyncYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation> --repo irsync-dev/irsyncWhat's changed
What's Changed
- sign-release.sh: publish only with --publish by @lambdanature in #102
- Update rusqlite to 0.42 and keep query plans stable by @lambdanature in #100
- Man pages: add AUTHORS and LICENSE; installer names all three pages by @lambdanature in #104
- irsync checks release signatures by @lambdanature in #98
- Hold only noq-proto at 1.3: update noq-udp, tell Dependabot, correct the reason by @lambdanature in #101
- Site check: know the flags of commands the help hides by @lambdanature in #108
- Show the current release versions on the homepage by @lambdanature in #107
- install.sh: check the installer's signature by @lambdanature in #109
- Progress block: keep the last session's done lines too by @lambdanature in #110
- install.sh: say when the installer's signature is good by @lambdanature in #113
- Progress test: do not depend on the elapsed time by @lambdanature in #115
- Publish the documentation per release channel by @lambdanature in #118
- Check for shellcheck in dev setup; make every script pass it by @lambdanature in #119
- install.sh: never install an unsigned release; cap version numbers by @lambdanature in #117
- VERSIONS: name the commit and the branch of the build in the dev line by @lambdanature in #122
- Run shellcheck in CI on every shell script by @lambdanature in #127
- Honour --bwlimit on a pull by @lambdanature in #128
- Design and plan: security hardening, then OpenSSF Scorecard by @lambdanature in #129
- Fail the dependency check on a stale advisory exception by @lambdanature in #132
- Report the listed totals after a resume by @lambdanature in #130
- Switch between documentation versions from the book header by @lambdanature in #134
- Link to the site's pages without .html by @lambdanature in #137
- Fuzz the code that reads untrusted input by @lambdanature in #135
- Release scripts: never pipe into grep -q under pipefail by @lambdanature in #136
- Show the total in the progress block after a restarted resume by @lambdanature in #138
- Count what is already settled in the percent after a resume by @lambdanature in #140
- READMEs: link to the site's short addresses by @lambdanature in #141
- Small cleanups: release-yml.sh temp folder, signature message, shellcheck in dev-setup by @lambdanature in #131
- Report the created count after a resume by @lambdanature in #143
- Progress block: a failed session says "failed", not "done" by @lambdanature in #144
- Static analysis: unsafe lints, zizmor, CodeQL and Miri by @lambdanature in #142
- Link to the site's short addresses everywhere by @lambdanature in #147
- Release v0.1.0-beta.6 by @lambdanature in #145
- Pin the PyYAML install and test top-level permissions by @lambdanature in #148
- release.yml: put the host job's own dist-manifest.json in the release by @lambdanature in #152
Full Changelog: v0.1.0-beta.5...v0.1.0-beta.6
v0.1.0-beta.5
Install irsync 0.1.0-beta.5
Install prebuilt binaries via Homebrew
brew install irsync-dev/tap/irsyncDownload irsync 0.1.0-beta.5
| File | Platform | Checksum |
|---|---|---|
| irsync-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| irsync-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| irsync-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo irsync-dev/irsyncYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation> --repo irsync-dev/irsyncWhat's changed
What's Changed
- Add a FreeBSD test run and build, started by hand by @lambdanature in #59
- Better PATH advice from the installer by @lambdanature in #63
- Make -v, -q, --config and --passphrase-file work on every command by @lambdanature in #61
- Make pandoc and mandoc required in dev-setup.sh by @lambdanature in #64
- Keep macOS metadata entries out of the tarball by @lambdanature in #65
- Escape hyphens in man pages from old pandoc by @lambdanature in #66
- Add the sync and list commands by @lambdanature in #67
- Require pull requests in AGENTS.md by @lambdanature in #70
- Accept the chrono unmaintained advisory by @lambdanature in #73
- Show the current transfer rates and goodput in the progress block (#25) by @lambdanature in #69
- Rebase failing PRs onto main before fixing them by @lambdanature in #75
- Rework host aliases in immediate mode by @lambdanature in #68
- Check links to files placed while the connection drops by @lambdanature in #72
- Check dependencies for the platforms we build for by @lambdanature in #74
- Remember typed addresses; update every alias of a rebuilt server by @lambdanature in #78
- Run the recv.rs persist-interval test on tokio's paused clock by @lambdanature in #80
- Note two open items from the progress rates work by @lambdanature in #81
- Rename the licenses-all job to deny-license-check by @lambdanature in #79
- Make the ssh install match install.sh (#28) by @lambdanature in #71
- Bring two AGENTS.md lines in line with the PR rule by @lambdanature in #82
- Label the ssh probe's answers; document bracket operands by @lambdanature in #83
- Fix the probe test after the ssh test fixture change by @lambdanature in #84
- Note the cargo publish gap in TODO.md by @lambdanature in #86
- Say that the install stays when ssh setup fails by @lambdanature in #85
- Add host add --client-id; tell client-only hosts apart by ssh value by @lambdanature in #87
- Shorten the dial timeouts in the onboarding tests by @lambdanature in #88
- dev-setup: download the cargo tools instead of compiling them by @lambdanature in #90
- Shrink the two slowest backpressure tests by @lambdanature in #91
- Skip the fixed 10 s close wait in the daemon-stops-waiting tests by @lambdanature in #93
- dev-setup: clearer failures, no repeat downloads, cleanup when stopped by @lambdanature in #92
- Report a hidden ~/.cargo/bin, and check mdbook's version in the site build by @lambdanature in #96
- Stop the site build on any mdbook but the pinned version by @lambdanature in #97
- Give the sparse test a 120 s guard by @lambdanature in #95
- Sign releases with an offline minisign key by @lambdanature in #94
- Release v0.1.0-beta.5 by @lambdanature in #99
Full Changelog: v0.1.0-beta.4...v0.1.0-beta.5
v0.1.0-beta.4
Install irsync 0.1.0-beta.4
Install prebuilt binaries via Homebrew
brew install irsync-dev/tap/irsyncDownload irsync 0.1.0-beta.4
| File | Platform | Checksum |
|---|---|---|
| irsync-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| irsync-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| irsync-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo irsync-dev/irsyncYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation> --repo irsync-dev/irsyncWhat's changed
What's Changed
- Run the CI checks from tools/ci.sh, locally and on GitHub by @lambdanature in #17
- List the packages signing key fingerprint in SECURITY.md by @lambdanature in #19
- Record the open items from the supply chain work in TODO.md by @lambdanature in #20
- Make the tests pass with temp files on ZFS by @lambdanature in #18
- Speed up CI: less debug info, cancel superseded runs by @lambdanature in #21
- Refresh the landing page by @lambdanature in #23
- Create the release tag last, and cut patches from release branches by @lambdanature in #22
- Run list when a management noun is given alone, and add irsync id list by @lambdanature in #39
- fileset -v: print one line per entry by @lambdanature in #40
- Refuse to run the daemon as root without an opt-in by @lambdanature in #41
- Give the blocking-pool test time to finish on a busy disk by @lambdanature in #42
- Show hashing speed and busy cores in the fileset spinner by @lambdanature in #43
- Spin until CPU time grows in the process sample test by @lambdanature in #48
- Add fileset list, and bound the work of both pattern matchers by @lambdanature in #44
- Move the pattern matcher into one shared crate by @lambdanature in #46
- Write aliases instead of EndpointIds in the config by @lambdanature in #49
- Fix the small findings from the review of the alias rewrite by @lambdanature in #50
- Index rows keyed by an entry id instead of the path by @lambdanature in #45
- Land the small fixes from the alias rewrite review by @lambdanature in #52
- Give the book the landing page's look, from one set of design tokens by @lambdanature in #53
- Keep the dark highlight colours in the palette and link the book's title home by @lambdanature in #55
- Add man pages for irsync, fileset and irsync.toml by @lambdanature in #54
- Add
irsync host renameto rename a host and its grants by @lambdanature in #56 - Release v0.1.0-beta.4 by @lambdanature in #57
- Build the same man pages with any pandoc version by @lambdanature in #58
- Add a Brewfile where dist looks for one by @lambdanature in #60
Full Changelog: v0.1.0-beta.3...v0.1.0-beta.4
v0.1.0-beta.3
Install irsync 0.1.0-beta.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/irsync-dev/irsync/releases/download/v0.1.0-beta.3/irsync-installer.sh | shInstall prebuilt binaries via Homebrew
brew install irsync-dev/tap/irsyncDownload irsync 0.1.0-beta.3
| File | Platform | Checksum |
|---|---|---|
| irsync-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| irsync-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| irsync-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo irsync-dev/irsyncYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation> --repo irsync-dev/irsyncWhat's changed
What's Changed
- Cut releases through a pull request by @lambdanature in #13
- Bump the actions group with 2 updates by @dependabot[bot] in #10
- Attest every file on a release, not just the archives by @lambdanature in #14
- Pass secrets: inherit to the release environment jobs by @lambdanature in #15
- Release v0.1.0-beta.3 by @lambdanature in #16
New Contributors
- @dependabot[bot] made their first contribution in #10
Full Changelog: v0.1.0-beta.2...v0.1.0-beta.3
v0.1.0-beta.2
Install irsync 0.1.0-beta.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/irsync-dev/irsync/releases/download/v0.1.0-beta.2/irsync-installer.sh | shInstall prebuilt binaries via Homebrew
brew install irsync-dev/tap/irsyncDownload irsync 0.1.0-beta.2
| File | Platform | Checksum |
|---|---|---|
| irsync-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| irsync-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| irsync-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo irsync-dev/irsyncYou can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation> --repo irsync-dev/irsyncWhat's changed
What's Changed
- Protocol observability: trace, capture, key log, docs by @lambdanature in #6
- Keep --address to the dialled path by @lambdanature in #7
- Fix two stale doc lines by @lambdanature in #8
- Supply chain security: pinned Actions, cargo-deny, release environments, attestations by @lambdanature in #9
- Release v0.1.0-beta.2 by @lambdanature in #12
Full Changelog: v0.1.0-beta.1...v0.1.0-beta.2
v0.1.0-beta.1
Install irsync 0.1.0-beta.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/irsync-dev/irsync/releases/download/v0.1.0-beta.1/irsync-installer.sh | shInstall prebuilt binaries via Homebrew
brew install irsync-dev/tap/irsyncDownload irsync 0.1.0-beta.1
| File | Platform | Checksum |
|---|---|---|
| irsync-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| irsync-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| irsync-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
What's changed
Full Changelog: v0.1.0-alpha.4...v0.1.0-beta.1
v0.1.0-alpha.4
Install irsync 0.1.0-alpha.4
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/irsync-dev/irsync/releases/download/v0.1.0-alpha.4/irsync-installer.sh | shInstall prebuilt binaries via Homebrew
brew install irsync-dev/tap/irsyncDownload irsync 0.1.0-alpha.4
| File | Platform | Checksum |
|---|---|---|
| irsync-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| irsync-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| irsync-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
What's changed
What's Changed
- Move GitHub actions to Node 24 versions by @lambdanature in #2
- Pin Rust to 1.100.0 and find filegen wherever cargo puts tests by @lambdanature in #4
- Run the CI tests with cargo-nextest by @lambdanature in #1
- Log the reload before announcing the new address by @lambdanature in #5
- Add a dev setup script by @lambdanature in #3
New Contributors
- @lambdanature made their first contribution in #2
Full Changelog: v0.1.0-alpha.3...v0.1.0-alpha.4
v0.1.0-alpha.3
Install irsync 0.1.0-alpha.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/irsync-dev/irsync/releases/download/v0.1.0-alpha.3/irsync-installer.sh | shInstall prebuilt binaries via Homebrew
brew install irsync-dev/tap/irsyncDownload irsync 0.1.0-alpha.3
| File | Platform | Checksum |
|---|---|---|
| irsync-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| irsync-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| irsync-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |
What's changed
Full Changelog: https://github.com/irsync-dev/irsync/commits/v0.1.0-alpha.3