pymobiledevice3 7.3.9__py3-none-any.whl → 7.4.1__py3-none-any.whl

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.
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '7.3.9'
32
- __version_tuple__ = version_tuple = (7, 3, 9)
31
+ __version__ = version = '7.4.1'
32
+ __version_tuple__ = version_tuple = (7, 4, 1)
33
33
 
34
34
  __commit_id__ = commit_id = None
pymobiledevice3/ca.py CHANGED
@@ -78,7 +78,8 @@ def build_root_certificate(root_key: RSAPrivateKey, alg: hashes.HashAlgorithm) -
78
78
  not_before, not_after = get_validity_bounds()
79
79
  empty = x509.Name([])
80
80
  builder = (
81
- x509.CertificateBuilder()
81
+ x509
82
+ .CertificateBuilder()
82
83
  .subject_name(empty)
83
84
  .issuer_name(empty)
84
85
  .public_key(root_key.public_key())
@@ -113,7 +114,8 @@ def build_host_certificate(
113
114
  """
114
115
  not_before, not_after = get_validity_bounds()
115
116
  builder = (
116
- x509.CertificateBuilder()
117
+ x509
118
+ .CertificateBuilder()
117
119
  .subject_name(x509.Name([]))
118
120
  .issuer_name(root_cert.subject) # empty
119
121
  .public_key(host_key.public_key())
@@ -163,7 +165,8 @@ def build_device_certificate(
163
165
  """
164
166
  not_before, not_after = get_validity_bounds()
165
167
  builder = (
166
- x509.CertificateBuilder()
168
+ x509
169
+ .CertificateBuilder()
167
170
  .subject_name(x509.Name([]))
168
171
  .issuer_name(root_cert.subject) # empty
169
172
  .public_key(device_public_key)
@@ -41,7 +41,7 @@ def usbmux_forward(
41
41
  ] = None,
42
42
  serial: Annotated[
43
43
  Optional[str],
44
- typer.Option(help="Device serial/UDID to forward traffic to."),
44
+ typer.Option("--serial", "--udid", help="Device serial/UDID to forward traffic to."),
45
45
  ] = None,
46
46
  host: Annotated[
47
47
  str,
@@ -331,6 +331,8 @@ class AfcService(LockdownService):
331
331
 
332
332
  if not self.isdir(src):
333
333
  # normal file
334
+ if match is not None and not match.search(posixpath.basename(src)):
335
+ return
334
336
  if os.path.isdir(dst):
335
337
  dst = os.path.join(dst, os.path.basename(relative_src))
336
338
  with open(dst, "wb") as f:
@@ -360,7 +362,7 @@ class AfcService(LockdownService):
360
362
 
361
363
  src_filename = self.resolve_path(src_filename)
362
364
 
363
- if match is not None and not match.match(posixpath.basename(src_filename)):
365
+ if match is not None and not match.search(posixpath.basename(src_filename)):
364
366
  continue
365
367
 
366
368
  try:
@@ -369,6 +371,7 @@ class AfcService(LockdownService):
369
371
  self.pull(
370
372
  src_filename,
371
373
  str(dst_path),
374
+ match=match,
372
375
  callback=callback,
373
376
  ignore_errors=ignore_errors,
374
377
  progress_bar=progress_bar,
@@ -378,6 +381,7 @@ class AfcService(LockdownService):
378
381
  self.pull(
379
382
  src_filename,
380
383
  str(dst_path),
384
+ match=match,
381
385
  callback=callback,
382
386
  ignore_errors=ignore_errors,
383
387
  progress_bar=progress_bar,
@@ -40,7 +40,7 @@ class CrashReportsManager:
40
40
  APPSTORED_PATH = "/com.apple.appstored"
41
41
  IN_PROGRESS_SYSDIAGNOSE_EXTENSIONS: ClassVar = [".tmp", ".tar.gz"]
42
42
 
43
- def __init__(self, lockdown: LockdownServiceProvider):
43
+ def __init__(self, lockdown: LockdownServiceProvider) -> None:
44
44
  self.logger = logging.getLogger(__name__)
45
45
  self.lockdown = lockdown
46
46
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pymobiledevice3
3
- Version: 7.3.9
3
+ Version: 7.4.1
4
4
  Summary: Pure python3 implementation for working with iDevices (iPhone, etc...)
5
5
  Author-email: doronz88 <doron88@gmail.com>, matan <matan1008@gmail.com>
6
6
  Maintainer-email: doronz88 <doron88@gmail.com>, matan <matan1008@gmail.com>
@@ -8,9 +8,9 @@ misc/understanding_idevice_protocol_layers.md,sha256=FMJQ-ik2j9kFLPS15JzDZg62uk1
8
8
  misc/usbmux_sniff.sh,sha256=iWtbucOEQ9_UEFXk9x-2VNt48Jg5zrPsnUbZ_LfZxwA,212
9
9
  pymobiledevice3/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  pymobiledevice3/__main__.py,sha256=Ogsyro4MUVVSciEtg8kZufL81AHcjuphItnaL0BT10Q,16386
11
- pymobiledevice3/_version.py,sha256=56FrElQfOLlzXXqz7FlSVTV05Bi_7Jrvtgpam9IEf00,704
11
+ pymobiledevice3/_version.py,sha256=TrNysGNe_kHowyZfbFP0ibsRoccH5lTlqagGsdWDAZ4,704
12
12
  pymobiledevice3/bonjour.py,sha256=lmx3uCaiolF59AieftmTKqktNod5ZDyJ06oRZdYKHSE,13681
13
- pymobiledevice3/ca.py,sha256=5_Y4F-zDFX_KeDL-M_TRCKKyrRRb9h1lBE8MGTWv91o,10606
13
+ pymobiledevice3/ca.py,sha256=32H7HqsAZ2_5pmy9M0Jr4wpSxVX9RL9ICPGprq-lLog,10633
14
14
  pymobiledevice3/common.py,sha256=FZzF0BQYV5fCEUPbLo6jbt2Ig9s5YwR8AvX_iR124Ew,329
15
15
  pymobiledevice3/exceptions.py,sha256=hEAAvzGRZ4Ij9IKwu9BaBhKZAM57VEZxfcrDf76eCCA,10892
16
16
  pymobiledevice3/irecv.py,sha256=623PDDVXQGPXtNPE-134sp0Gnys7VkWmb0ZQPZ2xrsE,10570
@@ -45,7 +45,7 @@ pymobiledevice3/cli/remote.py,sha256=c1qMm_Pywb5g1lQ-PIOL54H_0Voja8HE6h8mH5oEuyg
45
45
  pymobiledevice3/cli/restore.py,sha256=j1T9-eZi2AsvQqJ0EKpXuaWPuttoVUPy0xbYYfH6B_s,7485
46
46
  pymobiledevice3/cli/springboard.py,sha256=S76Kth2DbqsjGRFVOns40-L4RCqFnuMFuy7bVHbmw9M,3111
47
47
  pymobiledevice3/cli/syslog.py,sha256=gGUnYSaw-6RsNUi_XvMUU-mP0NTonvejuXCJD9i8l-g,9443
48
- pymobiledevice3/cli/usbmux.py,sha256=TTzVTftgipOS4ulHH9dfj7AG_GYZgKh8stl_4UXGS6o,3193
48
+ pymobiledevice3/cli/usbmux.py,sha256=7bK0y-OTdJzLDkgWDnpwLArk4HjcI94QZgLnAn5h8U0,3215
49
49
  pymobiledevice3/cli/version.py,sha256=59NxyLVJWcqNpoKo-XTc5RYGmweuJUmKgKnLwaLzD5o,326
50
50
  pymobiledevice3/cli/webinspector.py,sha256=grfwKDAQ1oh7WA_VWCM6qGQzo8osIOY2PjpYXJ1hzCs,17946
51
51
  pymobiledevice3/cli/developer/__init__.py,sha256=idQOgVsitt3nfolyhZuA6KHN2j44JNVq-d41I6ychpY,2015
@@ -113,10 +113,10 @@ pymobiledevice3/restore/restored_client.py,sha256=tv1hyIV7UBDb_OUwj_w6qJsH_x36oB
113
113
  pymobiledevice3/restore/tss.py,sha256=EY8XpUaexHyDTtUCuXQnOgLVIFAikcs9p0ysNSG1Q0U,30818
114
114
  pymobiledevice3/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
115
115
  pymobiledevice3/services/accessibilityaudit.py,sha256=7AvGqfAqvsSULib06mpxP94-P-Zr4SwSZohgmbXLuog,15474
116
- pymobiledevice3/services/afc.py,sha256=Y9cF_YdndyMxSZZZlsapUGOVI1IdqAGCiYRyQn1HIvI,55095
116
+ pymobiledevice3/services/afc.py,sha256=LkBVpH5MJNKHpzxPL01oV5uHZ1lRDW9N_sh08-zs2GA,55277
117
117
  pymobiledevice3/services/amfi.py,sha256=SWGh5UQtf3YhD_4cT8M3dhH1sPE-mnIzkmiZjJ8d2x4,2522
118
118
  pymobiledevice3/services/companion.py,sha256=6rvL1KF2-Gflv77rL9txINMoiQplVouL_nnGKNq-Maw,2612
119
- pymobiledevice3/services/crash_reports.py,sha256=ODsgT3WgpOHIFM-ht9za_-xI9AAh7dKiq50NsRB5q3I,10945
119
+ pymobiledevice3/services/crash_reports.py,sha256=IKGDKiRhFnajctXjrGsn4uJTWrAFqkvBEH-X0bQYoEM,10953
120
120
  pymobiledevice3/services/debugserver_applist.py,sha256=Pm65WDKua_zG8veFPp5uemuox6A49gydMlJD6UVvjhA,548
121
121
  pymobiledevice3/services/device_arbitration.py,sha256=xdVC8nhpQ0VdsCSzpaUGme7TfZw3rftJZrYnrjfYHj4,1134
122
122
  pymobiledevice3/services/device_link.py,sha256=TVrNB215eHvc7qMRv5CeyVKZgsEBf66aaEWXzp6VPEE,9542
@@ -180,9 +180,9 @@ pymobiledevice3/services/web_protocol/switch_to.py,sha256=TCdVrMfsvd18o-vZ0owVrE
180
180
  pymobiledevice3/tunneld/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
181
181
  pymobiledevice3/tunneld/api.py,sha256=Lwl1OdhPTgX6Zqezy8T4dEcXRfaEPwyGNClioTx3fUc,2338
182
182
  pymobiledevice3/tunneld/server.py,sha256=WCwqzaBRd71SNAnXQPL1FWDLPRrg6uJgr1TMLW9a08c,26426
183
- pymobiledevice3-7.3.9.dist-info/licenses/LICENSE,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147
184
- pymobiledevice3-7.3.9.dist-info/METADATA,sha256=2oxR14Ytp4zVPEM7L0Qp8js7XDrapVpAmxaeOFv_4Xc,17500
185
- pymobiledevice3-7.3.9.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
186
- pymobiledevice3-7.3.9.dist-info/entry_points.txt,sha256=jJMlOanHlVwUxcY__JwvKeWPrvBJr_wJyEq4oHIZNKE,66
187
- pymobiledevice3-7.3.9.dist-info/top_level.txt,sha256=MjZoRqcWPOh5banG-BbDOnKEfsS3kCxqV9cv-nzyg2Q,21
188
- pymobiledevice3-7.3.9.dist-info/RECORD,,
183
+ pymobiledevice3-7.4.1.dist-info/licenses/LICENSE,sha256=jOtLnuWt7d5Hsx6XXB2QxzrSe2sWWh3NgMfFRetluQM,35147
184
+ pymobiledevice3-7.4.1.dist-info/METADATA,sha256=DbHjo5TXWz93yqQsmFPWdRemoSP2AFug45DwEHc7ZFI,17500
185
+ pymobiledevice3-7.4.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
186
+ pymobiledevice3-7.4.1.dist-info/entry_points.txt,sha256=jJMlOanHlVwUxcY__JwvKeWPrvBJr_wJyEq4oHIZNKE,66
187
+ pymobiledevice3-7.4.1.dist-info/top_level.txt,sha256=MjZoRqcWPOh5banG-BbDOnKEfsS3kCxqV9cv-nzyg2Q,21
188
+ pymobiledevice3-7.4.1.dist-info/RECORD,,