From fb5d59db32bbbfb48acc96a33602790cde955987 Mon Sep 17 00:00:00 2001 From: Kostas Karmas Date: Mon, 29 Mar 2021 17:03:09 +0200 Subject: [PATCH] Fix comment The Windows Credential Manager actually fails if the password is more than 1024 bits long. CURA-7180 --- cura/OAuth2/KeyringAttribute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/OAuth2/KeyringAttribute.py b/cura/OAuth2/KeyringAttribute.py index 6281f9ae92..64e813d242 100644 --- a/cura/OAuth2/KeyringAttribute.py +++ b/cura/OAuth2/KeyringAttribute.py @@ -41,7 +41,7 @@ class KeyringAttribute: setattr(instance, self._name, value) Logger.logException("w", "No keyring backend present") except BaseException as e: - # A BaseException can occur in Windows when the keyring attempts to write a token longer than 256 + # A BaseException can occur in Windows when the keyring attempts to write a token longer than 1024 # characters in the Windows Credentials Manager. self._store_secure = False setattr(instance, self._name, value)