Skip to content

refactor(truapi): sign personhood through PersonhoodSigner - #1435

Merged
pgherveou merged 3 commits into
mainfrom
refactor/personhood-signer
Oct 15, 2026
Merged

pgherveou merged 3 commits into
mainfrom
refactor/personhood-signer

Conversation

@pgherveou

@pgherveou pgherveou commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Adds PersonhoodSigner (member key, alias, ring proof) instead of letting every call site derive these from the raw personhood entropy. Until now each allocator received the raw entropy and derived them itself, so the secret travelled through the allocation code and every caller had to hand it over.

Whoever holds the keys implements the signer, so a wallet can answer these calls without giving out its entropy.

For now callers build a FixedPersonhoodSigner from the entropy they hold; later the wallet will own the signer and pass it in.

@github-actions github-actions Bot added the rust Pull requests that update rust code label Oct 15, 2026
@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Bundle size report

Compared with main at 679ca10.

Raw Gzip Brotli
truapi-host 7.89 MiB (-4.6 KiB, -0.1%) 5.66 MiB (-1.6 KiB) 5.39 MiB (-1.4 KiB)
truapi-provider 4.03 MiB (+2.7 KiB, +0.1%) 1.27 MiB (+142 B) 960.9 KiB (+790 B, +0.1%)
truapi 6.30 MiB 891.5 KiB 730.0 KiB
Total 18.22 MiB (-1.9 KiB) 7.80 MiB (-1.4 KiB) 7.04 MiB (-690 B)

WebAssembly modules

Raw Gzip Brotli
truapi-host/wasm/web/truapi_server_bg.wasm 2.78 MiB (-4.6 KiB, -0.2%) 990.8 KiB (-1.6 KiB, -0.2%) 746.3 KiB (-1.6 KiB, -0.2%)
truapi-host/wasm/web/truapi_verifiable_bg.wasm 4.89 MiB (-13 B) 4.64 MiB (+60 B) 4.61 MiB (+129 B)
truapi-provider/truapi_provider_bg.wasm 3.99 MiB (+2.7 KiB, +0.1%) 1.26 MiB (+142 B) 953.1 KiB (+785 B, +0.1%)
Changed files (3)
Raw Gzip Brotli
truapi-host/wasm/web/truapi_server_bg.wasm 2.78 MiB (-4.6 KiB, -0.2%) 990.8 KiB (-1.6 KiB, -0.2%) 746.3 KiB (-1.6 KiB, -0.2%)
truapi-provider/truapi_provider_bg.wasm 3.99 MiB (+2.7 KiB, +0.1%) 1.26 MiB (+142 B) 953.1 KiB (+785 B, +0.1%)
truapi-host/wasm/web/truapi_verifiable_bg.wasm 4.89 MiB (-13 B) 4.64 MiB (+60 B) 4.61 MiB (+129 B)

Commit: baf6ade

@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

CI Status: 24 required jobs green, 21 passed and 3 skipped by path filter.

All job results
job result
android-bindings success
bundle-size success
changes success
changeset-guard success
cli-package success
codegen success
e2e skipped
explorer success
headless-install success
host-android-bindings success
host-android-detekt success
host-wasm success
ios-bindings success
ios-swift success
licenses success
playground success
provider-android-bindings skipped
release-guard success
rust success
ts-client success
ts-debugger success
ts-host success
wasm-provider success
workflow-lint skipped

Signing credentials: failure as of 2026-10-15, a release may fail

Commit baf6ade7 · run log

Comment thread rust/crates/truapi/src/runtime/signing_host/sso_responder.rs
Comment thread rust/crates/truapi/src/runtime/signing_host/sso_responder.rs
Comment thread rust/crates/truapi/src/runtime/signing_host/sso_responder.rs
@pgherveou
pgherveou marked this pull request as ready for review October 15, 2026 10:41
@pgherveou
pgherveou requested a review from a team October 15, 2026 10:41
@pgherveou
pgherveou enabled auto-merge October 15, 2026 11:24
@pgherveou
pgherveou added this pull request to the merge queue Oct 15, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 15, 2026

@filvecchiato filvecchiato left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one nit

Comment thread rust/crates/truapi/src/runtime/statement_allowance/renewal.rs Outdated

@valentinfernandez1 valentinfernandez1 left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@valentinfernandez1
valentinfernandez1 self-requested a review October 15, 2026 17:31
@pgherveou
pgherveou added this pull request to the merge queue Oct 15, 2026
Merged via the queue into main with commit 81008a4 Oct 15, 2026
44 checks passed
@pgherveou
pgherveou deleted the refactor/personhood-signer branch October 15, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants