Skip to content
Snippets Groups Projects
  1. Jun 24, 2019
  2. Jun 20, 2019
  3. Jun 10, 2019
  4. Jun 06, 2019
    • Richard van der Hoff's avatar
      Stop hardcoding trust of old matrix.org key (#5374) · 9fbb20a5
      Richard van der Hoff authored
      There are a few changes going on here:
      
      * We make checking the signature on a key server response optional: if no
        verify_keys are specified, we trust to TLS to validate the connection.
      
      * We change the default config so that it does not require responses to be
        signed by the old key.
      
      * We replace the old 'perspectives' config with 'trusted_key_servers', which
        is also formatted slightly differently.
      
      * We emit a warning to the logs every time we trust a key server response
        signed by the old key.
      Unverified
      9fbb20a5
  5. Jun 05, 2019
  6. May 13, 2019
  7. May 10, 2019
  8. Apr 25, 2019
  9. Mar 20, 2019
  10. Mar 18, 2019
  11. Mar 13, 2019
  12. Feb 11, 2019
  13. Feb 01, 2019
  14. Jan 31, 2019
  15. Jan 30, 2019
  16. Jan 29, 2019
  17. Jan 28, 2019
    • Richard van der Hoff's avatar
      Handle IP literals explicitly · 0fd5b3b5
      Richard van der Hoff authored
      We don't want to be doing .well-known lookups on these guys.
      0fd5b3b5
    • Richard van der Hoff's avatar
      Fix idna and ipv6 literal handling in MatrixFederationAgent (#4487) · d8400191
      Richard van der Hoff authored
      Turns out that the library does a better job of parsing URIs than our
      reinvented wheel. Who knew.
      
      There are two things going on here. The first is that, unlike
      parse_server_name, URI.fromBytes will strip off square brackets from IPv6
      literals, which means that it is valid input to ClientTLSOptionsFactory and
      HostnameEndpoint.
      
      The second is that we stay in `bytes` throughout (except for the argument to
      ClientTLSOptionsFactory), which avoids the weirdness of (sometimes) ending up
      with idna-encoded values being held in `unicode` variables. TBH it probably
      would have been ok but it made the tests fragile.
      Unverified
      d8400191
  18. Jan 25, 2019
  19. Jan 24, 2019
  20. Jan 22, 2019
  21. Jan 18, 2019
  22. Jan 08, 2019
    • Erik Johnston's avatar
      Refactor request sending to have better excpetions (#4358) · b970cb0e
      Erik Johnston authored
      * Correctly retry and back off if we get a HTTPerror response
      
      * Refactor request sending to have better excpetions
      
      MatrixFederationHttpClient blindly reraised exceptions to the caller
      without differentiating "expected" failures (e.g. connection timeouts
      etc) versus more severe problems (e.g. programming errors).
      
      This commit adds a RequestSendFailed exception that is raised when
      "expected" failures happen, allowing the TransactionQueue to log them as
      warnings while allowing us to log other exceptions as actual exceptions.
      b970cb0e
Loading