summaryrefslogtreecommitdiff
path: root/service/pixelated/bitmask_libraries/provider.py
AgeCommit message (Collapse)Author
2017-07-25[pkg] packaging and path changesKali Kaneko
- move all the pixelated python package under src/ - move the pixelated_www package under the leap namespace - allow to set globally the static folder - add hours and minutes to the timestamp in package version, to allow for several releases a day.
2016-12-08Revert "[#801] Merge branch 'signup'"Roald de Vries
This reverts commit d10f607a4d40587510b0dc31b31fe4750bf4a3a3, reversing changes made to c28abba2f5b1186c671ebef508d40ffaae6d5bc5.
2016-11-11readabilityRoald de Vries
2016-08-30[#765] Move combined certificates to the leap folderTulio Casagrande
Since we are creating the combined certificates at the beginning of the UA and using it for multiple users, it makes more sense to create it in the leap folder instead of on a temporary file This bundle will be updated on every UA start
2016-08-29[#765] Move combined_ca_bundle to UA initializationTulio Casagrande
With this change we don't have to create the combined_ca_bundle for every user at every login. To support this change, we started migrating away from the LeapCertificate class that was making the LeapProvider setup more brittle
2016-08-24[#762] Remove smtp-service download from session creationTulio Casagrande
SMTP json is a blocking HTTP request that was taking ~1 sec of the session creation. We moved it to the UA initialization
2016-08-23Changes soledad json download orderBruno Wagner
Soledad json must only be downloaded after we fetch the api provider certificate, we can't make the request for it before having this cert
2016-08-19Started deferring leap session creation #759Bruno Wagner
Started adapting get_leap_session to deferreds Soledad and keymanager setup calls will now happen in deferreds and leap session creation itself is a deferred with callbacks This is a start in breaking the big blocking calls we were doing on the main thread, this was done without changing code inside the leap libraries yet so things can be further optimized This breaks the ~4 seconds get_leap_session piece into smaller 1 seconds one, that can be further optimized and deferred to even smaller calls There are requests calls happening on the main thread that should get this number even further down Also moved some pieces from bitmask libraries to our bootstrap, because they are not bitmask libraries anymore and that was causing confusion
2016-01-22Fixed bug when tries download certJefferson Stachelski
It was rising an error when UA tried donwload the certificate and the directory that file will be create doesn't exist yet
2015-11-06Refactor - Removed class SoledadSessionJefferson Stachelski
The SoledadSession class was removed and some methods implemented there was moved to LeapSessionFactory and LeapProvider
2015-11-04Instantiate new MailSender in ServicesFolker Bernitt
- Issue #499 - Some smaller refactorings - Extract smtp cert download to own class
2015-11-03Issue #499 Moved remote smtp configurationBruno Wagner
We removed the common parts from the bitmask libraries smtp and adapted the tests. We also advanced the new mail sender implementation, but it is coupled to the twisted.mail.smtp.User currently and we need to adapt leap mail to remove this dependency
2015-09-21Add more description on fingerprint missmatch errorFolker Bernitt
- See 660e0d9de
2015-09-16Add fingerprints to exception on mismatchFolker Bernitt
2015-06-15SMTP now runs with the rest of the background jobs, that means register no ↵Bruno Wagner
longer starts the smtp server
2015-06-10Provider web certificate will always be bytestring now, requests complains ↵Bruno Wagner
otherwise
2015-06-09Removed triplicated code to concatenate user mailVictor Shyba
2015-06-08Heavy rework on certs, removed most of it, simplified the logicBruno Wagner
2015-06-08Moved initialization, fingerprint and cert inside LeapCertificate classBruno Wagner
2015-06-08Fixed certificates initialization and removed which_api_bundleBruno Wagner
2015-04-23Changes to streamline the session creation and authenticate with the ↵Bruno Wagner
external srp leap library
2015-03-31Better naming for which_bundle functionsFolker Bernitt and Victor Shyba
-- Issues #93 and #333
2015-03-31Added support for ssl fingerprint validation.Folker Bernitt
- Issue #333 - Needed to patch urrlib3 for older requests versions - Use --leap-cert-fingerprint <SHA1> to validate fingerprint
2015-03-30Splitting certificate validation into provider and bootstrap certificate.Folker Bernitt
- Issue #333 - Now a different certificate is used to communicate with the provider's HTTPS website than for all other connections, e.g. to the api
2014-10-15Getting rid of singletons and optimizing importsDuda Dornelles
2014-08-25Add copyright and license notice to serviceAlexandre Pretto Nunes
2014-08-20Added setup.py and changed app to pixelated because it will be a packageBruno Wagner Goncalves