mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-10-12 18:07:15 +02:00
Fix fleet E2E for third participant and Tor-only shared DM delivery.
Step 8 uses live HTTP poll/decrypt instead of wedging remote python; prime local wormhole before Tor warmup; auto-set MESH_RELAY_PEERS on participant prime. Verified Extra run 119 and Pete Tor-only run 121. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
7151563a41
commit
5135b771f5
2 files changed
+299
-156
No files matched your search
@@ -19,6 +19,11 @@ write_wormhole_settings(
|
||||
tor = tor_service.start(target_port=8000)
|
||||
if tor.get("ok"):
|
||||
_write_env_value("MESH_ARTI_ENABLED", "true")
|
||||
onion = str(tor.get("onion_address") or "").strip().rstrip("/")
|
||||
if onion:
|
||||
# Replicate-envelope HMAC checks X-Peer-Url against authenticated_push_peer_urls;
|
||||
# fresh participants need their own onion in the push allowlist until fleet manifest sync.
|
||||
_write_env_value("MESH_RELAY_PEERS", onion)
|
||||
get_settings.cache_clear()
|
||||
runtime = connect_wormhole(reason="participant_warmup")
|
||||
print(json.dumps({"ok": True, "tor": tor, "runtime": runtime}))
|
||||
Reference in new issue
Block a user