summaryrefslogtreecommitdiff
path: root/src/leap/soledad/client/_crypto.py
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2017-07-08 05:44:31 -0300
committerdrebs <drebs@leap.se>2017-07-21 10:58:45 -0300
commiteb000dac7a66ea249adb8c9b7d154101b897311c (patch)
tree92e6e001ec2af2bdabfd79326081d0faaf08d30e /src/leap/soledad/client/_crypto.py
parent32a11abccb0a5090e9c1ad930ecd49ce18dc7bf8 (diff)
[refactor] creates a common.blobs with preamble
Refactor suggested from !105 review.
Diffstat (limited to 'src/leap/soledad/client/_crypto.py')
-rw-r--r--src/leap/soledad/client/_crypto.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/leap/soledad/client/_crypto.py b/src/leap/soledad/client/_crypto.py
index c0d9dde9..a0ec343c 100644
--- a/src/leap/soledad/client/_crypto.py
+++ b/src/leap/soledad/client/_crypto.py
@@ -86,11 +86,11 @@ from cryptography.hazmat.backends import default_backend
from zope.interface import implementer
-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 MAGIC
+from leap.soledad.common.blobs.preamble import InvalidPreambleException
+from leap.soledad.common.blobs.preamble import decode_preamble
+from leap.soledad.common.blobs.preamble import Preamble
+from leap.soledad.common.blobs.preamble import ENC_SCHEME, ENC_METHOD
+from leap.soledad.common.blobs.preamble import MAGIC
SECRET_LENGTH = 64