Skip to content

Commit 474c2a6

Browse files
chore: sync II spec to dfinity/internet-identity release-2026-08-14 (#345)
## Summary Automated sync of the Internet Identity specification from `dfinity/internet-identity`. **Release:** `release-2026-08-14` (pinned from `c78d1b9` → `21ab317d`) **Changed upstream files:** - `src/internet_identity/internet_identity.did` - Ran `npm run sync:ii-spec` — regenerated `docs/references/internet-identity-spec.md` and `docs/references/verifiable-credentials-spec.md` - Build passed ✓ ## Checklist - [ ] Review the diff to `docs/references/internet-identity-spec.md` for content changes - [ ] Review the diff to `docs/references/verifiable-credentials-spec.md` for content changes - [ ] Check for new absolute `internetcomputer.org` link patterns (script exits non-zero if any were missed) - [ ] Verify any renamed or restructured sections are reflected correctly ## Sync recommendation `sync from dfinity/internet-identity — docs/ii-spec.mdx, docs/vc-spec.md, src/internet_identity/internet_identity.did` Co-authored-by: pr-automation-bot-public[bot] <pr-automation-bot-public[bot]@users.noreply.github.com>
1 parent 28db23d commit 474c2a6

3 files changed

Lines changed: 16 additions & 5 deletions

File tree

‎.sources/VERSIONS‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ motoko-core v2.4.0
6262
cdk-rs ic-cdk v0.20.1 / ic-cdk-timers v1.0.0 / ic-cdk-executor v2.0.0 317f55c
6363
candid 2025-12-18 # candid v0.10.20, didc v0.5.4 2e4a2cf
6464
response-verification v3.1.0 18c5a37
65-
internetidentity release-2026-08-07 c78d1b99
65+
internetidentity release-2026-08-14 21ab317d

‎.sources/internetidentity‎

Submodule internetidentity updated 83 files

‎public/references/internet-identity.did‎

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,6 +1026,13 @@ type IdentityInfo = record {
10261026
// shows a "limit reached" notice in the wizard when adding
10271027
// beyond the cap.
10281028
verified_emails : opt vec VerifiedEmail;
1029+
// The anchor's synced trusted-MCP-server config (absent when the
1030+
// anchor never wrote one). Carried here rather than read from the
1031+
// mcp_get_config query so the Settings UI has a certified value to
1032+
// render and to base its writes on: identity_info is an update
1033+
// call, so its response is certified through consensus, whereas a
1034+
// query reply a single malicious node could forge is not.
1035+
mcp_config : opt McpConfig;
10291036
};
10301037

10311038
type IdentityInfoError = variant {
@@ -1876,9 +1883,13 @@ service : (opt InternetIdentityInit) -> {
18761883

18771884
// Read the identity's synced trusted-MCP-server config (master toggle + the
18781885
// trusted server URL). Persisted on-chain, so it follows the identity across
1879-
// devices. Read by the Settings UI and the /mcp connect flow (which verifies
1880-
// the connecting origin against it). Returns the disabled, no-server default
1881-
// for an unauthorized caller or an anchor that never wrote a config.
1886+
// devices. Being a query, the reply is signed by a single node: the /mcp
1887+
// connect flow uses it only to pick which screen to show, and gates delivery
1888+
// on the certified trusted_url from prepare_mcp_registration_delegation.
1889+
// Callers that render trust, or write the config back, take it from
1890+
// IdentityInfo.mcp_config on the identity_info update call instead. Returns
1891+
// the disabled, no-server default for an unauthorized caller or an anchor
1892+
// that never wrote a config.
18821893
// `null` means the identity has never written a config — distinct from a
18831894
// stored one that is switched off. The two behave differently at /mcp: the
18841895
// first may connect the deployment's official connector (completing the

0 commit comments

Comments
 (0)