summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/leap/soledad/common/blobs/preamble.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/soledad/common/blobs/preamble.py b/src/leap/soledad/common/blobs/preamble.py
index a8446c0d..c84ec0fa 100644
--- a/src/leap/soledad/common/blobs/preamble.py
+++ b/src/leap/soledad/common/blobs/preamble.py
@@ -84,7 +84,7 @@ class Preamble(object):
def decode_preamble(encoded_preamble, armored=False):
if armored:
- encoded_preamble = base64.b64decode(encoded_preamble)
+ encoded_preamble = base64.urlsafe_b64decode(encoded_preamble)
preamble_size = len(encoded_preamble)
try:
if preamble_size == LEGACY_PACMAN.size: