From 0b6150c7413737137f9d8f69d6d8a0e0f6c1c7e3 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 ce3d6d011..2865f306d 100644 --- a/src/borg/crypto/keymanager.py +++ b/src/borg/crypto/keymanager.py @@ -177,7 +177,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')