Skip to content

Self-signed certificate #789

@opk12

Description

@opk12

My homeserver is in a private network and has a self-signed certificate.

Like Element and the other clients, Syphon should

  1. on the first connection, save the cert
  2. on every connection, check if the cert has changed
    2.1. fail, if the cert has changed

Today it does not log in, because the certificate is not installed on the phone and is not trusted by the root CAs.

In the case of a public domain, self-signed is a red flag. Maybe the app could expect self-signed if a private IP address was typed (as it's impossible to have a CA-signed cert) and then do TOFU.

I could add the cert to the system trust store, but I'd rather do TOFU in-app than have users let strangers put hands on the system settings, possibly outside the trust store.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfeatureNew feature or requestsecurityrelated to security or privacy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions