Encryptors 2.44__tar.gz → 2.45__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.44 → encryptors-2.45}/PKG-INFO +1 -1
- {encryptors-2.44 → encryptors-2.45}/setup.py +1 -1
- {encryptors-2.44 → encryptors-2.45}/src/Encryptors.egg-info/PKG-INFO +1 -1
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Graphql/Extensions/AuditExtension.py +11 -4
- {encryptors-2.44 → encryptors-2.45}/README.md +0 -0
- {encryptors-2.44 → encryptors-2.45}/setup.cfg +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Encryptors.egg-info/SOURCES.txt +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Encryptors.egg-info/dependency_links.txt +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Encryptors.egg-info/entry_points.txt +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Encryptors.egg-info/requires.txt +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Encryptors.egg-info/top_level.txt +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Cli/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Database/BaseRepository.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Database/Connection.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Database/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Decorators/Grpc.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Decorators/PublicResolver.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Decorators/Retry.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Decorators/SecureResolver.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Decorators/SqlDataNormalizer.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Decorators/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Encryptor/Aes.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Encryptor/Argon2.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Encryptor/Bcrypt.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Encryptor/Jwt.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Encryptor/Rsa.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Encryptor/Sha512.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Encryptor/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Exception/ControlledException.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Exception/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Graphql/Extensions/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Graphql/Models/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Graphql/_Exceptions/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Graphql/_Helpers/_AuditHelper.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Graphql/_Helpers/_ExtractAuthToken.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Graphql/_Helpers/_TenantPolicy.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Graphql/_Helpers/_TokenService.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Graphql/_Helpers/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Graphql/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Helpers/AuditDispatcher.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Helpers/KeyVaultService.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Helpers/ResponseDecryptor.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Helpers/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Http/APIClient.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Http/_Exceptions.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Http/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Messaging/AzureServiceBus.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Messaging/Kafka.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Messaging/RabbitMQ.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Messaging/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Models/AuditConfig.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Models/Response.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Models/Token.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Models/_Audit.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Models/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/RedisCache/Redis.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/RedisCache/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Rest/Context/RequestContext.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Rest/Context/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Rest/Middlewares/RequestContextMiddleware.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Rest/Middlewares/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Rest/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Enums/Code.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Enums/Constant.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Enums/FileType.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Enums/GrahpqlOperation.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Enums/Message.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Enums/Profile.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Enums/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Logger.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Utils/CaseConverter.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Utils/CodeGenerator.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Utils/DataNormalizer.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Utils/DataUtils.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Utils/DateUtils.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Utils/FileMetaData.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Utils/HashValidator.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Utils/Mapper.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Utils/PasswordGenerator.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Utils/QueryGenerator.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Utils/RsaUtils.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Utils/TextProcessor.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/Utils/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Shared/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Storage/AzureBlobStorage.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Storage/S3Storage.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/Storage/__init__.py +0 -0
- {encryptors-2.44 → encryptors-2.45}/src/Osdental/__init__.py +0 -0
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
|
2
2
|
# ANDERSON ESTO YA SE SUBIO Y ESTA ESTABLE, AUN TE QUEDA PENDIENTE LA AUDITORIA CON RSA Y AES DE ACCESSTOKEN
|
|
3
3
|
setup(
|
|
4
4
|
name="Encryptors",
|
|
5
|
-
version="2.
|
|
5
|
+
version="2.45",
|
|
6
6
|
author="OSDental LLC",
|
|
7
7
|
author_email="support@osdental.ai",
|
|
8
8
|
description="End-to-end algorithm library",
|
|
@@ -106,10 +106,17 @@ class AuditExtension(Extension):
|
|
|
106
106
|
except Exception:
|
|
107
107
|
raise ValueError("Invalid encrypted payload")
|
|
108
108
|
|
|
109
|
-
|
|
110
|
-
decrypted_payload =
|
|
111
|
-
|
|
112
|
-
|
|
109
|
+
if isinstance(decrypted, dict):
|
|
110
|
+
decrypted_payload = decrypted
|
|
111
|
+
|
|
112
|
+
elif isinstance(decrypted, str):
|
|
113
|
+
try:
|
|
114
|
+
decrypted_payload = json.loads(decrypted)
|
|
115
|
+
except Exception:
|
|
116
|
+
raise ValueError("Decrypted payload is not valid JSON")
|
|
117
|
+
|
|
118
|
+
else:
|
|
119
|
+
raise ValueError("Unsupported decrypted payload type")
|
|
113
120
|
|
|
114
121
|
if decrypted_payload is not None:
|
|
115
122
|
kwargs["data"] = decrypted_payload
|
|
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
|
|
File without changes
|
|
File without changes
|
{encryptors-2.44 → encryptors-2.45}/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
|
|
File without changes
|