From 0535d847196cd0204f116eb4f1db1128a57b163d Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Sun, 11 Dec 2022 15:39:11 +0000 Subject: [PATCH] website: add F-Droid key hash to open SimpleX links in the app --- website/src/.well-known/README.md | 15 +++++++++++++++ website/src/.well-known/assetlinks.json | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 website/src/.well-known/README.md diff --git a/website/src/.well-known/README.md b/website/src/.well-known/README.md new file mode 100644 index 000000000..ec4c7f57e --- /dev/null +++ b/website/src/.well-known/README.md @@ -0,0 +1,15 @@ +# .well-known + +This website files allow opening SimpleX Chat links (1-time invitations, contact addresses and groups) directly in the app. + +## Android + +File `assetlinks.json` includes certificate hashes for: + +- Play Store (5E:3E:DC:C2:00:FB:A8:D5:F4:88:F3:CA:4C:32:5B:05:78:C5:6A:9C:03:A1:CC:B5:92:9C:D7:5C:7E:57:E2:4D) +- APK in GitHub releases (3C:52:C4:FD:3C:AD:1C:07:C9:B0:0A:70:80:E3:58:FA:B9:FE:FC:B8:AF:5A:EC:14:77:65:F1:6D:0F:21:AD:85) +- F-Droid (AE:C1:95:DC:FD:46:14:BD:3A:91:EC:26:D1:D5:14:C8:75:71:C5:CC:8D:CF:48:08:3F:92:83:14:3C:A2:B9:A6) + +## iOS + +`apple-app-site-association` currently does not work, as it needs to be served with `Content-type: application/json; charset=utf-8` and GitHub pages do not support adding this header to files without JSON extension. diff --git a/website/src/.well-known/assetlinks.json b/website/src/.well-known/assetlinks.json index 5f7312868..e19f8a4c1 100644 --- a/website/src/.well-known/assetlinks.json +++ b/website/src/.well-known/assetlinks.json @@ -8,7 +8,8 @@ "package_name": "chat.simplex.app", "sha256_cert_fingerprints": [ "5E:3E:DC:C2:00:FB:A8:D5:F4:88:F3:CA:4C:32:5B:05:78:C5:6A:9C:03:A1:CC:B5:92:9C:D7:5C:7E:57:E2:4D", - "3C:52:C4:FD:3C:AD:1C:07:C9:B0:0A:70:80:E3:58:FA:B9:FE:FC:B8:AF:5A:EC:14:77:65:F1:6D:0F:21:AD:85" + "3C:52:C4:FD:3C:AD:1C:07:C9:B0:0A:70:80:E3:58:FA:B9:FE:FC:B8:AF:5A:EC:14:77:65:F1:6D:0F:21:AD:85", + "AE:C1:95:DC:FD:46:14:BD:3A:91:EC:26:D1:D5:14:C8:75:71:C5:CC:8D:CF:48:08:3F:92:83:14:3C:A2:B9:A6" ] } }