mesh-sandbox 1.0.21__py3-none-any.whl → 1.0.23__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.
- mesh_sandbox/__init__.py +1 -1
- mesh_sandbox/common/messaging.py +2 -2
- {mesh_sandbox-1.0.21.dist-info → mesh_sandbox-1.0.23.dist-info}/METADATA +1 -1
- {mesh_sandbox-1.0.21.dist-info → mesh_sandbox-1.0.23.dist-info}/RECORD +6 -6
- {mesh_sandbox-1.0.21.dist-info → mesh_sandbox-1.0.23.dist-info}/LICENSE +0 -0
- {mesh_sandbox-1.0.21.dist-info → mesh_sandbox-1.0.23.dist-info}/WHEEL +0 -0
mesh_sandbox/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.0.
|
|
1
|
+
__version__ = "1.0.23"
|
mesh_sandbox/common/messaging.py
CHANGED
|
@@ -360,7 +360,7 @@ class Messaging:
|
|
|
360
360
|
if not mailbox:
|
|
361
361
|
return None
|
|
362
362
|
|
|
363
|
-
|
|
363
|
+
cipher_text = generate_cipher_text(
|
|
364
364
|
self.config.shared_key,
|
|
365
365
|
header_parts.mailbox_id,
|
|
366
366
|
mailbox.password,
|
|
@@ -369,7 +369,7 @@ class Messaging:
|
|
|
369
369
|
header_parts.nonce_count,
|
|
370
370
|
)
|
|
371
371
|
|
|
372
|
-
if header_parts.cipher_text !=
|
|
372
|
+
if header_parts.cipher_text.lower() != cipher_text.lower():
|
|
373
373
|
raise HTTPException(status_code=status.HTTP_403_FORBIDDEN, detail=constants.ERROR_INVALID_AUTH_TOKEN)
|
|
374
374
|
|
|
375
375
|
return mailbox
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
mesh_sandbox/__init__.py,sha256=
|
|
1
|
+
mesh_sandbox/__init__.py,sha256=TsfOxJ6mtxlNs5o5L8PelYBmdcIU2HBCYiJjWJmW9pU,23
|
|
2
2
|
mesh_sandbox/api.py,sha256=N6k5RH6C9nXkVU4VqK9Cb4Zm0y0btCkzY7vgf4aM-Vg,3924
|
|
3
3
|
mesh_sandbox/common/__init__.py,sha256=r_QcbsmkiCFrE04QVputqAF2TPIlixiXBcGKgWR4SvE,3430
|
|
4
4
|
mesh_sandbox/common/constants.py,sha256=ADa23j-2FL-u4618N5s9IjerXVoGHSVav4S4k-UTpCs,6612
|
|
5
5
|
mesh_sandbox/common/exceptions.py,sha256=YQII8w6DQQoKuW0cukEr6PIE9j0rwrqDpCn5lapgmkQ,1481
|
|
6
6
|
mesh_sandbox/common/fernet.py,sha256=f8yygkVnK1cmQLBgcPifoB4PwGpgiOrG8Yk-6OMDy8o,551
|
|
7
7
|
mesh_sandbox/common/handler_helpers.py,sha256=Eg00Tide2mL87EoMFw83fDuxiTL5DgIwxHs2RaJasgE,392
|
|
8
|
-
mesh_sandbox/common/messaging.py,sha256=
|
|
8
|
+
mesh_sandbox/common/messaging.py,sha256=g0IxoHfgs6EKpKUnMq3WKouFW_N2FXQrf7hPhICmhuQ,14772
|
|
9
9
|
mesh_sandbox/common/mex_headers.py,sha256=DGtbS2Xd010JKLw4W3f1qAhKfXBJ2BsauStleGV8BjE,6678
|
|
10
10
|
mesh_sandbox/conftest.py,sha256=nNCRnGABKSByhUVmozHOUE_pRM8Ay30drxsehljGdbw,2193
|
|
11
11
|
mesh_sandbox/dependencies.py,sha256=GXbb9DMaHcbgGg8v-XCTEQU8wxIaXEDmo1o-xvMPoBE,4078
|
|
@@ -70,7 +70,7 @@ mesh_sandbox/views/inbox.py,sha256=zdKB2ulJaDRVnhnagyBYF2nFmN88wslAx3bq7d7feLo,5
|
|
|
70
70
|
mesh_sandbox/views/lookup.py,sha256=c_UtaJMCfBacsV692FQs4_AyDKjPNxIQKu2wgluDSGw,2815
|
|
71
71
|
mesh_sandbox/views/outbox.py,sha256=JrJk-R3fTjjcfVFW5Q_Fvxj8oasNRuH7HNJiMiTiD80,4907
|
|
72
72
|
mesh_sandbox/views/tracking.py,sha256=WEswJT_wLJPieN5CgJ-CGXjDSRF5BdUzVy5XHqzGHAE,8914
|
|
73
|
-
mesh_sandbox-1.0.
|
|
74
|
-
mesh_sandbox-1.0.
|
|
75
|
-
mesh_sandbox-1.0.
|
|
76
|
-
mesh_sandbox-1.0.
|
|
73
|
+
mesh_sandbox-1.0.23.dist-info/LICENSE,sha256=usgzIvDUpVX5pYZepJTRXQJqIaz0mdd32GuS5a3PFlY,1051
|
|
74
|
+
mesh_sandbox-1.0.23.dist-info/METADATA,sha256=C8UvCQS0gnRmqR3SDwNSVlKlPUtJfKiRGbax68z6EVU,2373
|
|
75
|
+
mesh_sandbox-1.0.23.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
76
|
+
mesh_sandbox-1.0.23.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|