home-assistant / android

:iphone: Home Assistant Companion for Android
https://companion.home-assistant.io/
Apache License 2.0
2.15k stars 609 forks source link

Wear OS 3 HA companion: private CA is not supported #3739

Open m4k2k opened 11 months ago

m4k2k commented 11 months ago

Home Assistant Android app version(s):

Android version(s):

Device model(s):

**Home Assistant version:** - not applicable/relevant **Last working Home Assistant release (if known):** - not applicable/relevant **Description of problem, include YAML if issue is related to notifications:** - not applicable/relevant **Companion App Logs:** - not applicable/relevant -> "known issue" **Screenshot or video of problem:** - not applicable/relevant

$~$

Issue Description

Justification

Solution options

There are plenty of options how to fix / workaround the incompatibilities of Wear OS 3 / Android 11.

Most solutions end up saving the CA file in the app's secure storage. Then validating against the local, securely stored, CA file. For ease of implementation this should happen at first setup of the Wear OS Companion app. This could be accomplished by

Of course there are many more, feel free to suggest.

Intention/Next Step

best regards Markus

doody-doody commented 4 months ago

I would love to see this implemented. My current hack is to terminate the SSL connection at a proxy and serve cleartext to the watch. It is pretty ugly.