borg/src/borg/archiver
Thomas Waldmann 21d4407170
always implicitly require manifest TAMs
remove a lot of complexity from the code that was just there to
support legacy borg versions < 1.0.9 which did not TAM authenticate
the manifest.

since then, borg writes TAM authentication to the manifest,
even if the repo is unencrypted.
if the repo is unencrypted, it did not check the somehow pointless
authentication that was generated without any secret, but
if we add that fake TAM, we can also verify the fake TAM.

if somebody explicitly switches off all crypto, they can not
expect authentication.

for everybody else, borg now always generates the TAM and also
verifies it.
2023-09-03 22:01:46 +02:00
..
__init__.py fix E741 2023-07-26 01:24:00 +02:00
_common.py fix E501 2023-07-26 01:24:20 +02:00
benchmark_cmd.py benchmark cpu: use sanitized path, fixes #7654 2023-06-22 21:22:18 +02:00
check_cmd.py Docs: Improve `borg check` docs 2023-07-10 22:41:24 +02:00
compact_cmd.py compact: more Highlander options, fixes #6269 2023-04-06 17:36:49 +02:00
config_cmd.py simplify flake8 configuration 2023-07-25 23:56:31 +02:00
create_cmd.py create: do not try to read parent dir of recursion root, fixes #7746 2023-07-29 23:31:16 +02:00
debug_cmd.py debug: more Highlander options, fixes #6269 2023-04-06 17:40:47 +02:00
delete_cmd.py delete: more Highlander options, fixes #6269 2023-04-06 17:15:09 +02:00
diff_cmd.py Add --format option to `borg diff`, resolve issue #4634 (#7534) 2023-06-11 22:41:36 +02:00
extract_cmd.py extract --continue: continue a previously interrupted extraction, fixes #1356 2023-04-16 21:09:48 +02:00
help_cmd.py docs: remove zstd compat hint 2023-09-02 14:30:34 +02:00
info_cmd.py remove --consider-part-files, related stats code, update docs 2023-02-01 13:04:18 +01:00
key_cmds.py always implicitly require manifest TAMs 2023-09-03 22:01:46 +02:00
list_cmd.py Add --format option to `borg diff`, resolve issue #4634 (#7534) 2023-06-11 22:41:36 +02:00
lock_cmds.py run black 23.1.0 on the code 2023-02-01 12:30:37 +01:00
mount_cmds.py mount: improve mountpoint error msgs, see #7496 2023-04-04 23:25:29 +02:00
prune_cmd.py Add --format option to `borg diff`, resolve issue #4634 (#7534) 2023-06-11 22:41:36 +02:00
rcompress_cmd.py rcompress: more Highlander options, fixes #6269 2023-04-06 17:46:17 +02:00
rcreate_cmd.py always implicitly require manifest TAMs 2023-09-03 22:01:46 +02:00
rdelete_cmd.py run black 23.1.0 on the code 2023-02-01 12:30:37 +01:00
recreate_cmd.py recreate: more Highlander options, fixes #6269 2023-04-06 17:31:48 +02:00
rename_cmd.py use archivename_validator everywhere 2022-12-15 22:54:46 +01:00
rinfo_cmd.py Fix query quota (#7237) 2022-12-31 21:11:23 +01:00
rlist_cmd.py fix E501 2023-07-26 01:24:20 +02:00
serve_cmd.py implement unix domain (ipc) socket support 2023-06-06 21:12:54 +02:00
tar_cmds.py import/export-tar: more Highlander options, fixes #6269 2023-04-06 17:53:27 +02:00
transfer_cmd.py borg transfer --compression=C --recompress=M, fixes #7529 2023-04-24 23:46:38 +02:00