restic/internal
Michael Eischer 1ccab95bc4 b2: Support file hiding instead of deleting them permanently
Automatically fall back to hiding files if not authorized to permanently
delete files. This allows using restic with an append-only application
key with B2.  Thus, an attacker cannot directly delete backups with the
API key used by restic.

To use this feature create an application key without the deleteFiles
capability. It is recommended to restrict the key to just one bucket.
For example using the b2 command line tool:

    b2 create-key --bucket <bucketName> <keyName> listBuckets,readFiles,writeFiles,listFiles

Suggested-by: Daniel Gröber <dxld@darkboxed.org>
2022-11-05 20:10:45 +01:00
..
archiver backup: hide files from status which are read completely but not saved 2022-10-30 10:29:12 +01:00
backend b2: Support file hiding instead of deleting them permanently 2022-11-05 20:10:45 +01:00
bloblru bloblru: Fix comment for New function 2022-03-28 22:25:25 +02:00
cache cache: Call interface method once 2022-10-21 14:32:46 +02:00
checker restic: Change FindSnapshot functions to return the snapshot 2022-10-15 13:34:04 +02:00
crypto crypto: move crypto buffer helpers 2022-07-17 13:42:23 +02:00
debug debug: support roundtripper logging also for release builds 2022-08-05 23:49:39 +02:00
dump repository: extract LoadTree/SaveTree 2022-07-17 13:11:28 +02:00
errors errors: Drop WithMessage 2022-10-14 14:06:47 +02:00
filter filter: deduplicate error handling for pattern validation 2022-09-09 23:12:41 +02:00
fs Add simple test for fs.TempFile on windows 2022-04-09 23:37:58 +02:00
fuse fuse: Better check for whether snapshots changed 2022-11-05 09:32:45 +01:00
hashing hashing: Fix up comments 2022-05-11 21:36:10 +02:00
index index: Compact data structure for Index.EachByPack 2022-10-29 23:09:17 +02:00
migrations backend: split layout code into own subpackage 2022-10-21 21:36:05 +02:00
options Don't crash if SecretString is uninitialized 2022-07-02 19:44:28 +02:00
pack repository: optimize MasterIndex.Each 2022-09-24 12:21:59 +02:00
repository Merge pull request #3992 from MichaelEischer/err-on-invalid-compression 2022-11-04 19:41:34 +01:00
restic ui/progress: Load both values in a single Lock/Unlock 2022-10-25 07:55:24 +02:00
restorer restic: Change FindSnapshot functions to return the snapshot 2022-10-15 13:34:04 +02:00
selfupdate all: Drop ctxhttp 2022-10-14 14:33:49 +02:00
test all: Move away from pkg/errors, easy cases 2022-06-14 08:36:38 +02:00
textfile Add more error handling 2021-01-30 20:19:47 +01:00
ui backup: fix stuck status bar 2022-11-02 21:31:13 +01:00
walker walker: Convert tests to use TreeJSONBuilder 2022-10-15 11:04:13 +02:00