diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-03-08 14:24:05 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-03-08 14:24:05 -0300 |
commit | e4e5f35c3fc7ff02bc20a6ef7eaffae09f485061 (patch) | |
tree | 01f4775d17ff7c87153eb5b1beaf1d5d2d289481 /src/leap/crypto | |
parent | 926575bc811e8382100695a3396da7191fb43eb3 (diff) |
Add keyring and username/password saving capabilities
Also:
- Fix translations in SRPAuth
- Support non-ascii passwords
- Make the server check if the characters are allowed, just check for
easy passwords
Diffstat (limited to 'src/leap/crypto')
-rw-r--r-- | src/leap/crypto/srpauth.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/leap/crypto/srpauth.py b/src/leap/crypto/srpauth.py index 8530b7da..2877efab 100644 --- a/src/leap/crypto/srpauth.py +++ b/src/leap/crypto/srpauth.py @@ -41,7 +41,7 @@ class SRPAuth(QtCore.QObject): SRPAuth singleton """ - class __impl(object): + class __impl(QtCore.QObject): """ Implementation of the SRPAuth interface """ @@ -57,6 +57,8 @@ class SRPAuth(QtCore.QObject): @param server: Server to which we will authenticate @type server: str """ + QtCore.QObject.__init__(self) + leap_assert(provider_config, "We need a provider config to authenticate") |