|
@@ -2,7 +2,6 @@ from binascii import hexlify, a2b_base64, b2a_base64
|
|
|
import configparser
|
|
|
import getpass
|
|
|
import os
|
|
|
-import msgpack
|
|
|
import textwrap
|
|
|
import hmac
|
|
|
from hashlib import sha256
|
|
@@ -11,6 +10,7 @@ from .helpers import IntegrityError, get_keys_dir, Error, have_cython
|
|
|
if have_cython():
|
|
|
from .crypto import pbkdf2_sha256, get_random_bytes, AES, bytes_to_long, long_to_bytes, bytes_to_int, num_aes_blocks
|
|
|
from .compress import Compressor, COMPR_BUFFER
|
|
|
+ import msgpack
|
|
|
|
|
|
PREFIX = b'\0' * 8
|
|
|
|