Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
bec4c5a
feat(walletconnect): preserve Runtime-mediated phase-one connector
andersalm Nov 12, 2026
59123b0
Merge remote-tracking branch 'origin/develop' into feat/575-walletcon…
andersalm Nov 12, 2026
e6621f3
test(walletconnect): add opt-in Runtime real-relay acceptance
andersalm Nov 12, 2026
456e092
fix(walletconnect): admit same-Home relay upgrades before ticket rede…
andersalm Nov 12, 2026
9374aea
fix(walletconnect): return typed wallet-link denials and align Home C…
andersalm Nov 12, 2026
2182935
build(walletconnect): rebuild pinned Runtime adapter and source prove…
andersalm Nov 12, 2026
c283144
style(walletconnect): format Runtime transport and acceptance tests
andersalm Nov 12, 2026
f4ccc83
build(walletconnect): preserve vendored template literal whitespace
andersalm Nov 12, 2026
4fda097
fix(release): scope WalletConnect provisioning to capsule build jobs
andersalm Nov 12, 2026
e511620
fix(walletconnect): select relay TLS crypto provider and trust roots …
andersalm Nov 12, 2026
cf6166d
fix(walletconnect): bound admissions and revalidate active transports…
andersalm Nov 12, 2026
562d1ca
fix(walletconnect): recheck account chain and expiry after wallet rep…
andersalm Nov 12, 2026
8a7f35d
test(walletconnect): exercise Home review and exact handoff binding r…
andersalm Nov 12, 2026
f535c4d
fix(walletconnect): reject expired or resolved handoffs in Runtime
andersalm Nov 12, 2026
ba09f81
test(walletconnect): bound the opt-in operator project file read
andersalm Nov 12, 2026
b6624e6
style(walletconnect): format review fixes and binding route tests
andersalm Nov 12, 2026
c756269
fix(walletconnect): keep TLS and WebSocket configurations distinct
andersalm Nov 12, 2026
0d1b5ab
fix(walletconnect): preserve returned transaction hashes across state…
andersalm Nov 12, 2026
67bdc0c
fix(walletconnect): compare handoff binding with Runtime principal an…
andersalm Nov 12, 2026
9827c4e
style(walletconnect): format the handoff binding refusal
andersalm Nov 12, 2026
51fcb7c
fix(walletconnect): validate transaction hashes before receipt reporting
andersalm Nov 12, 2026
7696947
fix(walletconnect): keep the connector listening through the wallet a…
andersalm Nov 12, 2026
f012105
test(walletconnect): refuse provider handoff replies with mismatched …
andersalm Nov 12, 2026
46123f4
style(walletconnect): format the provider reply mismatch fixture
andersalm Nov 12, 2026
8f958d1
fix(walletconnect): preserve short signature approval lifetimes
andersalm Nov 12, 2026
6ca0ff6
test(walletconnect): use the selected consent and Apps launch journey
andersalm Nov 12, 2026
e99005b
test(walletconnect): exercise the SDK with the Home RPC URL
andersalm Nov 12, 2026
de75212
test(walletconnect): await the SDK batch subscription and key storage
andersalm Nov 12, 2026
9400b2a
test(walletconnect): report redacted relay and storage readiness on f…
andersalm Nov 12, 2026
238a8ce
test(walletconnect): verify the pinned SDK pairing proposal protocol
andersalm Nov 12, 2026
6f9f777
test(walletconnect): use a fresh timestamped relay request ID
andersalm Nov 12, 2026
4e52409
Merge remote-tracking branch 'origin/develop' into feat/575-walletcon…
andersalm Nov 12, 2026
8da20d8
fix(walletconnect): serve only the pinned SDK beyond browser assets (…
andersalm Nov 13, 2026
e402672
Merge remote-tracking branch 'origin/develop' into feat/575-walletcon…
andersalm Nov 13, 2026
bef2c77
test(walletconnect): keep relay-auth encoding dependency after develo…
andersalm Nov 13, 2026
a8e099b
test(walletconnect): reproduce capsule Storage parity against both en…
andersalm Nov 13, 2026
10992f0
fix(walletconnect): match native Storage prototype and reserved names
andersalm Nov 13, 2026
df68a38
test(walletconnect): configure isolated source gateway SDK fixture
andersalm Nov 13, 2026
ab06406
test(walletconnect): prove preferences leave native storage empty
andersalm Nov 13, 2026
30d1311
test(walletconnect): use enclosing gateway fixture constants
andersalm Nov 13, 2026
c58831c
test(walletconnect): exercise opaque-frame real relay preflight
andersalm Nov 13, 2026
a655068
test(walletconnect): share capsule fixture helper and keep peer stora…
andersalm Nov 13, 2026
78bc8b8
test(walletconnect): preserve the first capsule admission failure
andersalm Nov 13, 2026
e638f11
test(walletconnect): require capsule-owned storage and opaque relay a…
andersalm Nov 13, 2026
19cbd4a
fix(walletconnect): bind capsule storage relay and signing to its liv…
andersalm Nov 13, 2026
7eb93ac
fix(walletconnect): import the connector actor in the auth gateway
andersalm Nov 13, 2026
f49b9da
test(walletconnect): exercise paired recovery through real capsule ro…
andersalm Nov 13, 2026
ec2148f
test(walletconnect): refuse Home authority at its valid browser origin
andersalm Nov 13, 2026
752daf0
test(walletconnect): preserve the pinned pairing URI parameters
andersalm Nov 13, 2026
dc4993f
test(walletconnect): cover all capsule authority routes and close soc…
andersalm Nov 13, 2026
c6f40ce
test(walletconnect): record protocol persistence across every recover…
andersalm Nov 13, 2026
22297c6
test(walletconnect): restart the source gateway in a fresh process
andersalm Nov 13, 2026
9639f21
test(walletconnect): retain production capsule documents across worke…
andersalm Nov 13, 2026
b94673a
test(walletconnect): prove rendered QR pixels and retain relay phase …
andersalm Nov 13, 2026
cfa0739
test(walletconnect): expose the capsule frame and poll recovery indep…
andersalm Nov 13, 2026
b6c0269
feat(walletconnect): run signing in the opaque connector and guide in…
andersalm Nov 13, 2026
4c6a449
fix(walletconnect): retire Home authority and clear revoked capsule s…
andersalm Nov 13, 2026
a7f9742
docs(walletconnect): describe capsule custody and keep one dependency…
andersalm Nov 13, 2026
1612427
test(walletconnect): retain safe WebKit handshake errors and route re…
andersalm Nov 13, 2026
65d7f27
test(walletconnect): use the layout smoke assertion helper for recovery
andersalm Nov 13, 2026
089fbb3
fix(walletconnect): preserve typed requests and isolate SDK storage g…
andersalm Nov 13, 2026
c7195ee
fix(walletconnect): reuse owner consent and fence sessions after cleanup
andersalm Nov 13, 2026
da308d1
fix(walletconnect): sync the Object provider lock with Runtime relay …
andersalm Nov 13, 2026
b825182
fix(walletconnect): serialize cleanup across processes and keep retry…
andersalm Nov 13, 2026
8f8104a
test(walletconnect): classify WebKit upgrade refusals without recordi…
andersalm Nov 13, 2026
6b616f5
fix(walletconnect): simplify cleanup conditions for the Rust lint gate
andersalm Nov 13, 2026
2750cea
fix(walletconnect): retain protected-content signing and bound sessio…
andersalm Nov 13, 2026
7adcd62
fix(walletconnect): place lifecycle unit tests after production items
andersalm Nov 13, 2026
fc42aec
fix(walletconnect): validate shared Exit config and preserve Browser …
andersalm Nov 13, 2026
0a00a76
fix(walletconnect): admit the exact opaque WebKit relay handshake
andersalm Nov 13, 2026
f244c52
fix(walletconnect): retain sent hashes and bind connector effects to …
andersalm Nov 13, 2026
69c4114
fix(walletconnect): retire only the last removed accounts owner pairing
andersalm Nov 13, 2026
6e98ed0
fix(walletconnect): scope release project input to a private file
andersalm Nov 13, 2026
ff35e83
test(walletconnect): exercise native Exit and the real Inbox return h…
andersalm Nov 13, 2026
fa9644a
fix(walletconnect): expose launch checks through the gateway boundary
andersalm Nov 13, 2026
4ee7401
fix(walletconnect): share native Browser socket naming without a Node…
andersalm Nov 13, 2026
c43bc4e
test(walletconnect): prove malformed writes reach their intended guards
andersalm Nov 13, 2026
3c5174e
test(walletconnect): bind storage cleanup and verify stale revision r…
andersalm Nov 13, 2026
dd19937
test(walletconnect): use proof-bound launches in positive config fixt…
andersalm Nov 13, 2026
1b806b9
fix(walletconnect): bound late send completion and expire abandoned p…
andersalm Nov 13, 2026
4aaaa79
fix(walletconnect): preserve unrelated Object provider dependency pins
andersalm Nov 13, 2026
65d8ce9
test(walletconnect): carry the project file through release packaging
andersalm Nov 13, 2026
3e4bff7
fix(walletconnect): keep connector config owner-only in release archives
andersalm Nov 13, 2026
0e0f80b
fix(exit): remove the import moved with shared validation
andersalm Nov 13, 2026
0f40cf0
test(walletconnect): wait for restored subscriptions and isolate engi…
andersalm Nov 13, 2026
85c6524
fix(walletconnect): accept the pinned SDK numeric chain identifier
andersalm Nov 13, 2026
fd82004
fix(walletconnect): preserve upstream licence bytes in diff checks
andersalm Nov 14, 2026
d64301a
test(exit): place parser unit tests in the shared library target
andersalm Nov 14, 2026
d325839
test(walletconnect): use canonical owned cleanup fixture roots
andersalm Nov 14, 2026
779e675
test(exit): retain provider parse error code coverage
andersalm Nov 14, 2026
4950163
test(wallet): wait for ready connector controls before clicking
andersalm Nov 14, 2026
5318a19
test(wallet): preserve settings continuity during ready connector act…
andersalm Nov 14, 2026
9d9a3de
fix(walletconnect): select relay Exit by Browser helper readiness
andersalm Nov 14, 2026
1cd1ecf
test(walletconnect): use release behavior proof instead of YAML text
andersalm Nov 14, 2026
861a83a
fix(wallet): dismiss approved connector transactions and release slots
andersalm Nov 14, 2026
fd75fb0
build(exit): keep HTTP client out of parser consumers
andersalm Nov 14, 2026
500b581
test(walletconnect): exercise real WebKit relay ticket admission
andersalm Nov 14, 2026
ae0d2b3
test(walletconnect): prove default installed connector availability
andersalm Nov 14, 2026
12a66b0
test(walletconnect): bind installed proof to its setup manifest
andersalm Nov 14, 2026
e68e44f
test(walletconnect): open owned Runtime log before spawning
andersalm Nov 14, 2026
09c58bf
fix(wallet): expose Reject for unfinished connector sends
andersalm Nov 14, 2026
09a330f
build(object): sync parser-only Exit dependency lock
andersalm Nov 14, 2026
a88027a
test(wallet): exercise dismissal through visible Activity control
andersalm Nov 14, 2026
e17488a
test(walletconnect): include pinned SDK in install smoke archives
andersalm Nov 14, 2026
76979dc
test(wallet): cover dismissal after a replacement Runtime session
andersalm Nov 14, 2026
17e2c8a
fix(wallet): dismiss owned approved sends after signing in again
andersalm Nov 14, 2026
ca4c8e1
test(wallet): show earlier-session sends with current launch authority
andersalm Nov 14, 2026
f5e777d
docs(wallet): state relay backend precedence and dismissal ownership
andersalm Nov 14, 2026
8ca1e7a
test(walletconnect): prove web policy before managed CLI startup
andersalm Nov 14, 2026
98e7774
test(walletconnect): wait for the Home gateway health route
andersalm Nov 14, 2026
0d93404
fix(home): refuse unconfigured connector before package repair
andersalm Nov 14, 2026
f2df198
test(home): describe the seeded connector repair fixture
andersalm Nov 14, 2026
96ed059
test(install): stage the current source Home in its own fixture
andersalm Nov 14, 2026
342fb1c
test(home): prove explicit setup repair of a missing CLI renderer
andersalm Nov 14, 2026
154bc46
test(home): wait for the current CLI frame during refresh
andersalm Nov 14, 2026
4107185
Merge remote-tracking branch 'origin/develop' into feat/575-walletcon…
andersalm Nov 14, 2026
27c8074
fix(wallet): scope unfinished sends and show dismissed receipts
andersalm Nov 15, 2026
b46409f
fix(wallet): preserve approval state in gateway responses
andersalm Nov 15, 2026
d21140a
fix(wallet): restrict dismissal and retain one late send receipt
andersalm Nov 15, 2026
a08f39e
fix(walletconnect): preserve Exit routing on refresh
andersalm Nov 15, 2026
46e543f
fix(home): verify connector SDK off the async handler
andersalm Nov 15, 2026
6d12889
test(wallet): cover dismissed receipts and connector badge scope
andersalm Nov 15, 2026
409b99b
fix(wallet): keep the full late receipt hash visible
andersalm Nov 15, 2026
abb375d
test(inbox): preserve approved-send dismissal in the provider fixture
andersalm Nov 15, 2026
27ea863
test(wallet): measure phone receipts after the drawer opens
andersalm Nov 15, 2026
6cb263b
fix(wallet): preserve approved MetaMask sends on stale rejection
andersalm Nov 15, 2026
8e4a8ef
fix(wallet): distinguish dismissal and late wallet sends
andersalm Nov 15, 2026
b1284fa
style(wallet): format the stale-card regression
andersalm Nov 15, 2026
06f9115
test(wallet): run receipt layout proof in the product browser suite
andersalm Nov 15, 2026
6ba77f7
fix(walletconnect): show the late-send receipt in the connector note
andersalm Nov 15, 2026
6e66733
fix(walletconnect): cache SDK verification off async threads
andersalm Nov 15, 2026
e5772ea
fix(walletconnect): preserve missing SDK configuration errors
andersalm Nov 15, 2026
3e6002b
Merge origin/develop into WalletConnect review branch
andersalm Nov 15, 2026
5492bad
fix(wallet): show the current dismissal result for stale cards
andersalm Nov 15, 2026
225d87f
test(wallet): run the Wallet layout smoke last
andersalm Nov 15, 2026
a87343b
test(walletconnect): isolate SDK cache reuse from other Homes
andersalm Nov 15, 2026
ad15ce6
fix(walletconnect): hash inline and recover a poisoned SDK cache
andersalm Nov 15, 2026
ff56887
fix(walletconnect): offload inventory verification and cache hash fai…
andersalm Nov 15, 2026
db92f19
fix(walletconnect): bind SDK stamps and hashing to one file handle
andersalm Nov 15, 2026
4658c79
fix(wallet): use one dismissal reason and audit event on owner surfaces
andersalm Nov 15, 2026
ce86a5a
test(wallet): refresh the request module and dismissal fixture contract
andersalm Nov 15, 2026
cba4812
fix(wallet): bind dismissal feedback to the current receipt state
andersalm Nov 15, 2026
1c9cf51
fix(runtime): bind async inventory results before matching
andersalm Nov 15, 2026
4cd5a73
test(walletconnect): wait for file stamp ticks in cache tests
andersalm Nov 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ third-party/selkies/patches/*.patch -whitespace
# Unified diff uses a single space for an unchanged blank context line.
# Applied Rust is checked separately by formatting and target tests.
scripts/build/crosvm-lifecycle-fds.patch whitespace=-blank-at-eol
# Minified upstream template literals retain meaningful whitespace in the bundle.
capsules/wallet-walletconnect/vendor/reown-appkit.js -whitespace linguist-generated=true
# This file keeps upstream licence bytes verbatim.
capsules/wallet-walletconnect/vendor/LICENSES.txt -whitespace conflict-marker-size=32
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -912,14 +912,6 @@ jobs:
scripts/setup-source-home.sh 2>&1 | tee "${RUNNER_TEMP}/source-home-logs/setup-source-home.log"
ELASTOS_DATA_DIR="${XDG_DATA_HOME}/elastos" \
scripts/installed-provider-verify.sh 2>&1 | tee "${RUNNER_TEMP}/source-home-logs/installed-provider-verify.log"
- name: local-carrier setup smoke
env:
ELASTOS_LLAMA_AMD64_BUNDLE: ${{ runner.temp }}/llama-amd64-bundle/llama-b10516-bin-ubuntu22.04-amd64-cpu.tar.gz
ELASTOS_LLAMA_ARM64_BUNDLE: ${{ runner.temp }}/llama-arm64-bundle/llama-b10516-bin-ubuntu22.04-arm64-cpu.tar.gz
run: |
set -euo pipefail
mkdir -p "${RUNNER_TEMP}/source-home-logs"
scripts/local-carrier-setup-smoke.sh 2>&1 | tee "${RUNNER_TEMP}/source-home-logs/local-carrier-setup-smoke.log"
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: '24'
Expand All @@ -933,6 +925,14 @@ jobs:
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: '26'
- name: local-carrier setup smoke
env:
ELASTOS_LLAMA_AMD64_BUNDLE: ${{ runner.temp }}/llama-amd64-bundle/llama-b10516-bin-ubuntu22.04-amd64-cpu.tar.gz
ELASTOS_LLAMA_ARM64_BUNDLE: ${{ runner.temp }}/llama-arm64-bundle/llama-b10516-bin-ubuntu22.04-arm64-cpu.tar.gz
run: |
set -euo pipefail
mkdir -p "${RUNNER_TEMP}/source-home-logs"
scripts/local-carrier-setup-smoke.sh 2>&1 | tee "${RUNNER_TEMP}/source-home-logs/local-carrier-setup-smoke.log"
- name: prepare signed SmolLM2 fixture
timeout-minutes: 20
env:
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,18 @@ jobs:
retention-days: 7
- name: build N, then N+1 with N's support, each in fresh Cargo directories
timeout-minutes: 240
env:
REOWN_PROJECT_ID: ${{ secrets.REOWN_PROJECT_ID }}
run: |
set -euo pipefail
umask 077
if [[ -n "${REOWN_PROJECT_ID:-}" ]]; then
export ELASTOS_WALLETCONNECT_PROJECT_FILE
ELASTOS_WALLETCONNECT_PROJECT_FILE=$(mktemp "$RUNNER_TEMP/wc-project.XXXXXX")
trap 'rm -f -- "$ELASTOS_WALLETCONNECT_PROJECT_FILE"' EXIT
python3 -I -S -c 'import os; p=os.environ["ELASTOS_WALLETCONNECT_PROJECT_FILE"]; f=open(p,"w"); os.fchmod(f.fileno(),0o600); f.write(os.environ["REOWN_PROJECT_ID"]); f.close()'
fi
unset REOWN_PROJECT_ID
export CARGO_HOME="${CARGO_HOME:-$HOME/.cargo}" RUSTUP_HOME="${RUSTUP_HOME:-$HOME/.rustup}"
inputs="$RELEASE_ROOT/inputs"
# Fresh Cargo directories for each version; removed after each build.
Expand Down Expand Up @@ -428,9 +437,18 @@ jobs:
path: ${{ runner.temp }}/llama-arm64-bundle
- name: build N, then N+1 with N's support, each in fresh Cargo directories
timeout-minutes: 240
env:
REOWN_PROJECT_ID: ${{ secrets.REOWN_PROJECT_ID }}
run: |
set -euo pipefail
umask 077
if [[ -n "${REOWN_PROJECT_ID:-}" ]]; then
export ELASTOS_WALLETCONNECT_PROJECT_FILE
ELASTOS_WALLETCONNECT_PROJECT_FILE=$(mktemp "$RUNNER_TEMP/wc-project.XXXXXX")
trap 'rm -f -- "$ELASTOS_WALLETCONNECT_PROJECT_FILE"' EXIT
python3 -I -S -c 'import os; p=os.environ["ELASTOS_WALLETCONNECT_PROJECT_FILE"]; f=open(p,"w"); os.fchmod(f.fileno(),0o600); f.write(os.environ["REOWN_PROJECT_ID"]); f.close()'
fi
unset REOWN_PROJECT_ID
export CARGO_HOME="${CARGO_HOME:-$HOME/.cargo}" RUSTUP_HOME="${RUSTUP_HOME:-$HOME/.rustup}"
export ELASTOS_LLAMA_AMD64_BUNDLE="$RUNNER_TEMP/llama-amd64-bundle/llama-b10516-bin-ubuntu22.04-amd64-cpu.tar.gz"
export ELASTOS_LLAMA_ARM64_BUNDLE="$RUNNER_TEMP/llama-arm64-bundle/llama-b10516-bin-ubuntu22.04-arm64-cpu.tar.gz"
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,6 @@ scripts/dev/dkms-docker/shared

# Local rehearsal and review output; never part of the repository.
/output/

# Operator WalletConnect config is staged into release archives, outside source.
/capsules/wallet-walletconnect/vendor/connector.json
7 changes: 6 additions & 1 deletion capsules/exit-provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,16 @@ license = "MIT"
[[bin]]
name = "exit-provider"
path = "src/main.rs"
required-features = ["http"]

[features]
default = ["http"]
http = ["dep:ureq"]

[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
ureq = "2"
ureq = { version = "2", optional = true }
url = "2"

[dev-dependencies]
Expand Down
Loading
Loading