Commit Graph

42 Commits (158a322e8274b8ed031a20a00a3700d0798ae1c2)

Author SHA1 Message Date
Erik Johnston 2c1fbea531 Fix up logcontexts 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Paul "LeoNerd" Evans a6ba41e078 Actually look up required remote server key IDs 9 years ago
Erik Johnston 0eabfa55f6 Fix typo 9 years ago
Erik Johnston 6408541075 Don't limit connections to perspective servers 9 years ago
Erik Johnston ffe8cf7e59 Fix bug where we sometimes didn't fetch all the keys requested for a 9 years ago
Erik Johnston e1eb1f3fb9 Various bug fixes to crypto.keyring 9 years ago
Erik Johnston dd0867f5ba Various bug fixes to crypto.keyring 9 years ago
Daniel Wagner-Hall 81a93ddcc8 Allow configuration to ignore invalid SSL certs 9 years ago
Mark Haines 78323ccdb3 Remove syutil dependency in favour of smaller single-purpose libraries 9 years ago
Erik Johnston f0dd568e16 Wait for previous attempts at fetching keys for a given server before trying to fetch more 10 years ago
Erik Johnston b5f55a1d85 Implement bulk verify_signed_json API 10 years ago
Erik Johnston 291cba284b Handle the case when things return empty but non none things 10 years ago
Erik Johnston 253f76a0a5 Don't always hit get_server_verify_key_v1_direct 10 years ago
Erik Johnston 6837c5edab Handle the case when things return empty but non none things 10 years ago
Erik Johnston 5ae4a84211 Don't always hit get_server_verify_key_v1_direct 10 years ago
Erik Johnston d3e09f12d0 SYN-383: Actually, we expect this value to be a dict 10 years ago
Erik Johnston 350b88656a SYN-383: Actually, we expect this value to be a dict 10 years ago
Erik Johnston 2b7120e233 SYN-383: Handle the fact the server might not have signed things 10 years ago
Erik Johnston 8b256a7296 Don't reuse var names 10 years ago
Erik Johnston 62ccc6d95f Don't reuse var names 10 years ago
Erik Johnston 2aeee2a905 SYN-383: Fix parsing of verify_keys and catching of _DefGen_Return 10 years ago
Mark Haines c6a03c46e6 SYN-383: Extract the response list from 'server_keys' in the response JSON as it might work better than iterating over the top level dict 10 years ago
Erik Johnston fca28d243e Change the way we create observers to deferreds so that we don't get spammed by 'unhandled errors' 10 years ago
Mark Haines 1319905d7a Use a defer.gatherResults to collect results from the perspective servers 10 years ago
Mark Haines 74874ffda7 Update the query format used by keyring to match current key v2 spec 10 years ago
Mark Haines 46d200a3a1 Implement minimum_valid_until_ts in the remote key resource 10 years ago
Erik Johnston 2c70849dc3 Fix newlines 10 years ago
Erik Johnston 0a016b0525 Pull inner function out. 10 years ago
Erik Johnston e701aec2d1 Implement locks using create_observer for fetching media and server keys 10 years ago
Mark Haines 288702170d Add config for setting the perspective servers 10 years ago
Mark Haines 4bbf7156ef Update to match the specification for key/v2 10 years ago
Mark Haines f30d47c876 Implement remote key lookup api 10 years ago
Mark Haines 2f9157b427 Implement v2 key lookup 10 years ago
Erik Johnston 5b5c7a28d6 Log error message when we fail to fetch remote server keys 10 years ago
Erik Johnston 9371019133 Try to only back off if we think we failed to connect to the remote 10 years ago
Erik Johnston 2b8f1a956c Add per server retry limiting. 10 years ago
Erik Johnston 5025305fb2 Rate limit retries when fetching server keys. 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Mark Haines 32090aee16 Add a few missing yields, Move deferred lists inside PreserveLoggingContext because they don't interact well with the logging contexts 10 years ago
Mark Haines 7d709542ca Fix pep8 warnings 10 years ago
Mark Haines 3187b5ba2d add log line for checking verifying signatures 10 years ago
Mark Haines 34034af1c9 Better response message when signature is missing or unsupported 10 years ago
Mark Haines 07639c79d9 Respond with more helpful error messages for unsigned requests 10 years ago
Mark Haines b95a178584 SYN-75 Verify signatures on server to server transactions 10 years ago