π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add Locker credential associations
Manav Rathiba815de0de32
diff --git a/mobile/apps/auth/android/app/src/main/AndroidManifest.xml b/mobile/apps/auth/android/app/src/main/AndroidManifest.xmlindex 5410ab1cae..d7c3026aab 100644--- a/mobile/apps/auth/android/app/src/main/AndroidManifest.xml+++ b/mobile/apps/auth/android/app/src/main/AndroidManifest.xml@@ -100,6 +100,8 @@This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --><meta-data android:name="flutterEmbedding" android:value="2"/><meta-data android:name="flutter_deeplinking_enabled" android:value="false" />+ <meta-data android:name="asset_statements"+ android:resource="@string/asset_statements" /><meta-data android:name="io.sentry.dsn"android:value="https://[email protected]/9"/>diff --git a/mobile/apps/auth/android/app/src/main/res/values/strings.xml b/mobile/apps/auth/android/app/src/main/res/values/strings.xmlnew file mode 100644index 0000000000..947034c057--- /dev/null+++ b/mobile/apps/auth/android/app/src/main/res/values/strings.xml@@ -0,0 +1,20 @@+<resources>+ <string name="asset_statements" translatable="false">+ [{+ \"include\": \"https://web.ente.io/.well-known/assetlinks.json\"+ },+ {+ \"include\": \"https://photos.ente.com/.well-known/assetlinks.json\"+ },+ {+ \"include\": \"https://auth.ente.io/.well-known/assetlinks.json\"+ },+ {+ \"include\": \"https://auth.ente.com/.well-known/assetlinks.json\"+ },+ {+ \"include\": \"https://locker.ente.com/.well-known/assetlinks.json\"+ }]+ </string>++</resources>diff --git a/mobile/apps/auth/ios/Runner/Runner.entitlements b/mobile/apps/auth/ios/Runner/Runner.entitlementsindex a683f152d3..af68850047 100644--- a/mobile/apps/auth/ios/Runner/Runner.entitlements+++ b/mobile/apps/auth/ios/Runner/Runner.entitlements@@ -7,8 +7,10 @@<key>com.apple.developer.associated-domains</key><array><string>webcredentials:web.ente.io</string>+ <string>webcredentials:photos.ente.com</string><string>webcredentials:auth.ente.io</string><string>webcredentials:auth.ente.com</string>+ <string>webcredentials:locker.ente.com</string></array></dict></plist>diff --git a/mobile/apps/locker/android/app/src/main/AndroidManifest.xml b/mobile/apps/locker/android/app/src/main/AndroidManifest.xmlindex 3eac243dc0..3febd237d9 100644--- a/mobile/apps/locker/android/app/src/main/AndroidManifest.xml+++ b/mobile/apps/locker/android/app/src/main/AndroidManifest.xml@@ -62,6 +62,8 @@<meta-dataandroid:name="flutterEmbedding"android:value="2" />+ <meta-data android:name="asset_statements"+ android:resource="@string/asset_statements" /></application><!-- Required to query activities that can process text, see:https://developer.android.com/training/package-visibility anddiff --git a/mobile/apps/locker/android/app/src/main/res/values/strings.xml b/mobile/apps/locker/android/app/src/main/res/values/strings.xmlnew file mode 100644index 0000000000..947034c057--- /dev/null+++ b/mobile/apps/locker/android/app/src/main/res/values/strings.xml@@ -0,0 +1,20 @@+<resources>+ <string name="asset_statements" translatable="false">+ [{+ \"include\": \"https://web.ente.io/.well-known/assetlinks.json\"+ },+ {+ \"include\": \"https://photos.ente.com/.well-known/assetlinks.json\"+ },+ {+ \"include\": \"https://auth.ente.io/.well-known/assetlinks.json\"+ },+ {+ \"include\": \"https://auth.ente.com/.well-known/assetlinks.json\"+ },+ {+ \"include\": \"https://locker.ente.com/.well-known/assetlinks.json\"+ }]+ </string>++</resources>diff --git a/mobile/apps/locker/ios/Runner/Runner.entitlements b/mobile/apps/locker/ios/Runner/Runner.entitlementsindex b79c362eed..78c857ee43 100644--- a/mobile/apps/locker/ios/Runner/Runner.entitlements+++ b/mobile/apps/locker/ios/Runner/Runner.entitlements@@ -2,6 +2,14 @@<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict>+ <key>com.apple.developer.associated-domains</key>+ <array>+ <string>webcredentials:web.ente.io</string>+ <string>webcredentials:photos.ente.com</string>+ <string>webcredentials:auth.ente.io</string>+ <string>webcredentials:auth.ente.com</string>+ <string>webcredentials:locker.ente.com</string>+ </array><key>com.apple.security.application-groups</key><array><string>group.io.ente.locker.share</string>diff --git a/mobile/apps/photos/android/app/src/main/res/values/strings.xml b/mobile/apps/photos/android/app/src/main/res/values/strings.xmlindex 3f60660443..fd9521ebaf 100644--- a/mobile/apps/photos/android/app/src/main/res/values/strings.xml+++ b/mobile/apps/photos/android/app/src/main/res/values/strings.xml@@ -7,6 +7,15 @@},{\"include\": \"https://photos.ente.com/.well-known/assetlinks.json\"+ },+ {+ \"include\": \"https://auth.ente.io/.well-known/assetlinks.json\"+ },+ {+ \"include\": \"https://auth.ente.com/.well-known/assetlinks.json\"+ },+ {+ \"include\": \"https://locker.ente.com/.well-known/assetlinks.json\"}]</string>diff --git a/mobile/apps/photos/ios/Runner/Runner.entitlements b/mobile/apps/photos/ios/Runner/Runner.entitlementsindex f97a9f2a2b..e59f36fb63 100644--- a/mobile/apps/photos/ios/Runner/Runner.entitlements+++ b/mobile/apps/photos/ios/Runner/Runner.entitlements@@ -10,6 +10,7 @@<string>webcredentials:photos.ente.com</string><string>webcredentials:auth.ente.io</string><string>webcredentials:auth.ente.com</string>+ <string>webcredentials:locker.ente.com</string><string>applinks:albums.ente.io</string><string>applinks:albums.ente.com</string></array>diff --git a/web/apps/auth/public/.well-known/apple-app-site-association b/web/apps/auth/public/.well-known/apple-app-site-associationindex ec64bd6b66..a71cf52da6 100644--- a/web/apps/auth/public/.well-known/apple-app-site-association+++ b/web/apps/auth/public/.well-known/apple-app-site-association@@ -3,6 +3,7 @@"apps": ["6Z68YJY9Q2.io.ente.frame","6Z68YJY9Q2.io.ente.auth",+ "6Z68YJY9Q2.io.ente.locker","2BUSYC7FN9.io.ente.frame","2BUSYC7FN9.io.ente.auth"]diff --git a/web/apps/auth/public/.well-known/assetlinks.json b/web/apps/auth/public/.well-known/assetlinks.jsonindex 9d343d0dae..10784cf092 100644--- a/web/apps/auth/public/.well-known/assetlinks.json+++ b/web/apps/auth/public/.well-known/assetlinks.json@@ -15,6 +15,10 @@"relation": ["delegate_permission/common.get_login_creds"],"target": { "namespace": "web", "site": "https://auth.ente.com" }},+ {+ "relation": ["delegate_permission/common.get_login_creds"],+ "target": { "namespace": "web", "site": "https://locker.ente.com" }+ },{"relation": ["delegate_permission/common.get_login_creds"],"target": {@@ -44,5 +48,25 @@"DD:CE:AA:D6:88:F0:05:D3:40:68:94:BA:00:FC:E3:FF:82:54:13:0A:10:2B:B2:52:E6:3C:D8:EA:A9:72:B2:EF"]}+ },+ {+ "relation": ["delegate_permission/common.get_login_creds"],+ "target": {+ "namespace": "android_app",+ "package_name": "io.ente.locker",+ "sha256_cert_fingerprints": [+ "FE:BD:D7:3B:5D:52:1C:CD:14:A2:F5:E6:9F:19:E8:C0:66:BE:5B:EF:70:D7:F5:18:49:FC:E1:0C:7C:81:AE:FD"+ ]+ }+ },+ {+ "relation": ["delegate_permission/common.get_login_creds"],+ "target": {+ "namespace": "android_app",+ "package_name": "io.ente.locker.independent",+ "sha256_cert_fingerprints": [+ "6E:5B:71:61:B0:FA:F1:01:B6:AF:3D:33:C6:B0:8C:AD:AC:4A:8B:DF:85:E5:BE:A5:06:83:AA:FA:74:05:0D:B1"+ ]+ }}]diff --git a/web/apps/locker/public/.well-known/apple-app-site-association b/web/apps/locker/public/.well-known/apple-app-site-associationnew file mode 100644index 0000000000..a71cf52da6--- /dev/null+++ b/web/apps/locker/public/.well-known/apple-app-site-association@@ -0,0 +1,11 @@+{+ "webcredentials": {+ "apps": [+ "6Z68YJY9Q2.io.ente.frame",+ "6Z68YJY9Q2.io.ente.auth",+ "6Z68YJY9Q2.io.ente.locker",+ "2BUSYC7FN9.io.ente.frame",+ "2BUSYC7FN9.io.ente.auth"+ ]+ }+}diff --git a/web/apps/locker/public/.well-known/assetlinks.json b/web/apps/locker/public/.well-known/assetlinks.jsonnew file mode 100644index 0000000000..10784cf092--- /dev/null+++ b/web/apps/locker/public/.well-known/assetlinks.json@@ -0,0 +1,72 @@+[+ {+ "relation": ["delegate_permission/common.get_login_creds"],+ "target": { "namespace": "web", "site": "https://web.ente.io" }+ },+ {+ "relation": ["delegate_permission/common.get_login_creds"],+ "target": { "namespace": "web", "site": "https://photos.ente.com" }+ },+ {+ "relation": ["delegate_permission/common.get_login_creds"],+ "target": { "namespace": "web", "site": "https://auth.ente.io" }+ },+ {+ "relation": ["delegate_permission/common.get_login_creds"],+ "target": { "namespace": "web", "site": "https://auth.ente.com" }+ },+ {+ "relation": ["delegate_permission/common.get_login_creds"],+ "target": { "namespace": "web", "site": "https://locker.ente.com" }+ },+ {+ "relation": ["delegate_permission/common.get_login_creds"],+ "target": {+ "namespace": "android_app",+ "package_name": "io.ente.photos.independent",+ "sha256_cert_fingerprints": [+ "35:ED:56:81:B7:0B:B3:BD:35:D9:0D:85:6A:F5:69:4C:50:4D:EF:46:AA:D8:3F:77:7B:1C:67:5C:F4:51:35:0B"+ ]+ }+ },+ {+ "relation": ["delegate_permission/common.get_login_creds"],+ "target": {+ "namespace": "android_app",+ "package_name": "io.ente.photos",+ "sha256_cert_fingerprints": [+ "35:ED:56:81:B7:0B:B3:BD:35:D9:0D:85:6A:F5:69:4C:50:4D:EF:46:AA:D8:3F:77:7B:1C:67:5C:F4:51:35:0B"+ ]+ }+ },+ {+ "relation": ["delegate_permission/common.get_login_creds"],+ "target": {+ "namespace": "android_app",+ "package_name": "io.ente.auth",+ "sha256_cert_fingerprints": [+ "DD:CE:AA:D6:88:F0:05:D3:40:68:94:BA:00:FC:E3:FF:82:54:13:0A:10:2B:B2:52:E6:3C:D8:EA:A9:72:B2:EF"+ ]+ }+ },+ {+ "relation": ["delegate_permission/common.get_login_creds"],+ "target": {+ "namespace": "android_app",+ "package_name": "io.ente.locker",+ "sha256_cert_fingerprints": [+ "FE:BD:D7:3B:5D:52:1C:CD:14:A2:F5:E6:9F:19:E8:C0:66:BE:5B:EF:70:D7:F5:18:49:FC:E1:0C:7C:81:AE:FD"+ ]+ }+ },+ {+ "relation": ["delegate_permission/common.get_login_creds"],+ "target": {+ "namespace": "android_app",+ "package_name": "io.ente.locker.independent",+ "sha256_cert_fingerprints": [+ "6E:5B:71:61:B0:FA:F1:01:B6:AF:3D:33:C6:B0:8C:AD:AC:4A:8B:DF:85:E5:BE:A5:06:83:AA:FA:74:05:0D:B1"+ ]+ }+ }+]diff --git a/web/apps/photos/public/.well-known/apple-app-site-association b/web/apps/photos/public/.well-known/apple-app-site-associationindex ec64bd6b66..a71cf52da6 100644--- a/web/apps/photos/public/.well-known/apple-app-site-association+++ b/web/apps/photos/public/.well-known/apple-app-site-association@@ -3,6 +3,7 @@"apps": ["6Z68YJY9Q2.io.ente.frame","6Z68YJY9Q2.io.ente.auth",+ "6Z68YJY9Q2.io.ente.locker","2BUSYC7FN9.io.ente.frame","2BUSYC7FN9.io.ente.auth"]diff --git a/web/apps/photos/public/.well-known/assetlinks.json b/web/apps/photos/public/.well-known/assetlinks.jsonindex 9d343d0dae..10784cf092 100644--- a/web/apps/photos/public/.well-known/assetlinks.json+++ b/web/apps/photos/public/.well-known/assetlinks.json@@ -15,6 +15,10 @@"relation": ["delegate_permission/common.get_login_creds"],"target": { "namespace": "web", "site": "https://auth.ente.com" }},+ {+ "relation": ["delegate_permission/common.get_login_creds"],+ "target": { "namespace": "web", "site": "https://locker.ente.com" }+ },{"relation": ["delegate_permission/common.get_login_creds"],"target": {@@ -44,5 +48,25 @@"DD:CE:AA:D6:88:F0:05:D3:40:68:94:BA:00:FC:E3:FF:82:54:13:0A:10:2B:B2:52:E6:3C:D8:EA:A9:72:B2:EF"]}+ },+ {+ "relation": ["delegate_permission/common.get_login_creds"],+ "target": {+ "namespace": "android_app",+ "package_name": "io.ente.locker",+ "sha256_cert_fingerprints": [+ "FE:BD:D7:3B:5D:52:1C:CD:14:A2:F5:E6:9F:19:E8:C0:66:BE:5B:EF:70:D7:F5:18:49:FC:E1:0C:7C:81:AE:FD"+ ]+ }+ },+ {+ "relation": ["delegate_permission/common.get_login_creds"],+ "target": {+ "namespace": "android_app",+ "package_name": "io.ente.locker.independent",+ "sha256_cert_fingerprints": [+ "6E:5B:71:61:B0:FA:F1:01:B6:AF:3D:33:C6:B0:8C:AD:AC:4A:8B:DF:85:E5:BE:A5:06:83:AA:FA:74:05:0D:B1"+ ]+ }}]