Export encryption for configuration and recovery
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
wEz0x0JyG9QQUTtzEylvLPNAanay5MXznhwSRBOgVd5aeqkHNg1Nr6E2yZWKGluBbjPO9ABhmTbt9M7PQ3wTdB8uYuzT6WDz6FOXaqYkgoGj7cBEdTARpGs7p8tUnbL3Fd9ShIf+JaxSl6jvpsYAq9EUpYCiAAqa80qSMnEB8vb1WbV6QZ5fVl5dHb3ORiMkcr8glVns5NJmMeG6Jc55O8hL+Xa1ldB6gLNIhg56uW7R+C7Al7QVow3K0ogU0gMQWYIQ4RjA578VJ7d0.LeTNoVJLU/GGSKXPfcxWEw==
|
|
||||||
1
doc/recovery_backup.pyqrec
Normal file
1
doc/recovery_backup.pyqrec
Normal file
@@ -0,0 +1 @@
|
|||||||
|
eZWTiQiLuG1DIa4O8i2JRX/NjRtnFyZ6nRxI20HwDZfY4xLtIELdBNmcFh90QVf7lUCp3I6bwS2UaYu4rmB08yADwqjFBX5aaYew6JxOJG3buJw+EAIHIRD2gx9m89KjWwBoCQNp83cfybLeJCa9TM366GMjcm7xXusvvf0NI36zK4OaGtqkdkqcBBc6k2bp5fBMI6E4UWxI6dELMtPWcbrXGteUtK1WiIOQulAmwj6r658HBrmWDxAE7Cr3diwWQ4hMbF/4BP+0VOA0.U2y1dnWnMMosMDybdCGNnQ==
|
||||||
@@ -38,11 +38,11 @@ class Vermasseln:
|
|||||||
return decrypted_data
|
return decrypted_data
|
||||||
|
|
||||||
def __vermasslungsKobold(self, local= True):
|
def __vermasslungsKobold(self, local= True):
|
||||||
key = platform.processor().encode("utf-8") if local else "(==daniishtverhaftetwegensexy#)"
|
key = platform.processor().encode("utf-8") if local else b"(==daniishtverhaftetwegensexy#)"
|
||||||
key = key[0:31]
|
key = key[0:31]
|
||||||
hash_key = SHA256.new(key)
|
hash_key = SHA256.new(key)
|
||||||
hashed = hash_key.digest()
|
hashed = hash_key.digest()
|
||||||
nonce = platform.machine().encode("utf-8") if local else "(==Uskarishtverhaftetwegensexy#)"
|
nonce = platform.machine().encode("utf-8") if local else b"(==Uskarishtverhaftetwegensexy#)"
|
||||||
cipher = AES.new(hashed, AES.MODE_SIV, nonce = nonce)
|
cipher = AES.new(hashed, AES.MODE_SIV, nonce = nonce)
|
||||||
return cipher
|
return cipher
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user