summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/crypto
AgeCommit message (Collapse)Author
2015-08-24[bug] handle disabled registration, error 403.Ivan Alejandro
If the user wants to register a new account we check whether the provider allows registration or not right after getting the provider.json file and show an error msg on the wizard if not allowed. Also, there is a new signal to handle the error raised by the server if a registration attempt is made but is rejected with error 403. - Resolves: #6594
2015-08-07[test] fix SRP testsRuben Pollan
The tests where using deferToThread to run without need, I remove it and now it's easier to debug when one test fails. - Resolves: #7343
2015-06-22[feat] replace old log handler with new oneIvan Alejandro
Replace logging.getLogger with custom get_logger. Remove some unneeded dependencies and reorder other.
2015-05-27[feat] adapt to new events api on commonIvan Alejandro
- Related: #6359
2015-04-01[style] fix pep8 violationsDuda Dornelles
2015-04-01[refactor] move SRPRegister to SRPRegisterImplNeissi Lima
Decouple SRPRegister from QT signaler and create SRPRegisterImpl
2015-04-01[refactor] move SRPAuth to SRPAuthImplDuda Dornelles
Decouple SRPAuth from QT signaler and move it to SRPAuthImpl
2015-04-01[bug] Use less threads.Duda Dornelles
On SRP#authenticate, no need to use so many threads.
2015-01-16Fix failing tests.Ivan Alejandro
Remove srpauth obsolete tests. Remove providerconfig obsolete test. Set as mandatory the signaler object on ProviderBootstrapper and EIPBootstrapper. Closes #6631.
2014-12-19add some notes about changes needed in srpauthKali Kaneko
2014-09-08Send the token when querying the EIP certTomás Touceda
2014-07-16Code style fixes.Ivan Alejandro
2014-07-14Use specific settings for backend.Ivan Alejandro
This way we get rid of Qt on the backend side. The use of QSettings in the backend was breaking the app on OSX.
2014-07-14Lowercase signals names.Ivan Alejandro
2014-04-16Use authenticated() properly.Ivan Alejandro
2014-04-15Remove PySide as a dependency.Ivan Alejandro
- Use python `object` as a parent class. - Replace QMutex with a `threading.Lock`
2014-04-15Move SRPAuth to the backend.Ivan Alejandro
* Move methods from SRPAuth to backend: login, logout, change_password. * Add backend section to hold temporary hack code, needed in the process of splitting frontend and backend. * Replace pyside signals with Signaler signals. * Move all the signaling and thread launching in SRPAuth inside of __impl. * Move defer handling code (callbacks/errbacks) to the backend and left only signal handling in the GUI. [Closes #5347]
2014-03-19Move srpregister interaction to the backend.Ivan Alejandro
Also: - remove unused code. - add status attributes for srpauth responses. - split response handling - remove unneeded hack to avoid segfault emitting None
2014-03-11Move login/logout success/error msgs to the GUI.Ivan Alejandro
Also refactor signals to be more granular and notify clearly if there was an error or not, then in the GUI we show the corresponding message.
2014-03-11Move error messages for the user to the GUI.Ivan Alejandro
2014-02-13Preserve settings' uuid on logout.Ivan Alejandro
2014-02-11Properly handle defer cancelling.Ivan Alejandro
- Fix issues related to "Cancel login does not work". - Move srpauth errback to mainwindow. - Add signal for provider setup cancel. - Add support to cancel the soledad defer. [Closes #4869] [Closes #4973]
2014-02-07Pep8 fixes, remove commented ipdb, group imports.Ivan Alejandro
2014-01-11offline modeKali Kaneko
This will skip: * srp authentication with server * remote soledad configuration * keymanager sending key to server * imap fetches. Its main goal is to help us while debugging imap accounts, by cutting almost all communication with server. It will break havoc if you use it without having local keys configured. So, basically, use with care.
2013-11-14Set token to none in logout.Ivan Alejandro
2013-11-05Fix typoIvan Alejandro
2013-11-05Handle Timeout errors during register.Ivan Alejandro
Also catch all request exceptions to avoid failures. [Closes #4358]
2013-11-05Move string encoding to srpregister.Ivan Alejandro
2013-10-30Fix non-ascii password change problem.Ivan Alejandro
[Closes #4003]
2013-10-29Merge remote-tracking branch 'ivan/bug/4189_fix-non-ascii-path-problem' into ↵Tomás Touceda
develop
2013-10-29Encode cert path before send it.Ivan Alejandro
2013-10-28dependency pinning on requestsKali Kaneko
2013-10-07Increase the max retries for the sessions in SRPAuthTomás Touceda
2013-10-03Reset the session on every login attemptTomás Touceda
2013-10-03Update provider_config in SRPAuth initializationTomás Touceda
2013-10-02Use token header also for authenticated requestsTomás Touceda
2013-10-02Merge remote-tracking branch 'chiiph/bug/fix_tests' into developIvan Alejandro
2013-10-02Fix failing tests/codeTomás Touceda
2013-10-01Use the same exception for all the auth user facing errorsTomás Touceda
2013-09-19Merge remote-tracking branch 'ivan-github/bug/3857_username-case-problem' ↵Kali Kaneko
into develop
2013-09-19Username case problem at login. Closes #3857.Ivan Alejandro
2013-09-18Use generic username/password message.Ivan Alejandro
2013-09-18Merge remote-tracking branch 'kali/bug/start_smtp_without_eip' into developIvan Alejandro
2013-09-18download cert for SMTP if EIP did not do it.Kali Kaneko
includes refactor of common code for download of certificates and config files.
2013-09-13Handle correctly a logout problem. Closes #3774.Ivan Alejandro
Also remove preferences button disable, we don't need that.
2013-08-23Add password change feature.Ivan Alejandro
2013-08-22Make username lower case before using themTomás Touceda
2013-08-22Fix logout testTomás Touceda
2013-08-21Use DELETE /1/logout to properly logoutTomás Touceda
2013-08-13Update mocks for the new namespace. Closes #3445.Ivan Alejandro