diff options
author | kali <kali@leap.se> | 2012-12-12 04:28:43 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-12-12 04:28:43 +0900 |
commit | f3cbae1d2c14e2ff22888d4fc83d03ec6c452541 (patch) | |
tree | e3117035e18c455d138901f1790f29a817cd5dc5 /src/leap/crypto | |
parent | b262ac8bae66c391aa249e93268db9935f1c475f (diff) | |
parent | 5a335cd560846fbcfa74f013c170a3bd32c7b85b (diff) |
Merge branch 'feature/wizard-tests' into develop
Diffstat (limited to 'src/leap/crypto')
-rw-r--r-- | src/leap/crypto/leapkeyring.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/leap/crypto/leapkeyring.py b/src/leap/crypto/leapkeyring.py index d4be7bf9..c241d0bc 100644 --- a/src/leap/crypto/leapkeyring.py +++ b/src/leap/crypto/leapkeyring.py @@ -53,6 +53,7 @@ class LeapCryptedFileKeyring(keyring.backend.CryptedFileKeyring): def leap_set_password(key, value, seed="xxx"): + key, value = map(unicode, (key, value)) keyring.set_keyring(LeapCryptedFileKeyring(seed=seed)) keyring.set_password('leap', key, value) |