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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: rtzip
3
- Version: 0.5.2
3
+ Version: 0.5.3
4
4
  Requires-Dist: obstruct==0.5.2
5
5
  Requires-Dist: pyaes>=1.6.1
6
6
  Requires-Python: >=3.12
@@ -4,7 +4,7 @@ requires = ["uv_build < 0.13"]
4
4
 
5
5
  [project]
6
6
  name = "rtzip"
7
- version = "0.5.2"
7
+ version = "0.5.3"
8
8
  requires-python = ">=3.12"
9
9
  dependencies = [
10
10
  "obstruct==0.5.2",
@@ -6,7 +6,7 @@ requires = [
6
6
 
7
7
  [project]
8
8
  name = "rtzip"
9
- version = "0.5.2"
9
+ version = "0.5.3"
10
10
  requires-python = ">=3.12"
11
11
  dependencies = [
12
12
  "obstruct==0.5.2",
@@ -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