Repository navigation
Interoperability conventions between Passport accounts and an external identity engine — offering shipped prior art #223
bytewizard42i
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello Passport Team and MIP maintainers,
I am John Santi (johnny5i), a Midnight Aliit Cohort-0 (inactive) & NightForce Bravo.
Alongside a small team I have been building a multi-faceted identity engine on Midnight, a set of Compact primitives and products (decentralised identifiers, real-world-asset titles, private contact exchange, agent identity) that compile today against compiler 0.31.1 with full ZK key generation.
Reading the Midnight Passport component canvases, it struck me how cleanly our two efforts compose rather than compete. Passport answers which key or device may act for an account, and how that account is recovered. Our engine answers who or what an entity is, whether it is currently alive and in good standing, and what has been attested about it. In our model a Passport account is naturally one kind of controller of a DIDz identity.
I would like to open a conversation about a handful of low-level conventions where early alignment costs nothing now but saves an adapter layer for every wallet and dApp later. Concretely, three:
Key-commitment derivation. We identify every principal as
persistentHash([domain_tag, secret_key]), authorising by preimage knowledge, your C9 authentication alternative A. If the domain tag and preimage layout for that scheme were standardised, a Passport device key and one of our identities could authorise against each other with no translation.Domain-separation tags. Prompted by your ADR 0001 and the domain-separation MPS, we now keep a registry of every hash tag we use, with a freeze-once-on-chain rule and versioning. We would gladly converge our scheme onto whatever the MPS ratifies and contribute our registry as a worked downstream example.
Per-context nullifiers. We use
persistentHash([nullifier_tag, secret, verifier_context])for one-per-person actions, your C21 alternative A, so the same person is replay-blocked within a context yet unlinkable across contexts.Where it is useful, I can also share compiling prior art for some of your open questions, in particular a ZK-attested scoped-grant primitive (operation × object × bounds, with chain-side enforcement) that maps onto your C10–C12, and a proof-of-life module encoding "permanent identity, renewable eligibility" that pairs with your C14 recovery work.
As a first concrete step, I have opened a small PR adding an Alternative E (m-of-n soulbound-attribute recovery, with an Ai-vouch factor) to the C14 recovery canvas, offered as input to MIP-4, deferring to your DeRec direction: midnightntwrk/passport#91.
A fuller technical overview of how our engine is structured is here: https://github.com/bytewizard42i/passport-johns-copy/blob/main/DIDz-Passport-Collaboration/07_DIDz-Engine-Architecture-Overview-for-Passport.md
I am offering context and working code, and asking whether it is worth comparing notes on these conventions before either side freezes them. "An oz. of prevention beats a lb. of cure"
I am hopeful that together we can create a comprehensive system that will revolutionize online interactions with privacy-preserving digital identity for the world's digital systems.
With thanks for the open component canvases, they made this easy to reason about.
Be well.
-John Santi (johnny5i)
cc https://github.com/hbulgarini
re: https://github.com/midnightntwrk/passport
All reactions