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 CHANGED
@@ -1 +1 @@
1
- __version__ = "1.0.21"
1
+ __version__ = "1.0.23"
@@ -360,7 +360,7 @@ class Messaging:
360
360
  if not mailbox:
361
361
  return None
362
362
 
363
- cypher_text = generate_cipher_text(
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 != cypher_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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mesh-sandbox
3
- Version: 1.0.21
3
+ Version: 1.0.23
4
4
  Summary: NHSDigital mesh sandbox, a locally testable version of the MESH api
5
5
  License: MIT
6
6
  Author: spinecore
@@ -1,11 +1,11 @@
1
- mesh_sandbox/__init__.py,sha256=lJ4ivbKbnYXFf2Ku8SMHBz5WRCggnAB-EiaLLFW9B-8,23
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=XY7yd7C-DubKsTfmBMmYVppPfmiycswC43oxywNR-Yo,14756
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.21.dist-info/LICENSE,sha256=usgzIvDUpVX5pYZepJTRXQJqIaz0mdd32GuS5a3PFlY,1051
74
- mesh_sandbox-1.0.21.dist-info/METADATA,sha256=3MUm5sr_-S732hTkRkN37O222d51yMHjJ994hBOd_6c,2373
75
- mesh_sandbox-1.0.21.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
76
- mesh_sandbox-1.0.21.dist-info/RECORD,,
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,,