Cairn

Cairn 0.1.33

  • cairn-0.1.33-linux-x86_64 Linux x86-64: cairn, the client (the CLI and daemon), 11.1 MB 9a6ff6e1c5581bdc2f288ec2386f404175e2d52f05d6a6767f1ab1f32ed006bb
  • cairn-0.1.33-linux-x86_64-server Linux x86-64: cairn-server, the server, 8.0 MB f3aa89284f3d481aa348afee26a01a597bb67b874ed9ef82d4c9f9872a29bf37
  • cairn-0.1.33-linux-aarch64 Linux ARM64 (aarch64): cairn, the client (the CLI and daemon), 8.8 MB 5fe35a8f0a047a7f4821fcf10cc33f7d0bae69a81eb78420f48510beb09b514d
  • cairn-0.1.33-macos-universal.app.tar.gz macOS: Cairn.app, the CLI and daemon, 9.1 MB 8116eeb4f871ba75650fb365a8ac38025872296346545ad71a2697f28e7d02c1
  • cairn-0.1.33-macos-universal-tray.app.tar.gz macOS: Cairn Tray.app, the tray, 7.3 MB 9e4abd7260913ec187c959f2145bd8d750563b18647f39ce153b3ad8530bd41b
  • cairn-0.1.33-windows-x86_64.exe Windows x86-64: cairn.exe, the CLI and daemon, 12.2 MB 140ab0bcfd86d35a18e10e703bc403adf26a00da59ef930a5dfb005160f14218
  • cairn-0.1.33-windows-x86_64-tray.exe Windows x86-64: cairn-tray.exe, the tray, 10.5 MB e7f43f9830bab39a69e4751053d7c036fa52b4858c10265255288e056ad530fe
  • cairn-0.1.33-android.apk Android 11 and later: Cairn, the app, which backs up photos and videos and browses the server, 35.2 MB 1921e78b23a6010ccc8168a1604299bf0be58cd09582eeb4ea160579809f47e3
  • cairn-0.1.33.sha256 every file's SHA-256: sha256sum -c --ignore-missing cairn-0.1.33.sha256 83a35f5f7d6efec64ba791e31325d322a866937f8ca30efee09d7c84ffcf6278
  • update.json the signed list of these files, which every installed copy checks d2c518ab5d0842dc45bd43d0a21e2f754cc159f824000b49c41af9a633a3fc2c

The same files are in GitHub's release v0.1.33.

A changing file no longer holds unrelated uploads back, and status names the file still waiting. The server also avoids repeatedly reading chunks it has already verified.

This is early software. Keep another copy of anything you put through it.

Linux (static), the client on each device, cairn-0.1.33-linux-x86_64 or, on ARM64, cairn-0.1.33-linux-aarch64, and the server, x86_64, on one machine:

sha256sum -c --ignore-missing cairn-0.1.33.sha256
install -D -m 755 cairn-0.1.33-linux-x86_64 ~/.local/bin/cairn       # ARM64: cairn-0.1.33-linux-aarch64
sudo install -m 755 cairn-0.1.33-linux-x86_64-server /usr/local/bin/cairn-server

macOS: unpack cairn-0.1.33-macos-universal.app.tar.gz (Cairn.app) and cairn-0.1.33-macos-universal-tray.app.tar.gz (Cairn Tray.app) into ~/Applications; README.md has the launchd agent for Cairn.app. Windows: put cairn-0.1.33-windows-x86_64.exe and cairn-0.1.33-windows-x86_64-tray.exe in a folder of their own as cairn.exe and cairn-tray.exe. cairn-0.1.33.sha256 is every file's SHA-256, and update.json the signed list of this release's files that every installed copy checks.

Android 11 and later: open cairn-0.1.33-android.apk on the phone, and install it over the app to update it; the app's manual shows each step. It does not update itself. Every APK of the app is signed by the same key, its certificate's SHA-256 dc981e26f3084defacb05268103e31ba30eb7cd6c01734ae9f19742f56009006, which apksigner verify --print-certs cairn-0.1.33-android.apk shows; Android installs an update only when that key signed it.

Every file is at https://cairn.storage/download/0.1.33.html and in GitHub's release v0.1.33, each with its SHA-256.

The server has changed in this release: upgrade it before the clients.

Changes in 0.1.33

Fixed:

  • A file changed while being uploaded holds back its own operations and those that depend on them. The rest of the batch is committed, including unchanged files sharing its chunks. The changed file stays dirty for a fresh scan; hard links, directory moves, staged swaps and notes remain consistent.
  • Each upload that finds a file changed names its path, with control characters and invalid bytes escaped. A sync that exhausts its rounds names the last changing file. Status keeps the upload's path across restarts and paused runs until a sync settles.

Changed:

  • On Unix, missing-chunk queries reuse a successful verification for at most an hour while the chunk's identity, size and timestamps match, saving repeated reads of already uploaded data. Changed chunks are checked again and damaged ones still count as missing so a good upload replaces them. Downloads and fsck always verify bytes. Damage that changes no metadata can wait until verification expires before a missing-chunk query discovers it.