summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTW <tw@waldmann-edv.de>2023-09-25 16:53:22 +0200
committerGitHub <noreply@github.com>2023-09-25 16:53:22 +0200
commitc9c495db0ab1b59525c6420775ea06f76e3563f1 (patch)
tree158522d059513fdce3a2bb680e5de2b175a7980f /src
parent4188e03ffcb1d514227b945019b6c172082a07ea (diff)
parent6dbfbd6a197320014a44ce958121ac2b479b66db (diff)
Merge pull request #7839 from ThomasWaldmann/traceback-for-tam-exceptions-1.2
activate tracebacks for TAM exceptions
Diffstat (limited to 'src')
-rw-r--r--src/borg/crypto/key.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/borg/crypto/key.py b/src/borg/crypto/key.py
index de7e583be..57c528aef 100644
--- a/src/borg/crypto/key.py
+++ b/src/borg/crypto/key.py
@@ -86,19 +86,19 @@ class TAMRequiredError(IntegrityError):
In the latter case, use "borg upgrade --tam --force '{}'" to re-authenticate the manifest.
""").strip()
- traceback = False
+ traceback = True
class ArchiveTAMRequiredError(TAMRequiredError):
__doc__ = textwrap.dedent("""
Archive '{}' is unauthenticated, but it is required for this repository.
""").strip()
- traceback = False
+ traceback = True
class TAMInvalid(IntegrityError):
__doc__ = IntegrityError.__doc__
- traceback = False
+ traceback = True
def __init__(self):
# Error message becomes: "Data integrity error: Manifest authentication did not verify"
@@ -107,7 +107,7 @@ class TAMInvalid(IntegrityError):
class ArchiveTAMInvalid(IntegrityError):
__doc__ = IntegrityError.__doc__
- traceback = False
+ traceback = True
def __init__(self):
# Error message becomes: "Data integrity error: Archive authentication did not verify"
@@ -116,7 +116,7 @@ class ArchiveTAMInvalid(IntegrityError):
class TAMUnsupportedSuiteError(IntegrityError):
"""Could not verify manifest: Unsupported suite {!r}; a newer version is needed."""
- traceback = False
+ traceback = True
class KeyBlobStorage: