diff options
Diffstat (limited to 'src/leap/soledad')
-rw-r--r-- | src/leap/soledad/client/_crypto.py | 7 | ||||
-rw-r--r-- | src/leap/soledad/common/preamble.py (renamed from src/leap/soledad/client/_preamble.py) | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/leap/soledad/client/_crypto.py b/src/leap/soledad/client/_crypto.py index d0fb6e7f..998b70fa 100644 --- a/src/leap/soledad/client/_crypto.py +++ b/src/leap/soledad/client/_crypto.py @@ -86,8 +86,11 @@ from cryptography.hazmat.backends import default_backend from zope.interface import implementer -from ._preamble import InvalidPreambleException, decode_preamble, Preamble -from ._preamble import ENC_SCHEME, ENC_METHOD, BLOB_SIGNATURE_MAGIC +from leap.soledad.common.preamble import InvalidPreambleException +from leap.soledad.common.preamble import decode_preamble +from leap.soledad.common.preamble import Preamble +from leap.soledad.common.preamble import ENC_SCHEME, ENC_METHOD +from leap.soledad.common.preamble import BLOB_SIGNATURE_MAGIC SECRET_LENGTH = 64 diff --git a/src/leap/soledad/client/_preamble.py b/src/leap/soledad/common/preamble.py index 262d70ce..724923c5 100644 --- a/src/leap/soledad/client/_preamble.py +++ b/src/leap/soledad/common/preamble.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# _preamble.py +# preamble.py # Copyright (C) 2017 LEAP Encryption Access Project # # This program is free software: you can redistribute it and/or modify |