diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..ce59c40 --- /dev/null +++ b/README.md | |||
@@ -0,0 +1,35 @@ | |||
1 | # RTV 365 (TV) Subterfuge | ||
2 | A project that ports the [RTV 365 | ||
3 | (TV)](https://play.google.com/store/apps/details?id=si.rtvslo.rtv4dandroidtv_ab) | ||
4 | application to Android TV 7 (and hopefully earlier). While the application | ||
5 | installs correctly, playing anything fails due to a SSL error. The video | ||
6 | streaming domain, vodstr.rtvslo.si, uses Let's Encrypt certificates, | ||
7 | but the new ISRG Root X2 certificate is not trusted by Android 7.1.1 | ||
8 | and above. | ||
9 | |||
10 | Fortunately, the entire application happens to be a webview to | ||
11 | https://androidtv.rtvslo.si/. Android's webview allows us to handle | ||
12 | (and ignore!) TLS errors. This makes the application prone to MiTM | ||
13 | attacks, but I haven't found a way to extract the root certificate from | ||
14 | [SslError](https://developer.android.com/reference/android/net/http/SslError). | ||
15 | The application supports accounts, but they're only used to gate access | ||
16 | to media - I don't think enabling MiTM is too large of a risk, but you're | ||
17 | welcome to submit patches if you've found a way around this. | ||
18 | |||
19 | The aim of this project is exactly that - to create a minimal webview | ||
20 | wrapper for the application and ignore certificate errors. If your version | ||
21 | of Android TV is not supported, please submit patches to marko@zajc.tel. | ||
22 | |||
23 | ## Downloading | ||
24 | Ready-made builds are available on: | ||
25 | * https://files.zajc.tel/public/builds/rtv365tv-subterfuge | ||
26 | |||
27 | ## Compiling | ||
28 | ``` | ||
29 | $ export ANDROID_HOME=/path/to/android/sdk JAVA_HOME=/path/to/jdk | ||
30 | $ ./gradlew assemble | ||
31 | ``` | ||
32 | |||
33 | ## Available on | ||
34 | * https://git.zajc.tel/rtv365tv-subterfuge.git | ||
35 | * https://github.com/markozajc/rtv365tv-subterfuge | ||