Merge pull request #8748 from destructor64/key_import_error_message_fix-1.4

Fix paper key import error message
This commit is contained in:
TW 2025-04-13 22:54:29 +02:00 committed by GitHub
commit 0fe038192c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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')