Encryptors 2.37__tar.gz → 2.38__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.
- {encryptors-2.37 → encryptors-2.38}/PKG-INFO +2 -1
- {encryptors-2.37 → encryptors-2.38}/setup.py +2 -1
- {encryptors-2.37 → encryptors-2.38}/src/Encryptors.egg-info/PKG-INFO +2 -1
- {encryptors-2.37 → encryptors-2.38}/src/Encryptors.egg-info/requires.txt +1 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Graphql/Extensions/AuditExtension.py +3 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Graphql/_Helpers/_TenantPolicy.py +4 -1
- {encryptors-2.37 → encryptors-2.38}/README.md +0 -0
- {encryptors-2.37 → encryptors-2.38}/setup.cfg +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Encryptors.egg-info/SOURCES.txt +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Encryptors.egg-info/dependency_links.txt +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Encryptors.egg-info/entry_points.txt +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Encryptors.egg-info/top_level.txt +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Cli/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Database/BaseRepository.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Database/Connection.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Database/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Decorators/Grpc.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Decorators/Retry.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Decorators/SecureResolver.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Decorators/SqlDataNormalizer.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Decorators/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Encryptor/Aes.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Encryptor/Argon2.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Encryptor/Bcrypt.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Encryptor/Jwt.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Encryptor/Rsa.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Encryptor/Sha512.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Encryptor/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Exception/ControlledException.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Exception/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Graphql/Extensions/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Graphql/Models/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Graphql/_Exceptions/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Graphql/_Helpers/_AuditHelper.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Graphql/_Helpers/_ExtractAuthToken.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Graphql/_Helpers/_TokenService.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Graphql/_Helpers/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Graphql/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Helpers/AuditDispatcher.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Helpers/KeyVaultService.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Helpers/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Http/APIClient.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Http/_Exceptions.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Http/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Messaging/AzureServiceBus.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Messaging/Kafka.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Messaging/RabbitMQ.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Messaging/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Models/AuditConfig.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Models/Catalog.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Models/Legacy.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Models/Response.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Models/Token.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Models/_Audit.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Models/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/RedisCache/Redis.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/RedisCache/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Rest/Context/RequestContext.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Rest/Context/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Rest/Middlewares/RequestContextMiddleware.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Rest/Middlewares/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Rest/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Enums/Code.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Enums/Constant.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Enums/FileType.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Enums/GrahpqlOperation.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Enums/Message.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Enums/Profile.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Enums/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Logger.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Utils/CaseConverter.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Utils/CodeGenerator.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Utils/DataNormalizer.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Utils/DataUtils.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Utils/DateUtils.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Utils/FileMetaData.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Utils/HashValidator.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Utils/Mapper.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Utils/PasswordGenerator.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Utils/QueryGenerator.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Utils/TextProcessor.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/Utils/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Shared/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Storage/AzureBlobStorage.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Storage/S3Storage.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/Storage/__init__.py +0 -0
- {encryptors-2.37 → encryptors-2.38}/src/Osdental/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Encryptors
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.38
|
|
4
4
|
Summary: End-to-end algorithm library
|
|
5
5
|
Author: OSDental LLC
|
|
6
6
|
Author-email: support@osdental.ai
|
|
@@ -35,6 +35,7 @@ Requires-Dist: pydantic_core==2.41.4
|
|
|
35
35
|
Requires-Dist: PyJWT==2.10.1
|
|
36
36
|
Requires-Dist: aioodbc==0.5.0
|
|
37
37
|
Requires-Dist: python-dotenv==1.0.1
|
|
38
|
+
Requires-Dist: pydantic_settings==2.13.1
|
|
38
39
|
Requires-Dist: requests==2.32.3
|
|
39
40
|
Requires-Dist: six==1.17.0
|
|
40
41
|
Requires-Dist: sniffio==1.3.1
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name="Encryptors",
|
|
5
|
-
version="2.
|
|
5
|
+
version="2.38",
|
|
6
6
|
author="OSDental LLC",
|
|
7
7
|
author_email="support@osdental.ai",
|
|
8
8
|
description="End-to-end algorithm library",
|
|
@@ -43,6 +43,7 @@ setup(
|
|
|
43
43
|
"PyJWT==2.10.1",
|
|
44
44
|
"aioodbc==0.5.0",
|
|
45
45
|
"python-dotenv==1.0.1",
|
|
46
|
+
"pydantic_settings==2.13.1",
|
|
46
47
|
"requests==2.32.3",
|
|
47
48
|
"six==1.17.0",
|
|
48
49
|
"sniffio==1.3.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Encryptors
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.38
|
|
4
4
|
Summary: End-to-end algorithm library
|
|
5
5
|
Author: OSDental LLC
|
|
6
6
|
Author-email: support@osdental.ai
|
|
@@ -35,6 +35,7 @@ Requires-Dist: pydantic_core==2.41.4
|
|
|
35
35
|
Requires-Dist: PyJWT==2.10.1
|
|
36
36
|
Requires-Dist: aioodbc==0.5.0
|
|
37
37
|
Requires-Dist: python-dotenv==1.0.1
|
|
38
|
+
Requires-Dist: pydantic_settings==2.13.1
|
|
38
39
|
Requires-Dist: requests==2.32.3
|
|
39
40
|
Requires-Dist: six==1.17.0
|
|
40
41
|
Requires-Dist: sniffio==1.3.1
|
|
@@ -102,7 +102,10 @@ class AuditExtension(Extension):
|
|
|
102
102
|
self.errors = errors
|
|
103
103
|
|
|
104
104
|
def request_finished(self, context):
|
|
105
|
+
if not self.request_payload: return
|
|
106
|
+
|
|
105
107
|
query = self.request_payload.get("query", "")
|
|
108
|
+
|
|
106
109
|
if "__schema" in query or "__type" in query: return
|
|
107
110
|
|
|
108
111
|
if not hasattr(context, "audit_plain_response"): return
|
|
@@ -37,7 +37,10 @@ class TenantPolicy:
|
|
|
37
37
|
return token
|
|
38
38
|
|
|
39
39
|
# If it comes by request, it is taken as priority
|
|
40
|
-
external_enterprise_req =
|
|
40
|
+
external_enterprise_req = (
|
|
41
|
+
decrypted_payload.get("idExternalEnterprise")
|
|
42
|
+
if decrypted_payload else None
|
|
43
|
+
)
|
|
41
44
|
if external_enterprise_req and token:
|
|
42
45
|
token.id_external_enterprise = external_enterprise_req
|
|
43
46
|
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{encryptors-2.37 → encryptors-2.38}/src/Osdental/Rest/Middlewares/RequestContextMiddleware.py
RENAMED
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|