mirror of
https://github.com/borgbackup/borg.git
synced 2026-10-28 08:41:24 +01:00
Without the object, the commands silently fell back to the built-in defaults, so anybody with write access to the store could remove a repository default (e.g. an "obfuscate" compression) unnoticed: the key protects the content of the object, not its presence. Now "borg repo-create" always writes config/defaults (empty if no default was given), and a missing object is an error (Repository.DefaultsMissing, rc 34) like one that fails the authentication: the commands using the defaults refuse to run. "borg check" reports such an object, "borg check --repair" replaces it by empty defaults, so the repository can be used again (with the built-in defaults). with_repository reads the defaults only after the security checks (assert_secure). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| chunker.rst | ||
| data-structures.rst | ||
| encryption-aead.odg | ||
| encryption-aead.png | ||
| frontends.rst | ||
| object-graph.odg | ||
| object-graph.png | ||
| pack-layout.excalidraw | ||
| pack-layout.png | ||
| pack-objheader.excalidraw | ||
| pack-objheader.png | ||
| pack-write-order.excalidraw | ||
| pack-write-order.png | ||
| packs.rst | ||
| security.rst | ||
| structure.odg | ||
| structure.png | ||