Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

57.8 KB
Raw Blame
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]-->
<!DOCTYPE html>
<html>
<head>
<title>4-key-hierarchy</title>
<meta charset="utf-8"/>
</head>
<body>
<div class="mxgraph" style="max-width:100%;border:1px solid transparent;" data-mxgraph="{&quot;highlight&quot;:&quot;#0000ff&quot;,&quot;nav&quot;:true,&quot;resize&quot;:true,&quot;xml&quot;:&quot;&lt;mxfile host=\&quot;Electron\&quot; agent=\&quot;drawio_gen.py\&quot;&gt;\n  &lt;diagram name=\&quot;4-key-hierarchy\&quot; id=\&quot;4-key-hierarchy\&quot;&gt;\n    &lt;mxGraphModel dx=\&quot;1951\&quot; dy=\&quot;1351\&quot; grid=\&quot;1\&quot; gridSize=\&quot;10\&quot; guides=\&quot;1\&quot; tooltips=\&quot;1\&quot; connect=\&quot;1\&quot; arrows=\&quot;1\&quot; fold=\&quot;1\&quot; page=\&quot;1\&quot; pageScale=\&quot;1\&quot; pageWidth=\&quot;1654\&quot; pageHeight=\&quot;60\&quot; math=\&quot;0\&quot; shadow=\&quot;0\&quot;&gt;\n      &lt;root&gt;\n        &lt;mxCell id=\&quot;0\&quot; /&gt;\n        &lt;mxCell id=\&quot;1\&quot; parent=\&quot;0\&quot; /&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-1\&quot; parent=\&quot;1\&quot; style=\&quot;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;spacingTop=2;absoluteArcSize=1;arcSize=36;\&quot; value=\&quot;AliasVault client (web app / browser extension / mobile app): everything in this frame runs on the device\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;1050\&quot; width=\&quot;1570\&quot; x=\&quot;40\&quot; y=\&quot;30\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-2\&quot; parent=\&quot;1\&quot; style=\&quot;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;absoluteArcSize=1;arcSize=24;\&quot; value=\&quot;Account unlock method: master password\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;980\&quot; width=\&quot;400\&quot; x=\&quot;70\&quot; y=\&quot;70\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-3\&quot; parent=\&quot;1\&quot; style=\&quot;shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=light-dark(#e3c800,#e3c800);fontColor=light-dark(#000000,#000000);strokeColor=light-dark(#B09500,#B09500);\&quot; value=\&quot;Master password (never persisted, never sent)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;50\&quot; width=\&quot;300\&quot; x=\&quot;120\&quot; y=\&quot;110\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-4\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=light-dark(#76608a,#76608a);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#432D57,#432D57);\&quot; value=\&quot;Argon2id: 64 MiB, 5 iterations, parallelism 1\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;60\&quot; width=\&quot;150\&quot; x=\&quot;195\&quot; y=\&quot;200\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-6\&quot; parent=\&quot;1\&quot; style=\&quot;shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=light-dark(#e3c800,#e3c800);fontColor=light-dark(#000000,#000000);strokeColor=light-dark(#B09500,#B09500);\&quot; value=\&quot;Unlock key (32 bytes, app memory only)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;50\&quot; width=\&quot;300\&quot; x=\&quot;120\&quot; y=\&quot;300\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-7\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=light-dark(#76608a,#76608a);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#432D57,#432D57);\&quot; value=\&quot;HKDF-SHA256 info = &amp;amp;quot;AliasVault SRP v1&amp;amp;quot;\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;50\&quot; width=\&quot;170\&quot; x=\&quot;100\&quot; y=\&quot;400\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-8\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=light-dark(#76608a,#76608a);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#432D57,#432D57);\&quot; value=\&quot;HKDF-SHA256 info = &amp;amp;quot;AliasVault KEK v1&amp;amp;quot;\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;50\&quot; width=\&quot;170\&quot; x=\&quot;285\&quot; y=\&quot;400\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-9\&quot; parent=\&quot;1\&quot; style=\&quot;shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=light-dark(#e3c800,#e3c800);fontColor=light-dark(#000000,#000000);strokeColor=light-dark(#B09500,#B09500);\&quot; value=\&quot;SRP input (hex)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;50\&quot; width=\&quot;170\&quot; x=\&quot;100\&quot; y=\&quot;490\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-10\&quot; parent=\&quot;1\&quot; style=\&quot;shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=light-dark(#e3c800,#e3c800);fontColor=light-dark(#000000,#000000);strokeColor=light-dark(#B09500,#B09500);\&quot; value=\&quot;KEK: Key Encryption Key &amp;lt;br&amp;gt;(app memory only)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;50\&quot; width=\&quot;170\&quot; x=\&quot;285\&quot; y=\&quot;490\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-11\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=light-dark(#76608a,#76608a);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#432D57,#432D57);\&quot; value=\&quot;SRP-6a client (RFC 5054 group 2048, SHA-256)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;50\&quot; width=\&quot;170\&quot; x=\&quot;100\&quot; y=\&quot;580\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-12\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=left;verticalAlign=top;whiteSpace=wrap;rounded=0;fontSize=11;fontColor=#555555;\&quot; value=\&quot;SRP proves the password to the server without sending it. The SRP input and the KEK are independent: neither can be calculated from the other, or back to the unlock key.\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;130\&quot; width=\&quot;170\&quot; x=\&quot;290\&quot; y=\&quot;580\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-13\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-3\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;\&quot; target=\&quot;key-hierarchy-4\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; x=\&quot;-0.1364\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-14\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-4\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;\&quot; target=\&quot;key-hierarchy-6\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;Array as=\&quot;points\&quot; /&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-15\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-6\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.216;exitY=1.016;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitPerimeter=0;\&quot; target=\&quot;key-hierarchy-7\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-16\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;\&quot; target=\&quot;key-hierarchy-8\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;Array as=\&quot;points\&quot;&gt;\n              &lt;mxPoint x=\&quot;370\&quot; y=\&quot;349.6\&quot; /&gt;\n            &lt;/Array&gt;\n            &lt;mxPoint x=\&quot;370\&quot; y=\&quot;350\&quot; as=\&quot;sourcePoint\&quot; /&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-17\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-7\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;\&quot; target=\&quot;key-hierarchy-9\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-18\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-8\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;\&quot; target=\&quot;key-hierarchy-10\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-19\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-9\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;\&quot; target=\&quot;key-hierarchy-11\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-20\&quot; parent=\&quot;1\&quot; style=\&quot;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;absoluteArcSize=1;arcSize=24;\&quot; value=\&quot;Account Key and what it protects\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;980\&quot; width=\&quot;520\&quot; x=\&quot;500\&quot; y=\&quot;70\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;kh-group-vek\&quot; parent=\&quot;1\&quot; style=\&quot;rounded=1;arcSize=24;whiteSpace=wrap;html=1;verticalAlign=top;align=left;spacingLeft=8;spacingTop=-2;fontSize=11;fontStyle=1;fillColor=none;dashed=1;strokeColor=light-dark(#888888,#888888);absoluteArcSize=1;\&quot; value=\&quot;Personal vault key (VEK)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;215\&quot; width=\&quot;235\&quot; x=\&quot;770\&quot; y=\&quot;95\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;kh-group-signing\&quot; parent=\&quot;1\&quot; style=\&quot;rounded=1;arcSize=24;whiteSpace=wrap;html=1;verticalAlign=top;align=left;spacingLeft=8;spacingTop=-2;fontSize=11;fontStyle=1;fillColor=none;dashed=1;strokeColor=light-dark(#888888,#888888);absoluteArcSize=1;\&quot; value=\&quot;Account signing keypair (Ed25519)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;240\&quot; width=\&quot;235\&quot; x=\&quot;770\&quot; y=\&quot;320\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;kh-group-rsa\&quot; parent=\&quot;1\&quot; style=\&quot;rounded=1;arcSize=24;whiteSpace=wrap;html=1;verticalAlign=top;align=left;spacingLeft=8;spacingTop=-2;fontSize=11;fontStyle=1;fillColor=none;dashed=1;strokeColor=light-dark(#888888,#888888);absoluteArcSize=1;\&quot; value=\&quot;Account encryption keypair (RSA-2048)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;225\&quot; width=\&quot;235\&quot; x=\&quot;770\&quot; y=\&quot;570\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;kh-group-shared\&quot; parent=\&quot;1\&quot; style=\&quot;rounded=1;arcSize=24;whiteSpace=wrap;html=1;verticalAlign=top;align=left;spacingLeft=8;spacingTop=-2;fontSize=11;fontStyle=1;fillColor=none;dashed=1;strokeColor=light-dark(#888888,#888888);absoluteArcSize=1;\&quot; value=\&quot;Shared vaults: one grant per vault\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;135\&quot; width=\&quot;490\&quot; x=\&quot;515\&quot; y=\&quot;820\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-21\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=light-dark(#76608a,#76608a);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#432D57,#432D57);\&quot; value=\&quot;AES-256-GCM aad = &amp;amp;quot;aliasvault/v1/account-key&amp;amp;quot;\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;50\&quot; width=\&quot;200\&quot; x=\&quot;535\&quot; y=\&quot;490\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-22\&quot; parent=\&quot;1\&quot; style=\&quot;shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=light-dark(#e3c800,#e3c800);fontColor=light-dark(#000000,#000000);strokeColor=light-dark(#B09500,#B09500);\&quot; value=\&quot;Account Key (AK): &amp;lt;br&amp;gt;random 256-bit key created at registration\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;60\&quot; width=\&quot;200\&quot; x=\&quot;535\&quot; y=\&quot;394\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-23\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-10\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;\&quot; target=\&quot;key-hierarchy-21\&quot; value=\&quot;encrypts\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; x=\&quot;-0.1429\&quot; y=\&quot;15\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;mxPoint as=\&quot;offset\&quot; /&gt;\n            &lt;Array as=\&quot;points\&quot;&gt;\n              &lt;mxPoint x=\&quot;480\&quot; y=\&quot;515\&quot; /&gt;\n            &lt;/Array&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-24\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-22\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;\&quot; target=\&quot;key-hierarchy-21\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-25\&quot; parent=\&quot;1\&quot; style=\&quot;shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fillColor=light-dark(#1ba1e2,#1ba1e2);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#006EAF,#006EAF);container=0;\&quot; value=\&quot;Encrypted Account Key (AK)&amp;lt;br&amp;gt;(server: UserUnlockMethod, one row per account unlock method; today the master password)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;90\&quot; width=\&quot;200\&quot; x=\&quot;535\&quot; y=\&quot;580\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-26\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-21\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;\&quot; target=\&quot;key-hierarchy-25\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-27\&quot; parent=\&quot;1\&quot; style=\&quot;shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=light-dark(#e3c800,#e3c800);fontColor=light-dark(#000000,#000000);strokeColor=light-dark(#B09500,#B09500);\&quot; value=\&quot;Personal vault VEK &amp;lt;br&amp;gt;(random 256-bit)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;45\&quot; width=\&quot;200\&quot; x=\&quot;787\&quot; y=\&quot;118\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-28\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=light-dark(#76608a,#76608a);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#432D57,#432D57);\&quot; value=\&quot;AES-256-GCM aad = &amp;amp;quot;aliasvault/v1/vek&amp;amp;quot;\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;40\&quot; width=\&quot;200\&quot; x=\&quot;787\&quot; y=\&quot;175\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-29\&quot; parent=\&quot;1\&quot; style=\&quot;shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fillColor=light-dark(#1ba1e2,#1ba1e2);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#006EAF,#006EAF);container=0;\&quot; value=\&quot;Encrypted VEK &amp;lt;br&amp;gt;(server: VaultManifestAccessKey)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;72\&quot; width=\&quot;200\&quot; x=\&quot;787\&quot; y=\&quot;227\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;ypq86mg9ateFgdhVyAOT-3\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-30\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;\&quot; target=\&quot;key-hierarchy-31\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-30\&quot; parent=\&quot;1\&quot; style=\&quot;shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=light-dark(#e3c800,#e3c800);fontColor=light-dark(#000000,#000000);strokeColor=light-dark(#B09500,#B09500);\&quot; value=\&quot;Account RSA-2048 private key (JWK)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;45\&quot; width=\&quot;200\&quot; x=\&quot;787\&quot; y=\&quot;593\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-31\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=light-dark(#76608a,#76608a);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#432D57,#432D57);\&quot; value=\&quot;AES-256-GCM aad = &amp;amp;quot;aliasvault/v1/account-private-key&amp;amp;quot;\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;40\&quot; width=\&quot;200\&quot; x=\&quot;787\&quot; y=\&quot;650\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-32\&quot; parent=\&quot;1\&quot; style=\&quot;shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fillColor=light-dark(#1ba1e2,#1ba1e2);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#006EAF,#006EAF);container=0;\&quot; value=\&quot;Encrypted private key + plaintext public key (server: UserGrantKey)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;82\&quot; width=\&quot;200\&quot; x=\&quot;787\&quot; y=\&quot;702\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-33\&quot; parent=\&quot;1\&quot; style=\&quot;shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=light-dark(#e3c800,#e3c800);fontColor=light-dark(#000000,#000000);strokeColor=light-dark(#B09500,#B09500);\&quot; value=\&quot;Account Ed25519 signing key &amp;lt;br&amp;gt;(32-byte seed)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;45\&quot; width=\&quot;200\&quot; x=\&quot;787\&quot; y=\&quot;343\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-34\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=light-dark(#76608a,#76608a);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#432D57,#432D57);\&quot; value=\&quot;AES-256-GCM aad = &amp;amp;quot;aliasvault/v1/account-signing-private-key&amp;amp;quot;\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;50\&quot; width=\&quot;200\&quot; x=\&quot;787\&quot; y=\&quot;400\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-35\&quot; parent=\&quot;1\&quot; style=\&quot;shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fillColor=light-dark(#1ba1e2,#1ba1e2);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#006EAF,#006EAF);container=0;\&quot; value=\&quot;Encrypted signing key + public key + signature over the RSA public key (server: UserSigningKey)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;88\&quot; width=\&quot;200\&quot; x=\&quot;787\&quot; y=\&quot;462\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-36\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-27\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;\&quot; target=\&quot;key-hierarchy-28\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-37\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-28\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;\&quot; target=\&quot;key-hierarchy-29\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-40\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-33\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;\&quot; target=\&quot;key-hierarchy-34\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-41\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-34\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;\&quot; target=\&quot;key-hierarchy-35\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-42\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-22\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.75;exitY=0;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;\&quot; target=\&quot;key-hierarchy-28\&quot; value=\&quot;encrypts\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; x=\&quot;-0.608\&quot; y=\&quot;10\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;mxPoint as=\&quot;offset\&quot; /&gt;\n            &lt;Array as=\&quot;points\&quot;&gt;\n              &lt;mxPoint x=\&quot;685\&quot; y=\&quot;370\&quot; /&gt;\n              &lt;mxPoint x=\&quot;762\&quot; y=\&quot;370\&quot; /&gt;\n              &lt;mxPoint x=\&quot;762\&quot; y=\&quot;195\&quot; /&gt;\n            &lt;/Array&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-43\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-22\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.75;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;\&quot; target=\&quot;key-hierarchy-31\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; x=\&quot;-0.3899\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;Array as=\&quot;points\&quot;&gt;\n              &lt;mxPoint x=\&quot;685\&quot; y=\&quot;470\&quot; /&gt;\n              &lt;mxPoint x=\&quot;762\&quot; y=\&quot;470\&quot; /&gt;\n              &lt;mxPoint x=\&quot;762\&quot; y=\&quot;670\&quot; /&gt;\n            &lt;/Array&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;bxflAvL8VEhFoLxBXdQm-2\&quot; connectable=\&quot;0\&quot; parent=\&quot;key-hierarchy-43\&quot; style=\&quot;edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];\&quot; value=\&quot;encrypts\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; x=\&quot;-0.5975\&quot; y=\&quot;-1\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;mxPoint x=\&quot;7\&quot; y=\&quot;-17\&quot; as=\&quot;offset\&quot; /&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-44\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-22\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.951;exitY=0.519;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitPerimeter=0;\&quot; target=\&quot;key-hierarchy-34\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; x=\&quot;0.2698\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;Array as=\&quot;points\&quot; /&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;bxflAvL8VEhFoLxBXdQm-1\&quot; connectable=\&quot;0\&quot; parent=\&quot;key-hierarchy-44\&quot; style=\&quot;edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];\&quot; value=\&quot;encrypts\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; x=\&quot;-0.2698\&quot; y=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;mxPoint x=\&quot;4\&quot; y=\&quot;-14\&quot; as=\&quot;offset\&quot; /&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-45\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=left;verticalAlign=top;whiteSpace=wrap;rounded=0;fontSize=11;fontColor=#555555;\&quot; value=\&quot;A password change re-encrypts only the Account Key under the new KEK; the keys below it stay the same.\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;110\&quot; width=\&quot;200\&quot; x=\&quot;535\&quot; y=\&quot;680\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-47\&quot; parent=\&quot;1\&quot; style=\&quot;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;absoluteArcSize=1;arcSize=24;\&quot; value=\&quot;Device unlock methods: each keeps its own encrypted Account Key copy on the device only\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;980\&quot; width=\&quot;530\&quot; x=\&quot;1050\&quot; y=\&quot;70\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-48\&quot; parent=\&quot;1\&quot; style=\&quot;shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=light-dark(#e3c800,#e3c800);fontColor=light-dark(#000000,#000000);strokeColor=light-dark(#B09500,#B09500);\&quot; value=\&quot;Account Key, taken from an unlocked session when the method is set up\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;40\&quot; width=\&quot;490\&quot; x=\&quot;1070\&quot; y=\&quot;117\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-50\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=light-dark(#76608a,#76608a);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#432D57,#432D57);\&quot; value=\&quot;Biometrics (mobile): &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Device keychain / keystore key, biometric-bound, hardware-backed\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;150\&quot; width=\&quot;150\&quot; x=\&quot;1070\&quot; y=\&quot;180\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-51\&quot; parent=\&quot;1\&quot; style=\&quot;shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fillColor=light-dark(#1ba1e2,#1ba1e2);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#006EAF,#006EAF);container=0;\&quot; value=\&quot;AK encrypted with the device key (app container)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;95\&quot; width=\&quot;150\&quot; x=\&quot;1070\&quot; y=\&quot;350\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-52\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-48\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.153;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;\&quot; target=\&quot;key-hierarchy-50\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-53\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-50\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;\&quot; target=\&quot;key-hierarchy-51\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-54\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=light-dark(#76608a,#76608a);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#432D57,#432D57);\&quot; value=\&quot;PIN (mobile, extension):&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Argon2id (random 16-byte salt; 64 MiB, 3 iterations), then AES-256-GCM\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;150\&quot; width=\&quot;150\&quot; x=\&quot;1240\&quot; y=\&quot;180\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-55\&quot; parent=\&quot;1\&quot; style=\&quot;shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fillColor=light-dark(#1ba1e2,#1ba1e2);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#006EAF,#006EAF);container=0;\&quot; value=\&quot;AK encrypted with the PIN key; wiped after 4 failed attempts\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;95\&quot; width=\&quot;150\&quot; x=\&quot;1240\&quot; y=\&quot;350\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-56\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-48\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;\&quot; target=\&quot;key-hierarchy-54\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-57\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-54\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;\&quot; target=\&quot;key-hierarchy-55\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-58\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=light-dark(#76608a,#76608a);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#432D57,#432D57);\&quot; value=\&quot;Passkey unlock (web app): &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Key from the passkey&amp;#39;s PRF extension, then AES-256-GCM\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;150\&quot; width=\&quot;150\&quot; x=\&quot;1410\&quot; y=\&quot;180\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-59\&quot; parent=\&quot;1\&quot; style=\&quot;shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fillColor=light-dark(#1ba1e2,#1ba1e2);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#006EAF,#006EAF);container=0;\&quot; value=\&quot;AK encrypted with the PRF key (browser local storage)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;95\&quot; width=\&quot;150\&quot; x=\&quot;1410\&quot; y=\&quot;350\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-60\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-48\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.847;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;\&quot; target=\&quot;key-hierarchy-58\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-61\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-58\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;\&quot; target=\&quot;key-hierarchy-59\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-66\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=left;verticalAlign=top;whiteSpace=wrap;rounded=0;fontSize=11;fontColor=#555555;\&quot; value=\&quot;iOS: Keychain item, kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly, biometryCurrentSet. Android: AndroidKeyStore AES-GCM key, setUserAuthenticationRequired, AUTH_BIOMETRIC_STRONG, setInvalidatedByBiometricEnrollment.\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;60\&quot; width=\&quot;490\&quot; x=\&quot;1070\&quot; y=\&quot;460\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-67\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=left;verticalAlign=top;whiteSpace=wrap;rounded=0;fontSize=11;fontColor=#555555;\&quot; value=\&quot;Every unlock walks the same chain from the Account Key down: VEK, account private key and signing key become available together. Device unlock methods keep working after a password change.\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;70\&quot; width=\&quot;490\&quot; x=\&quot;1070\&quot; y=\&quot;525\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-68\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=left;verticalAlign=top;whiteSpace=wrap;rounded=0;fontSize=11;fontColor=#555555;\&quot; value=\&quot;What the server never sees in plaintext: master password, unlock key, SRP input, KEK, Account Key, VEK, account private key, signing private key.\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;50\&quot; width=\&quot;490\&quot; x=\&quot;1070\&quot; y=\&quot;580\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-69\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=left;verticalAlign=top;whiteSpace=wrap;rounded=0;fontSize=11;fontColor=#555555;\&quot; value=\&quot;While unlocked, the extension and web app keep the Account Key only in session memory (storage.session / in-memory map) and remove it on lock; mobile keeps the vault encrypted on disk and the Account Key behind the keychain or PIN.\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;80\&quot; width=\&quot;490\&quot; x=\&quot;1070\&quot; y=\&quot;630\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-70\&quot; parent=\&quot;1\&quot; style=\&quot;rounded=1;whiteSpace=wrap;html=1;verticalAlign=top;fontStyle=1;spacingTop=2;absoluteArcSize=1;arcSize=36;\&quot; value=\&quot;AliasVault server (REST API): stores only the encrypted forms above plus the SRP salt and verifier\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;143\&quot; width=\&quot;1570\&quot; x=\&quot;40\&quot; y=\&quot;1107\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-71\&quot; parent=\&quot;1\&quot; style=\&quot;shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fillColor=light-dark(#1ba1e2,#1ba1e2);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#006EAF,#006EAF);container=0;\&quot; value=\&quot;SRP salt / verifier (UserSrpCredentials)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;70\&quot; width=\&quot;170\&quot; x=\&quot;100\&quot; y=\&quot;1147\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-72\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-11\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;\&quot; target=\&quot;key-hierarchy-71\&quot; value=\&quot;Login &amp;lt;br&amp;gt;handshake\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; x=\&quot;-0.265\&quot; y=\&quot;45\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;mxPoint as=\&quot;offset\&quot; /&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-73\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=light-dark(#76608a,#76608a);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#432D57,#432D57);\&quot; value=\&quot;SRP server verification\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;70\&quot; width=\&quot;170\&quot; x=\&quot;320\&quot; y=\&quot;1147\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-74\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-71\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;\&quot; target=\&quot;key-hierarchy-73\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-75\&quot; parent=\&quot;1\&quot; style=\&quot;rounded=0;whiteSpace=wrap;html=1;fillColor=light-dark(#60a917,#60a917);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#2D7600,#2D7600);\&quot; value=\&quot;Issue JWT access + refresh token\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;70\&quot; width=\&quot;170\&quot; x=\&quot;740\&quot; y=\&quot;1147\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-76\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;aDk-n_Pre-Fjtsm59q7s-1\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;\&quot; target=\&quot;key-hierarchy-75\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-77\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=left;verticalAlign=top;whiteSpace=wrap;rounded=0;fontSize=11;fontColor=#555555;\&quot; value=\&quot;Key storage: &amp;lt;br&amp;gt;- UserUnlockMethod (encrypted AK + KDF settings, one per account unlock method; device unlock methods keep a copy on the device)&amp;lt;div&amp;gt;- VaultManifestAccessKey (encrypted VEK per manifest)&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;- UserGrantKey (RSA public key, encrypted private key)&amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;- UserSigningKey (Ed25519 public key + signature over the RSA public key, encrypted private key)&amp;lt;/div&amp;gt;\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;90\&quot; width=\&quot;671.5\&quot; x=\&quot;928.5\&quot; y=\&quot;1142\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-78\&quot; parent=\&quot;1\&quot; style=\&quot;shape=image;aspect=fixed;image=data:image/svg+xml,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MDAgNTAwIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJtNDU5Ljg3IDI5NC45NWMwLjAxNjIwNSA1LjQwMDUgMC4wMzI0MSAxMC44MDEtMC4zNTAyMiAxNi44NzMtMS4xMTEgNi4zMzkyLTEuMTk0MSAxMi4xNzMtMi42MzUxIDE3LjY0OS0xMC45MjIgNDEuNTA4LTM2LjczMSA2OS40ODEtNzcuMzUxIDgzLjQwOC03LjIxNTcgMi40NzM5LTE0Ljk3MiAzLjM3MDItMjIuNDc5IDQuOTk1LTIzLjYyOSAwLjA0MjIwNS00Ny4yNTcgMC4xMTQ1My03MC44ODYgMC4xMjAyNy00Ni43NjIgMC4wMTEzMjItOTMuNTIzLTAuMDE0MTYtMTQwLjk1LTAuNDM0MTEtOC41OS0yLjAwMjQtMTYuNzY2LTIuODM1Mi0yNC4zOTgtNS4zMzI2LTIxLjU5NS03LjA2NjYtMzkuNTIzLTE5LjY1Ni01My43MDgtMzcuNTUyLTEwLjIyNy0xMi45MDMtMTcuNTc5LTI3LjE3LTIxLjI4LTQzLjIyMS0xLjQ3NS02LjM5NjctMi40NzExLTEyLjkwNC0zLjY4NTItMTkuMzYxLTAuMDUxODQ5LTUuNzQ3LTAuMTAzNy0xMS40OTQgMC4yNjkxNS0xNy44ODYgNC4xNTktNDIuOTczIDI3LjY4LTcxLjYzOCA2My41NjItOTIuMTUzIDAtMC43MDc2MS0wLjAwMTk2MS0xLjY5ODggMy4xMmUtNCAtMi42OSAwLjAyMjQ4NC05LjgyOTMtMS4zMDcxLTE5Ljg5NCAwLjM1NjY0LTI5LjQzOCAzLjIzOTEtMTguNTc5IDExLjA4LTM1LjI3MiAyMy43NjMtNDkuNzczIDEyLjA5OC0xMy44MzIgMjYuNDU3LTIzLjk4OSA0My42MDktMzAuMDI5IDcuODEzLTIuNzUxMiAxNi4xNC00LjA0MTcgMjQuMjM0LTUuOTk0OCA3LjM5Mi0wLjAyNTczNCAxNC43ODQtMC4wNTE0NiAyMi44MzUgMC4zMjI1MyA0LjE5NTkgMC45NTM5MiA3Ljc5NDYgMS4yNTM4IDExLjI1OCAyLjEwNTMgMTcuMTYgNC4yMTkyIDMyLjI4NyAxMi4xNzYgNDUuNDY5IDI0LjEwNCAyLjI1NTggMi4wNDExIDQuMzcyIDYuNjI0MSA5LjYyMSAzLjg2OCAxNi44MzktOC44NDE5IDM0LjcxOC0xMS41OTcgNTMuNjAzLTguNTk0IDE2Ljc5MSAyLjY2OTkgMzEuNjAyIDkuNDMwOCA0NC4yMzYgMjAuNjM2IDExLjUzMSAxMC4yMjcgMTkuODQgMjIuODQxIDI1LjM5MyAzNy4yMzYgNi4zNDM2IDE2LjQ0NSAxMC4zODkgMzMuMTYzIDYuMDc5OCA0OS4zODkgNy45NTg3IDguOTMyMSAxNS44MDcgMTYuNzA0IDIyLjQyMSAyNS40MTQgOS4xNjIgMTIuMDY1IDE1LjMzIDI1Ljc0NiAxOC4xNDQgNDAuNzc2IDAuOTcwNDYgNS4xODQ4IDEuOTExMSAxMC4zNzUgMi44NjU0IDE1LjU2M20tNzEuNTk3IDcxLjAxMmM1LjU2MTUtNS4yMjg0IDEyLjAwMi05Ljc5ODYgMTYuNTA4LTE1LjgxNyAxMC40NzQtMTMuOTkyIDE0LjMzMy0yOS45MTYgMTEuMjg4LTQ3LjQ0Ni0yLjI0OTYtMTIuOTUtOC4xOTczLTI0LjA3Ni0xNy4yNDMtMzMuMDYzLTEyLjc0Ni0xMi42NjMtMjguODY1LTE4LjYxNC00Ni43ODYtMTguNTY5LTY5LjkxMiAwLjE3NzEyLTEzOS44MiAwLjU2ODMxLTIwOS43NCAwLjk2MTc2LTE1LjkyMiAwLjA4OTU5OS0yOS4xNjggNy40MjA5LTM5LjY4NSAxOC4yOTYtMTQuNDUgMTQuOTQ0LTIwLjQwOCAzMy4zNDMtMTYuNjU1IDU0LjM2OCAyLjI3NjMgMTIuNzU0IDguMjE2NyAyMy43NDggMTcuMTU4IDMyLjY2IDEzLjI5OSAxMy4yNTUgMzAuMDk3IDE4LjY1MyA0OC43MjggMTguNjUxIDU5LjMyMS0wLjAwNTE4OCAxMTguNjQgMC4wNDIzNTggMTc3Ljk2LTAuMDQ2NjAxIDkuNTkxMi0wLjAxNDM3NCAxOS4xODEtMC44NjU4OCAyOC43NzMtMC44ODg1NSAxMC42NDktMC4wMjUxNDYgMTkuOTc4LTMuODI1IDI5LjY4Ny05LjEwNzR6IiBmaWxsPSIjRUVDMTcwIi8+CjxwYXRoIGQ9Im0xNjIuNzcgMjkzYzE1LjY1NCA0LjM4ODMgMjAuNjI3IDIyLjk2NyAxMC4zMDQgMzQuOTgtNS4zMTA0IDYuMTc5NS0xNC44MTcgOC4zMjA4LTI0LjI3OCA1LjA0NzItNy4wNzIzLTIuNDQ3MS0xMi4zMzItMTAuMzYyLTEyLjg3Ni0xNy45MzMtMS4wNDUxLTE0LjU0MiAxMS4wODktMjMuMTc2IDIxLjcwNS0yMy4wNDYgMS41Nzk0IDAuMDE5Mjg3IDMuMTUxNyAwLjYxNTY2IDUuMTQ2MSAwLjk1MTg0eiIgZmlsbD0iI0VFQzE3MCIvPgo8cGF0aCBkPSJtMjI3LjE4IDI5My42NGM3Ljg0OTkgMi4zOTczIDExLjkzOCA4LjIxNDMgMTMuNTI0IDE1LjA3NyAxLjg1OTEgOC4wNDM5LTAuNDQ4MTcgMTUuNzA2LTcuMTU4OCAyMS4xMjEtNi43NjMzIDUuNDU3Mi0xNC40MTcgNi44Nzk0LTIyLjU3OCAzLjE0ODMtOC4yOTcyLTMuNzkzMy0xMi44MzYtMTAuODQ5LTEyLjczNi0xOS40MzggMC4xNjg3LTE0LjQ5NyAxNC4xMy0yNS4zNjggMjguOTQ4LTE5LjkwOHoiIGZpbGw9IiNFRUMxNzAiLz4KPHBhdGggZD0ibTI2MS41NyAzMTkuMDdjLTIuNDk1LTE0LjQxOCA0LjY4NTMtMjIuNjAzIDE0LjU5Ni0yNi4xMDggOS44OTQ1LTMuNDk5NSAyMy4xODEgMy40MzAzIDI2LjI2NyAxMy43NzkgNC42NTA0IDE1LjU5MS03LjE2NTEgMjkuMDY0LTIxLjY2NSAyOC4xNjEtOC41MjU0LTAuNTMwODgtMTcuMjAyLTYuNTA5NC0xOS4xOTgtMTUuODMxeiIgZmlsbD0iI0VFQzE3MCIvPgo8cGF0aCBkPSJtMzM2LjkxIDMzMy40MWMtOS4wMTc1LTQuMjQ5MS0xNS4zMzctMTQuMzQ5LTEzLjgyOS0yMS42ODIgMy4wODI1LTE0Ljk4OSAxMy4zNDEtMjAuMzA0IDIzLjAxOC0xOS41ODUgMTAuNjUzIDAuNzkxNDEgMTcuOTMgNy40MDcgMTkuNzY1IDE3LjU0NyAxLjk1ODggMTAuODI0LTQuMTE3MSAxOS45MzktMTMuNDk0IDIzLjcwMy01LjI3MiAyLjExNjItMTAuMDkxIDEuNTA4Ni0xNS40NiAwLjAxNzg4M3oiIGZpbGw9IiNFRUMxNzAiLz4KPC9zdmc+Cg==;\&quot; value=\&quot;\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry x=\&quot;60\&quot; y=\&quot;1290\&quot; height=\&quot;58\&quot; width=\&quot;58\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-79\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=left;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=24;fontStyle=1\&quot; value=\&quot;AliasVault\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry x=\&quot;120\&quot; y=\&quot;1292\&quot; height=\&quot;40\&quot; width=\&quot;240\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-80\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=left;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;\&quot; value=\&quot;Key hierarchy 0.31.0\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry x=\&quot;120\&quot; y=\&quot;1320\&quot; height=\&quot;30\&quot; width=\&quot;240\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-81\&quot; parent=\&quot;1\&quot; style=\&quot;shape=table;startSize=30;container=1;collapsible=0;childLayout=tableLayout;fontSize=16;align=left;verticalAlign=top;fillColor=light-dark(#0050ef,#0050ef);strokeColor=light-dark(#001DBC,#001DBC);fontColor=light-dark(#ffffff,#ffffff);fontStyle=1;spacingLeft=6;spacing=0;resizable=0;\&quot; value=\&quot;Legend\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry x=\&quot;310\&quot; y=\&quot;1289\&quot; height=\&quot;60\&quot; width=\&quot;723\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-82\&quot; parent=\&quot;key-hierarchy-81\&quot; style=\&quot;shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;strokeColor=inherit;top=0;left=0;bottom=0;right=0;collapsible=0;dropTarget=0;fillColor=none;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;\&quot; value=\&quot;\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;30\&quot; width=\&quot;723\&quot; y=\&quot;30\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-83\&quot; parent=\&quot;key-hierarchy-82\&quot; style=\&quot;shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=light-dark(#432D57,#432D57);overflow=hidden;fillColor=light-dark(#76608a,#76608a);top=0;left=0;bottom=0;right=0;pointerEvents=1;fontSize=12;align=left;fontColor=light-dark(#ffffff,#ffffff);spacingLeft=10;spacingRight=4;\&quot; value=\&quot;Cryptographic Operations\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;30\&quot; width=\&quot;163\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;mxRectangle height=\&quot;30\&quot; width=\&quot;163\&quot; as=\&quot;alternateBounds\&quot; /&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-84\&quot; parent=\&quot;key-hierarchy-82\&quot; style=\&quot;shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=light-dark(#006EAF,#006EAF);overflow=hidden;fillColor=light-dark(#1ba1e2,#1ba1e2);top=0;left=0;bottom=0;right=0;pointerEvents=1;fontSize=12;align=left;fontColor=light-dark(#ffffff,#ffffff);spacingLeft=10;spacingRight=4;\&quot; value=\&quot;Storage Elements\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;30\&quot; width=\&quot;120\&quot; x=\&quot;163\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;mxRectangle height=\&quot;30\&quot; width=\&quot;120\&quot; as=\&quot;alternateBounds\&quot; /&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-85\&quot; parent=\&quot;key-hierarchy-82\&quot; style=\&quot;shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=light-dark(#B09500,#B09500);overflow=hidden;fillColor=light-dark(#e3c800,#e3c800);top=0;left=0;bottom=0;right=0;pointerEvents=1;fontSize=12;align=left;fontColor=light-dark(#000000,#000000);spacingLeft=10;spacingRight=4;\&quot; value=\&quot;Keys and Sensitive Data\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;30\&quot; width=\&quot;170\&quot; x=\&quot;283\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;mxRectangle height=\&quot;30\&quot; width=\&quot;170\&quot; as=\&quot;alternateBounds\&quot; /&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-86\&quot; parent=\&quot;key-hierarchy-82\&quot; style=\&quot;shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=light-dark(#2D7600,#2D7600);overflow=hidden;fillColor=light-dark(#60a917,#60a917);top=0;left=0;bottom=0;right=0;pointerEvents=1;fontSize=12;align=left;fontColor=light-dark(#ffffff,#ffffff);spacingLeft=10;spacingRight=4;\&quot; value=\&quot;Authentication Steps\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;30\&quot; width=\&quot;150\&quot; x=\&quot;453\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;mxRectangle height=\&quot;30\&quot; width=\&quot;150\&quot; as=\&quot;alternateBounds\&quot; /&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;key-hierarchy-87\&quot; parent=\&quot;key-hierarchy-82\&quot; style=\&quot;shape=partialRectangle;html=1;whiteSpace=wrap;connectable=0;strokeColor=light-dark(#6D1F00,#6D1F00);overflow=hidden;fillColor=light-dark(#a0522d,#a0522d);top=0;left=0;bottom=0;right=0;pointerEvents=1;fontSize=12;align=left;fontColor=light-dark(#ffffff,#ffffff);spacingLeft=10;spacingRight=4;\&quot; value=\&quot;Process step\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;30\&quot; width=\&quot;120\&quot; x=\&quot;603\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;mxRectangle height=\&quot;30\&quot; width=\&quot;120\&quot; as=\&quot;alternateBounds\&quot; /&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;aDk-n_Pre-Fjtsm59q7s-2\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-73\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;\&quot; target=\&quot;aDk-n_Pre-Fjtsm59q7s-1\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;mxPoint x=\&quot;490\&quot; y=\&quot;1182\&quot; as=\&quot;sourcePoint\&quot; /&gt;\n            &lt;mxPoint x=\&quot;740\&quot; y=\&quot;1182\&quot; as=\&quot;targetPoint\&quot; /&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;aDk-n_Pre-Fjtsm59q7s-1\&quot; parent=\&quot;1\&quot; style=\&quot;rounded=0;whiteSpace=wrap;html=1;fillColor=light-dark(#60a917,#60a917);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#2D7600,#2D7600);\&quot; value=\&quot;Optional TOTP 2FA\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;70\&quot; width=\&quot;170\&quot; x=\&quot;530\&quot; y=\&quot;1147\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;kh-grant-store\&quot; parent=\&quot;1\&quot; style=\&quot;shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;size=15;fillColor=light-dark(#1ba1e2,#1ba1e2);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#006EAF,#006EAF);container=0;\&quot; value=\&quot;Grant per shared vault: VEK encrypted with the account RSA public key (server: VaultManifestAccessKey)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;104\&quot; width=\&quot;160\&quot; x=\&quot;525\&quot; y=\&quot;841\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;kh-grant-decrypt\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=light-dark(#76608a,#76608a);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#432D57,#432D57);\&quot; value=\&quot;RSA-OAEP-SHA256 decrypt, label &amp;quot;aliasvault/v1/grant/ {manifestId}&amp;quot;\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;80\&quot; width=\&quot;145\&quot; x=\&quot;705\&quot; y=\&quot;850\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;kh-shared-vek\&quot; parent=\&quot;1\&quot; style=\&quot;shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fillColor=light-dark(#e3c800,#e3c800);fontColor=light-dark(#000000,#000000);strokeColor=light-dark(#B09500,#B09500);\&quot; value=\&quot;Shared vault VEK &amp;lt;br&amp;gt;(one per shared vault)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;50\&quot; width=\&quot;145\&quot; x=\&quot;855\&quot; y=\&quot;865\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;kh-vek-protects\&quot; parent=\&quot;1\&quot; style=\&quot;rounded=0;whiteSpace=wrap;html=1;align=left;verticalAlign=middle;spacingLeft=8;spacingRight=8;\&quot; value=\&quot;&amp;lt;b&amp;gt;Each VEK&amp;lt;/b&amp;gt; (the personal VEK above, or a shared vault VEK) protects its own vault: the manifest and data buckets, every blob key, and the vault&amp;#39;s delivery private key, which is stored inside the vault. See diagrams 3 and 4.\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;65\&quot; width=\&quot;490\&quot; x=\&quot;515\&quot; y=\&quot;967\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;kh-e-shared\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;kh-grant-decrypt\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;\&quot; target=\&quot;kh-shared-vek\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;kh-e-rsa\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-30\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;\&quot; target=\&quot;kh-grant-decrypt\&quot; value=\&quot;decrypts\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; x=\&quot;0.3565\&quot; y=\&quot;-10\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;mxPoint as=\&quot;offset\&quot; /&gt;\n            &lt;Array as=\&quot;points\&quot;&gt;\n              &lt;mxPoint x=\&quot;997\&quot; y=\&quot;615.5\&quot; /&gt;\n              &lt;mxPoint x=\&quot;997\&quot; y=\&quot;810\&quot; /&gt;\n              &lt;mxPoint x=\&quot;777.5\&quot; y=\&quot;810\&quot; /&gt;\n            &lt;/Array&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;kh-e-protects\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;kh-shared-vek\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.555;exitY=1.005;exitDx=0;exitDy=0;entryX=0.857;entryY=0;entryDx=0;entryDy=0;exitPerimeter=0;\&quot; target=\&quot;kh-vek-protects\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;Array as=\&quot;points\&quot; /&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;ypq86mg9ateFgdhVyAOT-2\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;key-hierarchy-31\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;\&quot; target=\&quot;key-hierarchy-32\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;ypq86mg9ateFgdhVyAOT-4\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;kh-grant-store\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.01;entryY=0.535;entryDx=0;entryDy=0;entryPerimeter=0;\&quot; target=\&quot;kh-grant-decrypt\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n      &lt;/root&gt;\n    &lt;/mxGraphModel&gt;\n  &lt;/diagram&gt;\n&lt;/mxfile&gt;\n&quot;,&quot;toolbar&quot;:&quot;zoom layers tags lightbox&quot;}"></div>
<script type="text/javascript" src="https://viewer.diagrams.net/js/viewer-static.min.js"></script>
</body>
</html>