From ce5dd4bed2a9771c1c6412104c28cdfe900af1a6 Mon Sep 17 00:00:00 2001 From: Peter Zangerl <11718093+destructor64@users.noreply.github.com> Date: Sun, 13 Apr 2025 10:06:16 +0200 Subject: [PATCH] Fix paper key import error message --- src/borg/crypto/keymanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/borg/crypto/keymanager.py b/src/borg/crypto/keymanager.py index 63335c445..60bc5bc9d 100644 --- a/src/borg/crypto/keymanager.py +++ b/src/borg/crypto/keymanager.py @@ -181,7 +181,7 @@ class KeyManager: try: (id_lines, id_repoid, id_complete_checksum) = data.split("/") except ValueError: - print("the id line must contain exactly three '/', try again") + print("the id line must contain exactly two '/', try again") continue if sha256_truncated(data.lower().encode("ascii"), 2) != checksum: print("line checksum did not match, try same line again")