summaryrefslogtreecommitdiff
path: root/Cargo.toml
AgeCommit message (Collapse)AuthorFilesLines
2022-04-16feat: use one checksum for all chunks in a backupLars Wirzenius1-0/+1
When making a backup, use the same checksum for any chunks it re-uses or creates. This is for performance: if we allowed two checksums to be used, we would have to compute the checksum for a chunk twice, and potentially look up both on the server. This is just a lot of work. Instead, we use only one. The trade-off here is that when (not if) the user wants to switch to a new checksum type, they'll have to do a full backup, uploading all their data to the server, even when it's already there, just with a different checksum. Hopefully this will be rare. Full backups always use the built-in, hardcoded default checksum, and incremental backups use whatever the previous backup used. The default is still SHA256, but this commit add code to support BLAKE2 if we decide to switch that as a default. It's also easy to add support for others, now. BLAKE2 was added to verify that Obnam can actually handle the checksum changing (manual test: not in the test suite). I don't think users need to be offered even the option of choosing a checksum algorithm to use. When one cares about both security and performance, choosing a checksum requires specialist, expert knowledge. Obnam developers should choose the default. Giving users a knob they can twiddle just makes it that much harder to configure and use Obnam. If the choice Obnam developers have made is shown to be sub-optimal, it seems better to change the default for everyone, rather than hope that every user changes their configuration to gain the benefit. Experience has shown that people mostly don't change the default configuration, and that they are especially bad at choosing well when security is a concern. (Obnam is free software. Expert users can choose their checksum by changing the source code. I'm not fundamentally limiting anyone's freedom or choice here.) Users can switch to a new default algorithm by triggering a full backup with the new "obnam backup --full". Sponsored-by: author
2022-03-20fix: URL to source code repositoryLars Wirzenius1-1/+1
Sponsored-by: author
2022-03-11chore: bump rusqlite version to 0.27 (current)Lars Wirzenius1-1/+1
"cargo update" doesn't do that automatically, as it's a minor version bump, from 0.26 to 0.27. Sponsored-by: author
2022-03-08chore: update for release 0.7.1Lars Wirzenius1-1/+1
Sponsored-by: author
2022-03-03feat! use Rust 2021 to benefit from changes to partial borrowingLars Wirzenius1-1/+1
Sponsored-by: author
2022-01-16chore: document minimal rust version in Cargo.tomlLars Wirzenius1-0/+1
Sponsored-by: author
2022-01-04chore: update version number to 0.7.0Lars Wirzenius1-2/+1
Sponsored-by: author
2022-01-04chore: update outdated dependenciesLars Wirzenius1-2/+3
Sponsored-by: author
2021-12-04chore: prepare release 0.6.0Lars Wirzenius1-1/+1
Sponsored-by: author
2021-11-20chore: update version number to 0.5.0Lars Wirzenius1-1/+1
Sponsored-by: author
2021-11-20chore: bump dependency on rusqlite to 0.26.1 and fix breakageLars Wirzenius1-1/+1
Sponsored-by: author
2021-11-20chore: update dependency on pbkdf2 to 0.9 and fix breakageLars Wirzenius1-1/+1
Sponsored-by: author
2021-09-15chore: change license to AGPL3-or-laterLars Wirzenius1-2/+1
As agreed by myself and Alexander Batischev on https://gitlab.com/obnam/obnam/-/issues/122 Two other people have made minor changes, which I deem to be small enough that they do not get a say in the overall copyright. Sorry. Sponsored-by: author
2021-07-18feat: add Engine and WorkQueue abstractions for async processingLars Wirzenius1-1/+3
Many thanks to Daniel Silverstone for helping me get through this. Sponsored-by: author
2021-06-19chore: bump dependency on indicatif to 0.16, and fix what's neededLars Wirzenius1-1/+1
Change calls to set_message to pass ownership of the message, rather than just letting it borrow the message. Sponsored-by: author
2021-06-19chore: bump dependency on rusqlite to 0.25Lars Wirzenius1-1/+1
Sponsored-by: author
2021-06-19chore: bump dependency on pbkdf2 to 0.8Lars Wirzenius1-1/+1
Sponsored-by: author
2021-06-19chore: change dependency on aes-gcm be less stringentLars Wirzenius1-1/+1
Change the version of aes-gcm to be 0.9, from 0.9.1. This allows a future 0.9.2 to be used automatically. Sponsored-by: author
2021-06-19chore: update warp and tokio dependenciesLars Wirzenius1-2/+2
tokio has released 1.0. Bump the warp dependency to get a version that works with tokio 1.x. Sponsored-by: author
2021-06-06Release version 0.4.0v0.4.0Lars Wirzenius1-1/+1
2021-06-06docs: update NEWS, Cargo.toml, debian/changelo for new releaseLars Wirzenius1-1/+2
Also, tweak titles in NEWS to be a little shorter. Sponsored-by: author
2021-05-29update Cargo.toml, Cargo.lock with new dependenciesLars Wirzenius1-0/+1
These aren't used yet, but they soon will be.
2021-04-09feat: add "obnam init" subcommandLars Wirzenius1-0/+3
This reads a passphrase and derives two passwords from that, and stores them next to the configuration file. The passwords aren't yet used for anything, that will come later.
2021-03-24refactor: switch from dirs crate to directories-nextLars Wirzenius1-1/+1
It's a higher-level library and a little nicer to use.
2021-03-24chore: use warp's bytes instead of bytes crate directlyLars Wirzenius1-1/+0
2021-03-24chore: bump reqwest dependencyLars Wirzenius1-1/+1
2021-03-24chore: bump thisfile dependencyLars Wirzenius1-1/+1
2021-03-23chore: bump version numberLars Wirzenius1-1/+1
2021-03-14build: bump version numberLars Wirzenius1-1/+1
2021-03-05pers: enable debug symbols in release builds for flamegraphLars Wirzenius1-0/+3
2021-03-03feat: store user and group who own each fileLars Wirzenius1-0/+1
Actually, these aren't yet actually stored in the backup. That will happen when there's a way to verify file metadata stored in the backup. But this adds the code to look up the data during a backup so that at least that part gets some exercise.
2021-02-16refactor: use bytesize::MIB constant for clearer sizeLars Wirzenius1-0/+1
2021-01-29release: version 0.2.2Lars Wirzenius1-1/+1
2021-01-29fix: Cargo.toml to be ready for publishingLars Wirzenius1-0/+5
2021-01-29release: version 0.2.1Lars Wirzenius1-1/+1
Make version number be three levels.
2021-01-29release: version 0.2Lars Wirzenius1-1/+1
2021-01-26release: Obnam2 version 0.1.9Lars Wirzenius1-1/+1
2021-01-24release: fake a release for testing release scripting and CILars Wirzenius1-1/+1
2021-01-17feat: add a default configuration fileLars Wirzenius1-0/+1
The ~/.config/obnam/obnam.yaml file will be used as the configuration file by default. The ~/.config directory can be overridden by setting the XDG variable (XDG_CONFIG_HOME), or the whole file can be overridden with the --config option to obnam.
2020-12-30feat! store and show timestamp for each backup generationLars Wirzenius1-0/+1
This changes the output format of "obnam list".
2020-12-23feat: add log file to clientLars Wirzenius1-0/+1
2020-12-12feat: restore metadata as well as file contententsLars Wirzenius1-0/+1
2020-11-08chore: add new dependencies to Cargo.tomlLars Wirzenius1-0/+3
2020-10-03feat: add rudimentary backup clientLars Wirzenius1-0/+5
Also, a bit of logging for server.
2020-09-18feat: add a rudimentary chunk server main programLars Wirzenius1-2/+6
Also, add an initial subplot to document and verify acceptance criteria.
2020-09-17feat: store chunks persistentlyLars Wirzenius1-0/+1
2020-09-17feat: add initial ChunkMeta structLars Wirzenius1-0/+2
2020-09-17feat: add an initial ChunkId implementationLars Wirzenius1-0/+1
2020-09-17iniitial commitLars Wirzenius1-0/+9