Skip to content
Snippets Groups Projects
  • Richard van der Hoff's avatar
    88d7182a
    Improve startup checks for insecure notary configs (#5392) · 88d7182a
    Richard van der Hoff authored
    It's not really a problem to trust notary responses signed by the old key so
    long as we are also doing TLS validation.
    
    This commit adds a check to the config parsing code at startup to check that
    we do not have the insecure matrix.org key without tls validation, and refuses
    to start without it.
    
    This allows us to remove the rather alarming-looking warning which happens at
    runtime.
    Improve startup checks for insecure notary configs (#5392)
    Richard van der Hoff authored
    It's not really a problem to trust notary responses signed by the old key so
    long as we are also doing TLS validation.
    
    This commit adds a check to the config parsing code at startup to check that
    we do not have the insecure matrix.org key without tls validation, and refuses
    to start without it.
    
    This allows us to remove the rather alarming-looking warning which happens at
    runtime.
5392.bugfix 63 B