rtzip 0.5.2__tar.gz → 0.5.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rtzip-0.5.2 → rtzip-0.5.3}/PKG-INFO +1 -1
- {rtzip-0.5.2 → rtzip-0.5.3}/pyproject.toml +1 -1
- {rtzip-0.5.2 → rtzip-0.5.3}/pyproject.toml.orig +1 -1
- {rtzip-0.5.2 → rtzip-0.5.3}/src/rtzip/zip_aes.py +3 -3
- {rtzip-0.5.2 → rtzip-0.5.3}/src/rtzip/__init__.py +0 -0
- {rtzip-0.5.2 → rtzip-0.5.3}/src/rtzip/algorithm_register.py +0 -0
- {rtzip-0.5.2 → rtzip-0.5.3}/src/rtzip/codec_wrappers.py +0 -0
- {rtzip-0.5.2 → rtzip-0.5.3}/src/rtzip/const.py +0 -0
- {rtzip-0.5.2 → rtzip-0.5.3}/src/rtzip/errors.py +0 -0
- {rtzip-0.5.2 → rtzip-0.5.3}/src/rtzip/models.py +0 -0
- {rtzip-0.5.2 → rtzip-0.5.3}/src/rtzip/path_methods.py +0 -0
- {rtzip-0.5.2 → rtzip-0.5.3}/src/rtzip/remotezip.py +0 -0
- {rtzip-0.5.2 → rtzip-0.5.3}/src/rtzip/wzaes_backends/__init__.py +0 -0
- {rtzip-0.5.2 → rtzip-0.5.3}/src/rtzip/wzaes_backends/cryptography_impl.py +0 -0
- {rtzip-0.5.2 → rtzip-0.5.3}/src/rtzip/wzaes_backends/pycryptodome_impl.py +0 -0
- {rtzip-0.5.2 → rtzip-0.5.3}/src/rtzip/zip_crypto.py +0 -0
|
@@ -291,7 +291,7 @@ def zip_aes_wrapper(raw_data, entry, header, ctx):
|
|
|
291
291
|
)
|
|
292
292
|
|
|
293
293
|
|
|
294
|
-
def install(pbkdf2_hmac: PBKDF2_HMAC_FunctionType, aes_cipher: type[AESDecryptor]):
|
|
295
|
-
pbkdf2_hmac_implement(pbkdf2_hmac)
|
|
296
|
-
aes_cipher_implement(aes_cipher)
|
|
294
|
+
def install(pbkdf2_hmac: PBKDF2_HMAC_FunctionType | None = None, aes_cipher: type[AESDecryptor] | None = None):
|
|
295
|
+
pbkdf2_hmac_implement(pbkdf2_hmac) if pbkdf2_hmac else None
|
|
296
|
+
aes_cipher_implement(aes_cipher) if aes_cipher else None
|
|
297
297
|
algorithm_handler(0x0063)(zip_aes_wrapper) if not is_algorithm_handlier_available(0x0063) else None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|