1
0

minor fix (follow-up 737417fb80)

This commit is contained in:
ThomasV
2025-04-11 10:05:58 +02:00
parent de047195a9
commit e084789577

View File

@@ -202,7 +202,7 @@ class Plugins(DaemonThread):
salt = os.urandom(32)
privkey = self.derive_privkey(password, salt)
pubkey = privkey.get_public_key_bytes()
key = chr(PLUGIN_PASSWORD_VERSION) + salt + pubkey
key = bytes([PLUGIN_PASSWORD_VERSION]) + salt + pubkey
return key.hex()
def get_pubkey_bytes(self) -> Tuple[Optional[bytes], bytes]: