summaryrefslogtreecommitdiff
path: root/src/leap/soledad/common/preamble.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/soledad/common/preamble.py')
-rw-r--r--src/leap/soledad/common/preamble.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/soledad/common/preamble.py b/src/leap/soledad/common/preamble.py
index 724923c5..72549031 100644
--- a/src/leap/soledad/common/preamble.py
+++ b/src/leap/soledad/common/preamble.py
@@ -33,8 +33,8 @@ from collections import namedtuple
PACMAN = struct.Struct('2sbbQ16s255p255pQ')
LEGACY_PACMAN = struct.Struct('2sbbQ16s255p255p') # DEPRECATED
BLOB_SIGNATURE_MAGIC = '\x13\x37'
-ENC_SCHEME = namedtuple('SCHEME', 'symkey')(1)
-ENC_METHOD = namedtuple('METHOD', 'aes_256_ctr aes_256_gcm')(1, 2)
+ENC_SCHEME = namedtuple('SCHEME', 'symkey external')(1, 2)
+ENC_METHOD = namedtuple('METHOD', 'aes_256_ctr aes_256_gcm pgp')(1, 2, 3)
class InvalidPreambleException(Exception):