Skip to content

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

36.0 KB
Raw Blame
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=5,IE=9" ><![endif]-->
<!DOCTYPE html>
<html>
<head>
<title>9-login-with-mobile</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;9-login-with-mobile\&quot; id=\&quot;9-login-with-mobile\&quot;&gt;\n    &lt;mxGraphModel dx=\&quot;2290\&quot; dy=\&quot;1586\&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;860\&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;login-with-mobile-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;Requesting client (web app or browser extension), locked or logged out\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;690\&quot; width=\&quot;480\&quot; x=\&quot;40\&quot; y=\&quot;30\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-2\&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\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;690\&quot; width=\&quot;560\&quot; x=\&quot;560\&quot; y=\&quot;30\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-3\&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;Mobile app, unlocked\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;490\&quot; width=\&quot;450\&quot; x=\&quot;1160\&quot; y=\&quot;90\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-4\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;\&quot; value=\&quot;1. Initiate\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;25\&quot; width=\&quot;200\&quot; x=\&quot;60\&quot; y=\&quot;85\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;IBCTjj0nz_KBka4e3rdP-3\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;login-with-mobile-5\&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;login-with-mobile-8\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-5\&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;Generate a one-time RSA-2048 keypair (private key in memory only)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;60\&quot; width=\&quot;240\&quot; x=\&quot;80\&quot; y=\&quot;125\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;IBCTjj0nz_KBka4e3rdP-4\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;login-with-mobile-6\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.75;exitDx=0;exitDy=0;entryX=0.75;entryY=0;entryDx=0;entryDy=0;dashed=1;\&quot; target=\&quot;login-with-mobile-26\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; x=\&quot;0.0081\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;Array as=\&quot;points\&quot;&gt;\n              &lt;mxPoint x=\&quot;590\&quot; y=\&quot;170\&quot; /&gt;\n              &lt;mxPoint x=\&quot;540\&quot; y=\&quot;170\&quot; /&gt;\n              &lt;mxPoint x=\&quot;540\&quot; y=\&quot;340\&quot; /&gt;\n              &lt;mxPoint x=\&quot;260\&quot; y=\&quot;340\&quot; /&gt;\n            &lt;/Array&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;IBCTjj0nz_KBka4e3rdP-5\&quot; connectable=\&quot;0\&quot; parent=\&quot;IBCTjj0nz_KBka4e3rdP-4\&quot; style=\&quot;edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];\&quot; value=\&quot;poll secret\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; x=\&quot;0.2233\&quot; y=\&quot;-1\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;mxPoint y=\&quot;11\&quot; as=\&quot;offset\&quot; /&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-6\&quot; parent=\&quot;1\&quot; style=\&quot;rounded=0;whiteSpace=wrap;html=1;fillColor=light-dark(#a0522d,#a0522d);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#6D1F00,#6D1F00);\&quot; value=\&quot;Create a request id and a poll secret; &amp;lt;br&amp;gt;keep only a hash of the poll secret\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;70\&quot; width=\&quot;230\&quot; x=\&quot;590\&quot; y=\&quot;120\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-7\&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;MobileLoginRequest: public key, poll secret hash, requester details (browser, OS, IP)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;90\&quot; width=\&quot;230\&quot; x=\&quot;850\&quot; y=\&quot;110\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-8\&quot; parent=\&quot;1\&quot; style=\&quot;rounded=0;whiteSpace=wrap;html=1;fillColor=light-dark(#a0522d,#a0522d);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#6D1F00,#6D1F00);\&quot; value=\&quot;Show a QR code: request id + SHA-256(public key), and a 2-digit code derived from the public key\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;75\&quot; width=\&quot;240\&quot; x=\&quot;80\&quot; y=\&quot;210\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-9\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;login-with-mobile-5\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.25;exitDx=0;exitDy=0;entryX=0;entryY=0.25;entryDx=0;entryDy=0;\&quot; value=\&quot;POST initiate: public key\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; x=\&quot;0.037\&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;320\&quot; y=\&quot;142.5\&quot; as=\&quot;sourcePoint\&quot; /&gt;\n            &lt;mxPoint x=\&quot;589.9999999999999\&quot; y=\&quot;140\&quot; as=\&quot;targetPoint\&quot; /&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-10\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;login-with-mobile-6\&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;entryPerimeter=0;\&quot; target=\&quot;login-with-mobile-7\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; x=\&quot;0.4\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-11\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;login-with-mobile-6\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=-0.002;exitY=0.71;exitDx=0;exitDy=0;entryX=1;entryY=0.25;entryDx=0;entryDy=0;exitPerimeter=0;dashed=1;\&quot; target=\&quot;login-with-mobile-8\&quot; value=\&quot;request id\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; x=\&quot;0.574\&quot; y=\&quot;-9\&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;455\&quot; y=\&quot;169.7\&quot; /&gt;\n              &lt;mxPoint x=\&quot;455\&quot; y=\&quot;228.8\&quot; /&gt;\n            &lt;/Array&gt;\n            &lt;mxPoint x=\&quot;705.24\&quot; y=\&quot;155\&quot; as=\&quot;sourcePoint\&quot; /&gt;\n            &lt;mxPoint x=\&quot;320.24\&quot; y=\&quot;240\&quot; as=\&quot;targetPoint\&quot; /&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-12\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;\&quot; value=\&quot;2. Scan and approve\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;25\&quot; width=\&quot;250\&quot; x=\&quot;1177.5\&quot; y=\&quot;190\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-13\&quot; parent=\&quot;1\&quot; style=\&quot;rounded=0;whiteSpace=wrap;html=1;fillColor=light-dark(#a0522d,#a0522d);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#6D1F00,#6D1F00);\&quot; value=\&quot;Scan the QR code; fetch the public key and requester details\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;60\&quot; width=\&quot;205\&quot; x=\&quot;1177.5\&quot; y=\&quot;218\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-14\&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;Check that SHA-256(public key) matches the hash in the QR code\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;60\&quot; width=\&quot;195\&quot; x=\&quot;1397.5\&quot; y=\&quot;218\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-15\&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;User picks the 2-digit code out of four options, then confirms with biometrics or PIN\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;85\&quot; width=\&quot;195\&quot; x=\&quot;1397.5\&quot; y=\&quot;302\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-16\&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: encrypt the Account Key to the public key, label &amp;amp;quot;aliasvault/v1/mobile-login/account-key&amp;amp;quot;\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;85\&quot; width=\&quot;205\&quot; x=\&quot;1177.5\&quot; y=\&quot;302\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-17\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;login-with-mobile-8\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;\&quot; target=\&quot;login-with-mobile-13\&quot; value=\&quot;QR code, scanned by the phone\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; x=\&quot;-0.0005\&quot; y=\&quot;-18\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;mxPoint y=\&quot;-36\&quot; as=\&quot;offset\&quot; /&gt;\n            &lt;Array as=\&quot;points\&quot; /&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-18\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;login-with-mobile-7\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; x=\&quot;0.0708\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;Array as=\&quot;points\&quot;&gt;\n              &lt;mxPoint x=\&quot;1340\&quot; y=\&quot;155\&quot; /&gt;\n              &lt;mxPoint x=\&quot;1340\&quot; y=\&quot;220\&quot; /&gt;\n            &lt;/Array&gt;\n            &lt;mxPoint x=\&quot;1340\&quot; y=\&quot;220\&quot; as=\&quot;targetPoint\&quot; /&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-19\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;login-with-mobile-13\&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;login-with-mobile-14\&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;login-with-mobile-20\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;login-with-mobile-14\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;\&quot; target=\&quot;login-with-mobile-15\&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;login-with-mobile-21\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;login-with-mobile-15\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;\&quot; target=\&quot;login-with-mobile-16\&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;IBCTjj0nz_KBka4e3rdP-2\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;login-with-mobile-22\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;\&quot; target=\&quot;login-with-mobile-27\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-22\&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 in the MobileLoginRequest, request marked approved\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;90\&quot; width=\&quot;230\&quot; x=\&quot;850\&quot; y=\&quot;377.5\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-23\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;login-with-mobile-16\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;\&quot; target=\&quot;login-with-mobile-22\&quot; value=\&quot;POST submit\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; x=\&quot;-0.0099\&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;1140\&quot; y=\&quot;344.5\&quot; /&gt;\n              &lt;mxPoint x=\&quot;1140\&quot; y=\&quot;422.5\&quot; /&gt;\n            &lt;/Array&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-24\&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;Binding: the QR hash and the 2-digit code both come from the requesting client&amp;#39;s public key, so the server cannot swap in a key of its own and a request started by someone else is not approved by accident.\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;75\&quot; width=\&quot;410\&quot; x=\&quot;1179.5\&quot; y=\&quot;401\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-25\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;\&quot; value=\&quot;3. Poll and retrieve\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;25\&quot; width=\&quot;250\&quot; x=\&quot;60\&quot; y=\&quot;365\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-26\&quot; parent=\&quot;1\&quot; style=\&quot;rounded=0;whiteSpace=wrap;html=1;fillColor=light-dark(#a0522d,#a0522d);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#6D1F00,#6D1F00);\&quot; value=\&quot;Poll every few seconds with the poll secret\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;55\&quot; width=\&quot;240\&quot; x=\&quot;80\&quot; y=\&quot;395\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-27\&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;Once approved: create a new session (JWT access + refresh token)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;65\&quot; width=\&quot;230\&quot; x=\&quot;580\&quot; y=\&quot;390\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-28\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;login-with-mobile-26\&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;login-with-mobile-27\&quot; value=\&quot;POST poll: poll secret\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; y=\&quot;12\&quot; as=\&quot;geometry\&quot;&gt;\n            &lt;mxPoint y=\&quot;-1\&quot; as=\&quot;offset\&quot; /&gt;\n          &lt;/mxGeometry&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-29\&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;Random AES-256-GCM key encrypts the tokens, username and Argon2id settings; that key is RSA-OAEP encrypted to the public key\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;90\&quot; width=\&quot;230\&quot; x=\&quot;580\&quot; y=\&quot;490\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-30\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;login-with-mobile-27\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;\&quot; target=\&quot;login-with-mobile-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;login-with-mobile-31\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;login-with-mobile-22\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;\&quot; target=\&quot;login-with-mobile-29\&quot; value=\&quot;\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; x=\&quot;0.0038\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-32\&quot; parent=\&quot;1\&quot; style=\&quot;rounded=0;whiteSpace=wrap;html=1;fillColor=light-dark(#a0522d,#a0522d);fontColor=light-dark(#ffffff,#ffffff);strokeColor=light-dark(#6D1F00,#6D1F00);\&quot; value=\&quot;Mark the request retrieved; delete the public key and the encrypted Account Key\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;60\&quot; width=\&quot;230\&quot; x=\&quot;580\&quot; y=\&quot;610\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-33\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;login-with-mobile-29\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;\&quot; target=\&quot;login-with-mobile-32\&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;login-with-mobile-34\&quot; parent=\&quot;1\&quot; style=\&quot;text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;\&quot; value=\&quot;4. Decrypt\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;25\&quot; width=\&quot;200\&quot; x=\&quot;60\&quot; y=\&quot;462\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-35\&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;With the one-time private key: &amp;lt;br&amp;gt;RSA-OAEP decrypt the Account Key (label &amp;quot;aliasvault/v1/mobile-login/account-key&amp;quot;) &amp;lt;br&amp;gt;and the payload key, then AES-256-GCM decrypt the tokens\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;90\&quot; width=\&quot;240\&quot; x=\&quot;80\&quot; y=\&quot;490\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-36\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;login-with-mobile-29\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;\&quot; target=\&quot;login-with-mobile-35\&quot; value=\&quot;one-time response\&quot;&gt;\n          &lt;mxGeometry relative=\&quot;1\&quot; y=\&quot;15\&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;login-with-mobile-37\&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;unlocks the rest of the key hierarchy, &amp;lt;br&amp;gt;as after a password login (section 4)\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;65\&quot; width=\&quot;240\&quot; x=\&quot;80\&quot; y=\&quot;605\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-38\&quot; edge=\&quot;1\&quot; parent=\&quot;1\&quot; source=\&quot;login-with-mobile-35\&quot; style=\&quot;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;\&quot; target=\&quot;login-with-mobile-37\&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;login-with-mobile-39\&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;The one-time private key only exists in memory and is discarded after decryption.\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;30\&quot; width=\&quot;420\&quot; x=\&quot;80\&quot; y=\&quot;680\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-40\&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;Initiation is rate limited per IP address. A request must be approved within 3 minutes and retrieved within 1 minute after approval, and only once. The server never sees the Account Key or the payload key in plaintext.\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry height=\&quot;110\&quot; width=\&quot;270\&quot; x=\&quot;830\&quot; y=\&quot;590\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-41\&quot; parent=\&quot;1\&quot; style=\&quot;shape=image;aspect=fixed;image=data:image/svg+x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Njg3LTE0LjQ5NyAxNC4xMy0yNS4zNjggMjguOTQ4LTE5LjkwOHoiIGZpbGw9IiNFRUMxNzAiLz4KPHBhdGggZD0ibTI2MS41NyAzMTkuMDdjLTIuNDk1LTE0LjQxOCA0LjY4NTMtMjIuNjAzIDE0LjU5Ni0yNi4xMDggOS44OTQ1LTMuNDk5NSAyMy4xODEgMy40MzAzIDI2LjI2NyAxMy43NzkgNC42NTA0IDE1LjU5MS03LjE2NTEgMjkuMDY0LTIxLjY2NSAyOC4xNjEtOC41MjU0LTAuNTMwODgtMTcuMjAyLTYuNTA5NC0xOS4xOTgtMTUuODMxeiIgZmlsbD0iI0VFQzE3MCIvPgo8cGF0aCBkPSJtMzM2LjkxIDMzMy40MWMtOS4wMTc1LTQuMjQ5MS0xNS4zMzctMTQuMzQ5LTEzLjgyOS0yMS42ODIgMy4wODI1LTE0Ljk4OSAxMy4zNDEtMjAuMzA0IDIzLjAxOC0xOS41ODUgMTAuNjUzIDAuNzkxNDEgMTcuOTMgNy40MDcgMTkuNzY1IDE3LjU0NyAxLjk1ODggMTAuODI0LTQuMTE3MSAxOS45MzktMTMuNDk0IDIzLjcwMy01LjI3MiAyLjExNjItMTAuMDkxIDEuNTA4Ni0xNS40NiAwLjAxNzg4M3oiIGZpbGw9IiNFRUMxNzAiLz4KPC9zdmc+Cg==;\&quot; value=\&quot;\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry x=\&quot;60\&quot; y=\&quot;760\&quot; height=\&quot;58\&quot; width=\&quot;58\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-42\&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;762\&quot; height=\&quot;40\&quot; width=\&quot;240\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-43\&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;Login with Mobile 0.31.0\&quot; vertex=\&quot;1\&quot;&gt;\n          &lt;mxGeometry x=\&quot;120\&quot; y=\&quot;790\&quot; height=\&quot;30\&quot; width=\&quot;240\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-44\&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;759\&quot; height=\&quot;60\&quot; width=\&quot;723\&quot; as=\&quot;geometry\&quot; /&gt;\n        &lt;/mxCell&gt;\n        &lt;mxCell id=\&quot;login-with-mobile-45\&quot; parent=\&quot;login-with-mobile-44\&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;login-with-mobile-46\&quot; parent=\&quot;login-with-mobile-45\&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;login-with-mobile-47\&quot; parent=\&quot;login-with-mobile-45\&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;login-with-mobile-48\&quot; parent=\&quot;login-with-mobile-45\&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;login-with-mobile-49\&quot; parent=\&quot;login-with-mobile-45\&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;login-with-mobile-50\&quot; parent=\&quot;login-with-mobile-45\&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;/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>