From 90dc71906db5e611fc1aeabcd16be24c610f67c6 Mon Sep 17 00:00:00 2001 From: Ivan Alejandro Date: Wed, 23 Oct 2013 10:42:32 -0300 Subject: Support use of non-ascii passwords. [Closes #4001] --- client/changes/bug-4001_support-non-ascii-passwords | 1 + client/src/leap/soledad/client/__init__.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 client/changes/bug-4001_support-non-ascii-passwords diff --git a/client/changes/bug-4001_support-non-ascii-passwords b/client/changes/bug-4001_support-non-ascii-passwords new file mode 100644 index 00000000..1288b4e3 --- /dev/null +++ b/client/changes/bug-4001_support-non-ascii-passwords @@ -0,0 +1 @@ + o Support non-ascii passwords. Closes #4001. diff --git a/client/src/leap/soledad/client/__init__.py b/client/src/leap/soledad/client/__init__.py index 13a3b68f..e38aa939 100644 --- a/client/src/leap/soledad/client/__init__.py +++ b/client/src/leap/soledad/client/__init__.py @@ -1118,7 +1118,7 @@ class Soledad(object): doc='The secret used for symmetric encryption.') def _get_passphrase(self): - return self._passphrase + return self._passphrase.decode("UTF-8") passphrase = property( _get_passphrase, -- cgit v1.2.3