Skip to content

v0.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Nov 12:54
v0.5.0
70d8485

Added

  • radicle-backup is now also a Rust library, so other programs can read and write rad backup archives. With default-features = false it has no command line, no SQLite and no file system access, and it builds for WebAssembly. tests/fixtures holds sample archives that another implementation can test against.

Fixed

  • restore now waits up to a minute for each node it asks when it compares your repositories with the network. It used to give up after 9 seconds, so a large repository could show as "could not be compared".
  • restore --force over a node that crashed or was killed could restore damaged databases, because of files the crashed node left behind. It now restores them exactly as archived.
  • --identity now takes an age key file as age-keygen writes it, with its # comment lines.
  • doctor now fails a passphrase archive whose encryption header cannot be read. It used to call it fine.

Security

  • verify and restore now refuse an archive with clashing or oddly spelled file names, such as ./a/b beside a/b, names that differ only in case, or NUL. Such an archive could pass verify --deep and then restore different files from the ones it checked.
  • verify and restore now refuse an archive that holds anything but plain files. A crafted tar header of a few kilobytes could make them use hundreds of megabytes of memory.

Full Changelog: v0.4.2...v0.5.0