diff options
author | kali <kali@leap.se> | 2012-12-05 23:50:08 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-12-12 04:27:50 +0900 |
commit | 490cde9c33039c2c5b16d929d6f8bb8e8f06f430 (patch) | |
tree | 2f03c228e674569e0bdb74e088b487c9b3aaa19b /src/leap/crypto/leapkeyring.py | |
parent | 01116d8725eaa74f8f3581248198b5d0ec1577dd (diff) |
tests for firstrun/wizard
Diffstat (limited to 'src/leap/crypto/leapkeyring.py')
-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) |