docs(be,fe): design doc and implementation checklist for verified emails as a first-class II primitive#4027
Draft
MRmarioruci wants to merge 2 commits into
Draft
docs(be,fe): design doc and implementation checklist for verified emails as a first-class II primitive#4027MRmarioruci wants to merge 2 commits into
MRmarioruci wants to merge 2 commits into
Conversation
…ils as a first-class II primitive
…ied emails as parallel concepts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Internet Identity has a single recovery-email slot per anchor, verified through an inbound DKIM/DMARC/DNSSEC ownership-proof flow. Dapps can request
email/name/verified_emailattributes but only from linked OpenID/SSO sources — the recovery email is invisible to the attribute system. Users can't add multiple verified emails for any other purpose, and there's no way to share an email with a dapp that doesn't go through a third-party identity provider.This PR adds two design artifacts to start the conversation; no code changes.
Changes
Two new files under
docs/design/:verified-email-attributes.md— design doc. Proposes promoting "verified emails" to a first-class anchor primitive that supersedes the current single-slot recovery model, with three phases:verified:<H(address)>:emailscope.verified-email-implementation.md— operational checklist. File-path-level steps for implementers, with locked decisions stated up front (cap=5, wizard rename toemailVerification/, additive candid evolution, etc.) and a suggested PR breakdown for the eventual feature work.Both files cross-link to each other. The design doc explains why; the checklist is what to do.