then what happen if E2EE receiver is server itself???
I want to prevent vector attack such MiTM if TLS is somehow hacked
I want to prevent vector attack such MiTM if TLS is somehow hacked
There are things you can do to make it more difficult to hack your TLS connection though, for example you could use key pinning to make sure that your app will only accept a server with the certificate you expect. This would protect against an IT admin installing root certs on their users' devices, or against certificate authorities issuing fake certificates for your domain.
but for things like IoT running websocket connection for long time maybe I need that