Repository navigation
Added
radicle-backupis now also a Rust library, so other programs can read and writerad backuparchives. Withdefault-features = falseit has no command line, no SQLite and no file system access, and it builds for WebAssembly.tests/fixturesholds sample archives that another implementation can test against.
Fixed
restorenow 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 --forceover 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.--identitynow takes an age key file asage-keygenwrites it, with its#comment lines.doctornow fails a passphrase archive whose encryption header cannot be read. It used to call it fine.
Security
verifyandrestorenow refuse an archive with clashing or oddly spelled file names, such as./a/bbesidea/b, names that differ only in case, orNUL. Such an archive could passverify --deepand then restore different files from the ones it checked.verifyandrestorenow 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