Files
trail-mate/docs/models/mesh-network-identity/identity-resolution.html
T

10 lines
913 B
HTML

<!doctype html><html lang="en"><head><meta charset="utf-8"><title>Local identity establishment and peer public key protection</title></head><body><main data-praxis-anchor="diagram:identity-resolution" data-praxis-kind="uml_diagram"><h1>Local identity establishment and peer public key protection</h1><pre class="mermaid">flowchart TD
Ensure[ensureLocalIdentity] --&gt; Load[local_store.load]
Load --&gt;|valid| Existing[return LocalIdentity]
Load --&gt;|missing or invalid| Random[generate private key]
Random --&gt; Save[local_store.save]
Remember[rememberPeerKey] --&gt; Current[peer_store.get]
Current --&gt; Guard{verified current + unverified different key?}
Guard --&gt;|yes| Deny[PermissionDenied]
Guard --&gt;|no| Put[peer_store.put PeerPublicKey]</pre><p>There are no Contact, IdentityLink or stable TeamMember in the diagram; they do not belong to the current core_mesh entity.</p></main></body></html>