aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests/test_android_shell.py
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-10-02 13:46:34 +0200
committerChristophe Besson <cbesson@gmail.com>2026-10-03 14:24:54 +0200
commit78f3208db5e7285e62151cecb06c2d3c9eb4d2ae (patch)
tree66598c28931761831363192e9411cf87215aee99 /packages/meshbay-hub/tests/test_android_shell.py
parent3af2c0205071ea74fd7f2b1b1bbe4d47cdd1357b (diff)
downloadmeshbay-78f3208db5e7285e62151cecb06c2d3c9eb4d2ae.tar.gz
feat(android): device key, bundle key and node identities held natively
Keystore-wrapped store, a Kotlin port of keyring.js and transcripts.js held to the shared vectors, the same keys/device/secrets bridge as the desktop, and a native confirmation before browser access is widened. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/tests/test_android_shell.py')
-rw-r--r--packages/meshbay-hub/tests/test_android_shell.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/meshbay-hub/tests/test_android_shell.py b/packages/meshbay-hub/tests/test_android_shell.py
index 53b3914..ef7355d 100644
--- a/packages/meshbay-hub/tests/test_android_shell.py
+++ b/packages/meshbay-hub/tests/test_android_shell.py
@@ -133,8 +133,9 @@ def _shim_channels() -> set[str]:
def test_the_shim_offers_desktop_channels_and_native_answers_each():
preload_js = _read(CLIENT / "src" / "preload.js")
preload = set(re.findall(r"ipcRenderer\.invoke\('([\w:-]+)'", preload_js))
- channels_kt = _read(SRC / "bridge" / "Channels.kt")
- native = set(re.findall(r'^\s*"([\w:-]+)" ->', channels_kt, flags=re.M))
+ native = set()
+ for name in ("Channels.kt", "KeyChannels.kt"):
+ native |= set(re.findall(r'^\s*"([\w:-]+)" ->', _read(SRC / "bridge" / name), flags=re.M))
shim = _shim_channels()
assert shim, "no channel found in the shim"
assert shim <= preload, f"channels the desktop does not have: {shim - preload}"