diff --git a/didcomm_messaging/crypto/__init__.py b/didcomm_messaging/crypto/__init__.py index 51e624e..59ea374 100644 --- a/didcomm_messaging/crypto/__init__.py +++ b/didcomm_messaging/crypto/__init__.py @@ -6,7 +6,7 @@ from pydid import VerificationMethod -from didcomm_messaging.jwe import JweEnvelope +from .jwe import JweEnvelope class CryptoServiceError(Exception): diff --git a/didcomm_messaging/crypto/askar/__init__.py b/didcomm_messaging/crypto/askar/__init__.py index 6344024..036e58b 100644 --- a/didcomm_messaging/crypto/askar/__init__.py +++ b/didcomm_messaging/crypto/askar/__init__.py @@ -5,7 +5,7 @@ from pydid import VerificationMethod from didcomm_messaging.crypto import SecretsManager -from didcomm_messaging.jwe import ( +from ..jwe import ( JweBuilder, JweEnvelope, JweRecipient, diff --git a/didcomm_messaging/jwe.py b/didcomm_messaging/crypto/jwe.py similarity index 100% rename from didcomm_messaging/jwe.py rename to didcomm_messaging/crypto/jwe.py diff --git a/didcomm_messaging/packaging.py b/didcomm_messaging/packaging.py index 5e92f26..9b82791 100644 --- a/didcomm_messaging/packaging.py +++ b/didcomm_messaging/packaging.py @@ -6,7 +6,7 @@ from pydid import DIDUrl, VerificationMethod from didcomm_messaging.crypto import P, S, CryptoService, SecretsManager -from didcomm_messaging.jwe import JweEnvelope, from_b64url +from didcomm_messaging.crypto.jwe import JweEnvelope, from_b64url from didcomm_messaging.resolver import DIDResolver