summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/bonafide/config.py
AgeCommit message (Collapse)Author
2017-09-20[feat] check if there are newest configuration filesKali Kaneko
here we port the if-modified-since conditional mechanism, so that we only write the config if it is newer than whan we have. we also add a line with the status code to the logs, so that it's easier to debug. note that the 'configs.json' file is never returning 304. - Resolves: #8773
2017-09-18[bug] we need to use 'GET' method to fetch provider configsRuben Pollan
The workaround is no needed anymore, if we do 'GET' instead of 'POST' to fetch all the provider configuration jsons it works smoothly. - Resolves: #9056
2017-08-11[style] pep8Kali Kaneko
2017-08-11[bug] add workaround for invalid configs.jsonKali Kaneko
Old versions of the webapp let agent download an invalid.json, instead of returning a 404. We try to parse the json, and if no valid json is found, we use the workaround for manually downloading the service files. - Resolves: #9004
2017-07-18use the passed ca_certKali Kaneko
if there is no ca_cert passed and the provider is configured, use the pinned ca cert when the autoconf parameter is true.
2017-07-14[refactor] skip looking for cacert bundle in bitmaskKali Kaneko (leap communications)
leap.common is going to handle this
2017-06-05[bug] fail bonafide bootstrap for self sign certsRuben Pollan
- Resolves: #8881
2017-06-05[feat] check ca cert fingreprint against provider.jsonRuben Pollan
2017-05-12[bug] make global the provider bootstrap deferredsRuben Pollan
- Resolves: #8884
2017-05-04[bug] correctly handle authenticate's autoconf parameterSimon Fondrie-Teitler
This fixes two bugs with handling the autoconf parameter: - It looks for "True" instead of "true" in the dispatching code to account for json.dumps() converting true into a boolean and str() returning the python-style capitalized version "True". - It moves the initial definitions of offirst_bootstrap, ongoing_bootstrap, and stuck_bootstrap into the class instantiation method so they don't get shared between instances of the class. Previously, this caused one instance being bootstrapped to causes other instances to think they were also actively being bootstrapped. Resolves #8843
2017-04-27[bug] unify logging style using class attrKali Kaneko (leap communications)
I changed most of the logger statements to use a class attribute, in this way it's easier to identify which class it's logging them. in some cases I leave a module-level logger, when we're either using functions or when the module it's too small. at the same time I did a general review and cleanup of the logging statements.
2017-03-03[feat] get VPN params from eip-service.jsonRuben Pollan
Instead of hardcoding them in the code.
2016-12-26[bug] do not hang if further config needs authKali Kaneko (leap communications)
2016-10-21[bug] use tcp endpoint for windowsKali Kaneko (leap communications)
2016-10-10[bug] fix error logging calls using twisted loggerdrebs
2016-10-07[refactor] use new logger infrastructureKali Kaneko (leap communications)
2016-10-04[bug] In case of wrong url don't leave files in the config folderRuben Pollan
- Resolves: #8498
2016-09-07[feat] Add manual provider registrationRuben Pollan
- Resolves: #8400
2016-09-01[refactor] fix imports after merging submodulesKali Kaneko (leap communications)
2016-08-29[pkg] move bonafide source to leap.bitmask.bonafideKali Kaneko (leap communications)