forked from p15670423/monkey
Use buffer size directly from pyAesCrypt
This commit is contained in:
parent
b9fb4c6902
commit
7153b91c10
|
@ -6,8 +6,7 @@ import pyAesCrypt
|
|||
|
||||
from common.utils.exceptions import FailedDecryption, NoCredentialsError
|
||||
|
||||
# TODO use from pyAesCrypt
|
||||
BUFFER_SIZE = 64 * 1024
|
||||
BUFFER_SIZE = pyAesCrypt.crypto.bufferSizeDef
|
||||
|
||||
|
||||
def encrypt_config(config: Dict, password: str) -> str:
|
||||
|
|
Loading…
Reference in New Issue