Skip to content

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

59.0 KB
Raw Blame
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" style="background: transparent; background-color: transparent; color-scheme: light;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1492px" height="1002px" viewBox="0 0 1492 1002"><defs/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="authentication-1"><g transform="translate(0.5,0.5)"><rect x="10" y="10" width="640" height="870" rx="18" ry="18" fill="#ffffff" stroke="#000000" pointer-events="all" style="fill: rgb(255, 255, 255); stroke: rgb(0, 0, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 638px; height: 1px; padding-top: 19px; margin-left: 11px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #000000; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; word-wrap: normal; ">Client (web app / browser extension / mobile app)</div></div></div></foreignObject><text x="330" y="31" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle" font-weight="bold" style="fill: rgb(0, 0, 0);">Client (web app / browser extension / mobile app)</text></switch></g></g></g><g data-cell-id="authentication-2"><g transform="translate(0.5,0.5)"><rect x="724" y="10" width="746" height="870" rx="18" ry="18" fill="#ffffff" stroke="#000000" pointer-events="all" style="fill: rgb(255, 255, 255); stroke: rgb(0, 0, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe center; width: 744px; height: 1px; padding-top: 19px; margin-left: 725px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #000000; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; word-wrap: normal; ">AliasVault server (REST API)</div></div></div></foreignObject><text x="1097" y="31" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle" font-weight="bold" style="fill: rgb(0, 0, 0);">AliasVault server (REST API)</text></switch></g></g></g><g data-cell-id="authentication-3"><g><rect x="30" y="40" width="200" height="25" fill="none" stroke="none" pointer-events="all"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 198px; height: 1px; padding-top: 53px; margin-left: 32px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; color: #000000; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; word-wrap: normal; ">1. Initiate</div></div></div></foreignObject><text x="32" y="56" fill="#000000" font-family="Helvetica" font-size="12px" font-weight="bold" style="fill: rgb(0, 0, 0);">1. Initiate</text></switch></g></g></g><g data-cell-id="authentication-4"><g transform="translate(0.5,0.5)"><rect x="70" y="70" width="230" height="50" fill="#a0522d" stroke="#6d1f00" pointer-events="all" style="fill: rgb(160, 82, 45); stroke: rgb(109, 31, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 228px; height: 1px; padding-top: 95px; margin-left: 71px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #ffffff; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Username + master password entered</div></div></div></foreignObject><text x="185" y="99" fill="#ffffff" font-family="Helvetica" font-size="12px" text-anchor="middle" style="fill: rgb(255, 255, 255);">Username + master password entered</text></switch></g></g></g><g data-cell-id="authentication-5"><g transform="translate(0.5,0.5)"><rect x="788" y="65" width="260" height="60" fill="#a0522d" stroke="#6d1f00" pointer-events="all" style="fill: rgb(160, 82, 45); stroke: rgb(109, 31, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 258px; height: 1px; padding-top: 95px; margin-left: 789px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #ffffff; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Look up the account; create server ephemeral B and a login session</div></div></div></foreignObject><text x="918" y="92" fill="#ffffff" font-family="Helvetica" font-size="12px" text-anchor="middle" style="fill: rgb(255, 255, 255);"><tspan x="918" y="92">Look up the account; create server ephemeral B</tspan><tspan x="918" y="106">and a login session</tspan></text></switch></g></g></g><g data-cell-id="authentication-6"><g transform="translate(0.5,0.5)"><path d="M 1178 70 C 1178 61.72 1231.73 55 1298 55 C 1329.83 55 1360.35 56.58 1382.85 59.39 C 1405.36 62.21 1418 66.02 1418 70 L 1418 120 C 1418 128.28 1364.27 135 1298 135 C 1231.73 135 1178 128.28 1178 120 Z" fill="#1ba1e2" stroke="#006eaf" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(27, 161, 226); stroke: rgb(0, 110, 175);"/><path d="M 1418 70 C 1418 78.28 1364.27 85 1298 85 C 1231.73 85 1178 78.28 1178 70" fill="none" stroke="#006eaf" stroke-miterlimit="10" pointer-events="all" style="stroke: rgb(0, 110, 175);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 238px; height: 1px; padding-top: 108px; margin-left: 1179px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #ffffff; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">UserUnlockMethod (password): salt, SRP verifier, KDF settings</div></div></div></foreignObject><text x="1298" y="104" fill="#ffffff" font-family="Helvetica" font-size="12px" text-anchor="middle" style="fill: rgb(255, 255, 255);"><tspan x="1298" y="104">UserUnlockMethod (password): salt, SRP</tspan><tspan x="1298" y="118">verifier, KDF settings</tspan></text></switch></g></g></g><g data-cell-id="authentication-7"><g transform="translate(0.5,0.5)"><path d="M 300 95 L 781.63 95" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(0, 0, 0);"/><path d="M 786.88 95 L 779.88 98.5 L 781.63 95 L 779.88 91.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(0, 0, 0); stroke: rgb(0, 0, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 80px; margin-left: 540px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #000000; background-color: #ffffff; "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">POST login: username</div></div></div></foreignObject><text x="540" y="83" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle" style="fill: rgb(0, 0, 0);">POST login: username</text></switch></g></g></g><g data-cell-id="authentication-8"><g transform="translate(0.5,0.5)"><path d="M 1178 95 L 1054.37 95" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" style="stroke: rgb(0, 0, 0);"/><path d="M 1049.12 95 L 1056.12 91.5 L 1054.37 95 L 1056.12 98.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(0, 0, 0); stroke: rgb(0, 0, 0);"/></g></g><g data-cell-id="authentication-9"><g><rect x="30" y="150" width="300" height="25" fill="none" stroke="none" pointer-events="all"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 298px; height: 1px; padding-top: 163px; margin-left: 32px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; color: #000000; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; word-wrap: normal; ">2. Derive key and prove the password</div></div></div></foreignObject><text x="32" y="166" fill="#000000" font-family="Helvetica" font-size="12px" font-weight="bold" style="fill: rgb(0, 0, 0);">2. Derive key and prove the password</text></switch></g></g></g><g data-cell-id="authentication-10"><g transform="translate(0.5,0.5)"><rect x="70" y="185" width="230" height="60" fill="#a0522d" stroke="#6d1f00" pointer-events="all" style="fill: rgb(160, 82, 45); stroke: rgb(109, 31, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 228px; height: 1px; padding-top: 215px; margin-left: 71px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #ffffff; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Check KDF settings against a fixed minimum; refuse weaker settings</div></div></div></foreignObject><text x="185" y="212" fill="#ffffff" font-family="Helvetica" font-size="12px" text-anchor="middle" style="fill: rgb(255, 255, 255);"><tspan x="185" y="212">Check KDF settings against a fixed</tspan><tspan x="185" y="226">minimum; refuse weaker settings</tspan></text></switch></g></g></g><g data-cell-id="authentication-11"><g transform="translate(0.5,0.5)"><rect x="70" y="275" width="230" height="55" fill="#76608a" stroke="#432d57" pointer-events="all" style="fill: rgb(118, 96, 138); stroke: rgb(67, 45, 87);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 228px; height: 1px; padding-top: 303px; margin-left: 71px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #ffffff; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Argon2id, then HKDF-SHA256: <br />SRP input (see section 4)</div></div></div></foreignObject><text x="185" y="299" fill="#ffffff" font-family="Helvetica" font-size="12px" text-anchor="middle" style="fill: rgb(255, 255, 255);"><tspan x="185" y="299">Argon2id, then HKDF-SHA256:</tspan><tspan x="185" y="313">SRP input (see section 4)</tspan></text></switch></g></g></g><g data-cell-id="authentication-12"><g transform="translate(0.5,0.5)"><rect x="70" y="360" width="230" height="65" fill="#76608a" stroke="#432d57" pointer-events="all" style="fill: rgb(118, 96, 138); stroke: rgb(67, 45, 87);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 228px; height: 1px; padding-top: 393px; margin-left: 71px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #ffffff; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">SRP-6a client (RFC 5054 group 2048, SHA-256): ephemeral A and proof M1</div></div></div></foreignObject><text x="185" y="389" fill="#ffffff" font-family="Helvetica" font-size="12px" text-anchor="middle" style="fill: rgb(255, 255, 255);"><tspan x="185" y="389">SRP-6a client (RFC 5054 group 2048,</tspan><tspan x="185" y="403">SHA-256): ephemeral A and proof M1</tspan></text></switch></g></g></g><g data-cell-id="authentication-13"><g transform="translate(0.5,0.5)"><path d="M 918 125 L 918 215 L 306.37 215" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(0, 0, 0);"/><path d="M 301.12 215 L 308.12 211.5 L 306.37 215 L 308.12 218.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(0, 0, 0); stroke: rgb(0, 0, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 230px; margin-left: 590px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #000000; background-color: #ffffff; "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">Salt, KDF settings, SRP identity, B, session id</div></div></div></foreignObject><text x="590" y="233" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle" style="fill: rgb(0, 0, 0);">Salt, KDF settings, SRP identity, B, session id</text></switch></g></g></g><g data-cell-id="authentication-14"><g transform="translate(0.5,0.5)"><path d="M 185 245 L 185 265 L 185 255 L 185 268.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(0, 0, 0);"/><path d="M 185 273.88 L 181.5 266.88 L 185 268.63 L 188.5 266.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(0, 0, 0); stroke: rgb(0, 0, 0);"/></g></g><g data-cell-id="authentication-15"><g transform="translate(0.5,0.5)"><path d="M 185 330 L 185 350 L 185 340 L 185 353.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(0, 0, 0);"/><path d="M 185 358.88 L 181.5 351.88 L 185 353.63 L 188.5 351.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(0, 0, 0); stroke: rgb(0, 0, 0);"/></g></g><g data-cell-id="authentication-16"><g transform="translate(0.5,0.5)"><rect x="788" y="360" width="260" height="65" fill="#76608a" stroke="#432d57" pointer-events="all" style="fill: rgb(118, 96, 138); stroke: rgb(67, 45, 87);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 258px; height: 1px; padding-top: 393px; margin-left: 789px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #ffffff; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">SRP-6a server: verify proof M1 against the verifier</div></div></div></foreignObject><text x="918" y="389" fill="#ffffff" font-family="Helvetica" font-size="12px" text-anchor="middle" style="fill: rgb(255, 255, 255);"><tspan x="918" y="389">SRP-6a server: verify proof M1 against the</tspan><tspan x="918" y="403">verifier</tspan></text></switch></g></g></g><g data-cell-id="authentication-17"><g transform="translate(0.5,0.5)"><path d="M 300 392.5 L 781.63 392.5" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(0, 0, 0);"/><path d="M 786.88 392.5 L 779.88 396 L 781.63 392.5 L 779.88 389 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(0, 0, 0); stroke: rgb(0, 0, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 371px; margin-left: 530px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #000000; background-color: #ffffff; "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">POST validate: A, M1</div></div></div></foreignObject><text x="530" y="374" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle" style="fill: rgb(0, 0, 0);">POST validate: A, M1</text></switch></g></g></g><g data-cell-id="authentication-18"><g transform="translate(0.5,0.5)"><path d="M 1298 135 L 1298 392.5 L 1054.37 392.5" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" style="stroke: rgb(0, 0, 0);"/><path d="M 1049.12 392.5 L 1056.12 389 L 1054.37 392.5 L 1056.12 396 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(0, 0, 0); stroke: rgb(0, 0, 0);"/></g></g><g data-cell-id="authentication-19"><g transform="translate(0.5,0.5)"><path d="M 918 475 L 983 510 L 918 545 L 853 510 Z" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(255, 255, 255); stroke: rgb(0, 0, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 128px; height: 1px; padding-top: 510px; margin-left: 854px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #000000; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">2FA enabled?</div></div></div></foreignObject><text x="918" y="514" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle" style="fill: rgb(0, 0, 0);">2FA enabled?</text></switch></g></g></g><g data-cell-id="authentication-20"><g transform="translate(0.5,0.5)"><path d="M 918 425 L 918 468.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(0, 0, 0);"/><path d="M 918 473.88 L 914.5 466.88 L 918 468.63 L 921.5 466.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(0, 0, 0); stroke: rgb(0, 0, 0);"/></g></g><g data-cell-id="authentication-21"><g><rect x="30" y="440" width="300" height="25" fill="none" stroke="none" pointer-events="all"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 298px; height: 1px; padding-top: 453px; margin-left: 32px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; color: #000000; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; word-wrap: normal; ">3. Optional second factor</div></div></div></foreignObject><text x="32" y="456" fill="#000000" font-family="Helvetica" font-size="12px" font-weight="bold" style="fill: rgb(0, 0, 0);">3. Optional second factor</text></switch></g></g></g><g data-cell-id="authentication-22"><g transform="translate(0.5,0.5)"><rect x="70" y="480" width="230" height="60" fill="#60a917" stroke="#2d7600" pointer-events="all" style="fill: rgb(96, 169, 23); stroke: rgb(45, 118, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 228px; height: 1px; padding-top: 510px; margin-left: 71px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #ffffff; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">TOTP code from an authenticator app (or a recovery code)</div></div></div></foreignObject><text x="185" y="507" fill="#ffffff" font-family="Helvetica" font-size="12px" text-anchor="middle" style="fill: rgb(255, 255, 255);"><tspan x="185" y="507">TOTP code from an authenticator app (or</tspan><tspan x="185" y="521">a recovery code)</tspan></text></switch></g></g></g><g data-cell-id="authentication-23"><g transform="translate(0.5,0.5)"><path d="M 853 510 L 306.37 510" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(0, 0, 0);"/><path d="M 301.12 510 L 308.12 506.5 L 306.37 510 L 308.12 513.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(0, 0, 0); stroke: rgb(0, 0, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 530px; margin-left: 560px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #000000; background-color: #ffffff; "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">Yes: inform client to enter TOTP</div></div></div></foreignObject><text x="560" y="533" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle" style="fill: rgb(0, 0, 0);">Yes: inform client to enter TOTP</text></switch></g></g></g><g data-cell-id="authentication-24"><g transform="translate(0.5,0.5)"><rect x="788" y="570" width="260" height="55" fill="#60a917" stroke="#2d7600" pointer-events="all" style="fill: rgb(96, 169, 23); stroke: rgb(45, 118, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 258px; height: 1px; padding-top: 598px; margin-left: 789px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #ffffff; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Verify the TOTP code against the stored secret</div></div></div></foreignObject><text x="918" y="601" fill="#ffffff" font-family="Helvetica" font-size="12px" text-anchor="middle" style="fill: rgb(255, 255, 255);">Verify the TOTP code against the stored secret</text></switch></g></g></g><g data-cell-id="authentication-25"><g transform="translate(0.5,0.5)"><path d="M 1178 572 C 1178 563.72 1231.73 557 1298 557 C 1329.83 557 1360.35 558.58 1382.85 561.39 C 1405.36 564.21 1418 568.02 1418 572 L 1418 622 C 1418 630.28 1364.27 637 1298 637 C 1231.73 637 1178 630.28 1178 622 Z" fill="#1ba1e2" stroke="#006eaf" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(27, 161, 226); stroke: rgb(0, 110, 175);"/><path d="M 1418 572 C 1418 580.28 1364.27 587 1298 587 C 1231.73 587 1178 580.28 1178 572" fill="none" stroke="#006eaf" stroke-miterlimit="10" pointer-events="all" style="stroke: rgb(0, 110, 175);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 238px; height: 1px; padding-top: 610px; margin-left: 1179px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #ffffff; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">TOTP secret and recovery codes (UserTokens)</div></div></div></foreignObject><text x="1298" y="606" fill="#ffffff" font-family="Helvetica" font-size="12px" text-anchor="middle" style="fill: rgb(255, 255, 255);"><tspan x="1298" y="606">TOTP secret and recovery codes</tspan><tspan x="1298" y="620">(UserTokens)</tspan></text></switch></g></g></g><g data-cell-id="authentication-26"><g transform="translate(0.5,0.5)"><path d="M 242.5 540 L 242.5 597.5 L 781.63 597.5" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(0, 0, 0);"/><path d="M 786.88 597.5 L 779.88 601 L 781.63 597.5 L 779.88 594 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(0, 0, 0); stroke: rgb(0, 0, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 581px; margin-left: 560px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #000000; background-color: #ffffff; "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">POST validate-2fa: code + A, M1</div></div></div></foreignObject><text x="560" y="584" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle" style="fill: rgb(0, 0, 0);">POST validate-2fa: code + A, M1</text></switch></g></g></g><g data-cell-id="authentication-27"><g transform="translate(0.5,0.5)"><path d="M 1178 597 L 1113 597 L 1054.37 597.45" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" style="stroke: rgb(0, 0, 0);"/><path d="M 1049.12 597.49 L 1056.09 593.94 L 1054.37 597.45 L 1056.14 600.94 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(0, 0, 0); stroke: rgb(0, 0, 0);"/></g></g><g data-cell-id="authentication-28"><g><rect x="30" y="630" width="340" height="25" fill="none" stroke="none" pointer-events="all"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 338px; height: 1px; padding-top: 643px; margin-left: 32px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; color: #000000; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; word-wrap: normal; ">4. Verify the server and receive tokens</div></div></div></foreignObject><text x="32" y="646" fill="#000000" font-family="Helvetica" font-size="12px" font-weight="bold" style="fill: rgb(0, 0, 0);">4. Verify the server and receive tokens</text></switch></g></g></g><g data-cell-id="authentication-29"><g transform="translate(0.5,0.5)"><rect x="788" y="670" width="260" height="65" fill="#60a917" stroke="#2d7600" pointer-events="all" style="fill: rgb(96, 169, 23); stroke: rgb(45, 118, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 258px; height: 1px; padding-top: 703px; margin-left: 789px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #ffffff; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Finalize the login session (a proof cannot be replayed); issue tokens and server proof M2</div></div></div></foreignObject><text x="918" y="699" fill="#ffffff" font-family="Helvetica" font-size="12px" text-anchor="middle" style="fill: rgb(255, 255, 255);"><tspan x="918" y="699">Finalize the login session (a proof cannot be</tspan><tspan x="918" y="713">replayed); issue tokens and server proof M2</tspan></text></switch></g></g></g><g data-cell-id="authentication-30"><g transform="translate(0.5,0.5)"><path d="M 983 510 L 1088 510 L 1088 650 L 1009 650 L 1009 663.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(0, 0, 0);"/><path d="M 1009 668.88 L 1005.5 661.88 L 1009 663.63 L 1012.5 661.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(0, 0, 0); stroke: rgb(0, 0, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 552px; margin-left: 1088px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #000000; background-color: #ffffff; "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">no</div></div></div></foreignObject><text x="1088" y="555" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle" style="fill: rgb(0, 0, 0);">no</text></switch></g></g></g><g data-cell-id="authentication-31"><g transform="translate(0.5,0.5)"><path d="M 918 625 L 918 663.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(0, 0, 0);"/><path d="M 918 668.88 L 914.5 661.88 L 918 663.63 L 921.5 661.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(0, 0, 0); stroke: rgb(0, 0, 0);"/></g></g><g data-cell-id="authentication-32"><g transform="translate(0.5,0.5)"><path d="M 1178 680 C 1178 671.72 1231.73 665 1298 665 C 1329.83 665 1360.35 666.58 1382.85 669.39 C 1405.36 672.21 1418 676.02 1418 680 L 1418 725 C 1418 733.28 1364.27 740 1298 740 C 1231.73 740 1178 733.28 1178 725 Z" fill="#1ba1e2" stroke="#006eaf" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(27, 161, 226); stroke: rgb(0, 110, 175);"/><path d="M 1418 680 C 1418 688.28 1364.27 695 1298 695 C 1231.73 695 1178 688.28 1178 680" fill="none" stroke="#006eaf" stroke-miterlimit="10" pointer-events="all" style="stroke: rgb(0, 110, 175);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 238px; height: 1px; padding-top: 715px; margin-left: 1179px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #ffffff; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Refresh tokens, stored hashed (AliasVaultUserRefreshTokens)</div></div></div></foreignObject><text x="1298" y="712" fill="#ffffff" font-family="Helvetica" font-size="12px" text-anchor="middle" style="fill: rgb(255, 255, 255);"><tspan x="1298" y="712">Refresh tokens, stored hashed</tspan><tspan x="1298" y="726">(AliasVaultUserRefreshTokens)</tspan></text></switch></g></g></g><g data-cell-id="authentication-33"><g transform="translate(0.5,0.5)"><path d="M 1048 702.5 L 1171.63 702.5" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(0, 0, 0);"/><path d="M 1176.88 702.5 L 1169.88 706 L 1171.63 702.5 L 1169.88 699 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(0, 0, 0); stroke: rgb(0, 0, 0);"/></g></g><g data-cell-id="authentication-34"><g transform="translate(0.5,0.5)"><rect x="70" y="670" width="230" height="65" fill="#76608a" stroke="#432d57" pointer-events="all" style="fill: rgb(118, 96, 138); stroke: rgb(67, 45, 87);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 228px; height: 1px; padding-top: 703px; margin-left: 71px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #ffffff; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Verify server proof M2; refuse the tokens on a mismatch</div></div></div></foreignObject><text x="185" y="699" fill="#ffffff" font-family="Helvetica" font-size="12px" text-anchor="middle" style="fill: rgb(255, 255, 255);"><tspan x="185" y="699">Verify server proof M2; refuse the tokens</tspan><tspan x="185" y="713">on a mismatch</tspan></text></switch></g></g></g><g data-cell-id="authentication-35"><g transform="translate(0.5,0.5)"><path d="M 788 702.5 L 306.37 702.5" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(0, 0, 0);"/><path d="M 301.12 702.5 L 308.12 699 L 306.37 702.5 L 308.12 706 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(0, 0, 0); stroke: rgb(0, 0, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 721px; margin-left: 560px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #000000; background-color: #ffffff; "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">M2 + access token + refresh token</div></div></div></foreignObject><text x="560" y="724" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle" style="fill: rgb(0, 0, 0);">M2 + access token + refresh token</text></switch></g></g></g><g data-cell-id="authentication-36"><g transform="translate(0.5,0.5)"><path d="M 70 820 L 90 765 L 300 765 L 280 820 Z" fill="#e3c800" stroke="#b09500" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(227, 200, 0); stroke: rgb(176, 149, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 228px; height: 1px; padding-top: 793px; margin-left: 71px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #000000; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Access token (short-lived JWT) <br />+ refresh token</div></div></div></foreignObject><text x="185" y="789" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle" style="fill: rgb(0, 0, 0);"><tspan x="185" y="789">Access token (short-lived JWT)</tspan><tspan x="185" y="803">+ refresh token</tspan></text></switch></g></g></g><g data-cell-id="authentication-37"><g transform="translate(0.5,0.5)"><path d="M 185 735 L 185 755 L 185 745 L 185 758.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(0, 0, 0);"/><path d="M 185 763.88 L 181.5 756.88 L 185 758.63 L 188.5 756.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(0, 0, 0); stroke: rgb(0, 0, 0);"/></g></g><g data-cell-id="authentication-38"><g transform="translate(0.5,0.5)"><rect x="788" y="760" width="260" height="65" fill="#a0522d" stroke="#6d1f00" pointer-events="all" style="fill: rgb(160, 82, 45); stroke: rgb(109, 31, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 258px; height: 1px; padding-top: 793px; margin-left: 789px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #ffffff; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Rotate: the used refresh token stops working, a new pair is issued</div></div></div></foreignObject><text x="918" y="789" fill="#ffffff" font-family="Helvetica" font-size="12px" text-anchor="middle" style="fill: rgb(255, 255, 255);"><tspan x="918" y="789">Rotate: the used refresh token stops working, a</tspan><tspan x="918" y="803">new pair is issued</tspan></text></switch></g></g></g><g data-cell-id="authentication-39"><g transform="translate(0.5,0.5)"><path d="M 290 792.5 L 781.63 792.5" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: rgb(0, 0, 0);"/><path d="M 786.88 792.5 L 779.88 796 L 781.63 792.5 L 779.88 789 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(0, 0, 0); stroke: rgb(0, 0, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 781px; margin-left: 570px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #000000; background-color: #ffffff; "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; background-color: #ffffff; white-space: nowrap; ">5. Refresh, POST refresh: refresh token</div></div></div></foreignObject><text x="570" y="784" fill="#000000" font-family="Helvetica" font-size="11px" text-anchor="middle" style="fill: rgb(0, 0, 0);">5. Refresh, POST refresh: refresh token</text></switch></g></g></g><g data-cell-id="authentication-40"><g transform="translate(0.5,0.5)"><path d="M 1048 792.5 L 1298 792.5 L 1298 746.37" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke" style="stroke: rgb(0, 0, 0);"/><path d="M 1298 741.12 L 1301.5 748.12 L 1298 746.37 L 1294.5 748.12 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(0, 0, 0); stroke: rgb(0, 0, 0);"/></g></g><g data-cell-id="authentication-41"><g><rect x="70" y="835" width="560" height="35" fill="none" stroke="none" pointer-events="all"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe flex-start; width: 558px; height: 1px; padding-top: 842px; margin-left: 72px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; color: #555555; "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #555555; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">The master password and the SRP input never leave the client. Tokens give API access only; they never decrypt a vault.</div></div></div></foreignObject><text x="72" y="853" fill="#555555" font-family="Helvetica" font-size="11px" style="fill: rgb(85, 85, 85);"><tspan x="72" y="853">The master password and the SRP input never leave the client. Tokens give API access only; they never decrypt a</tspan><tspan x="72" y="866">vault.</tspan></text></switch></g></g></g><g data-cell-id="authentication-42"><g><rect x="788" y="840" width="520" height="30" fill="none" stroke="none" pointer-events="all"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe flex-start; justify-content: unsafe flex-start; width: 518px; height: 1px; padding-top: 847px; margin-left: 790px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; color: #555555; "><div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: #555555; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Every wrong password or TOTP code counts toward a temporary account lockout.</div></div></div></foreignObject><text x="790" y="858" fill="#555555" font-family="Helvetica" font-size="11px" style="fill: rgb(85, 85, 85);">Every wrong password or TOTP code counts toward a temporary account lockout.</text></switch></g></g></g><g data-cell-id="authentication-43"><g><image width="58" height="58" xlink:href="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MDAgNTAwIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiB4bWw6c3BhY2U9InByZXNlcnZlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJtNDU5Ljg3IDI5NC45NWMwLjAxNjIwNSA1LjQwMDUgMC4wMzI0MSAxMC44MDEtMC4zNTAyMiAxNi44NzMtMS4xMTEgNi4zMzkyLTEuMTk0MSAxMi4xNzMtMi42MzUxIDE3LjY0OS0xMC45MjIgNDEuNTA4LTM2LjczMSA2OS40ODEtNzcuMzUxIDgzLjQwOC03LjIxNTcgMi40NzM5LTE0Ljk3MiAzLjM3MDItMjIuNDc5IDQuOTk1LTIzLjYyOSAwLjA0MjIwNS00Ny4yNTcgMC4xMTQ1My03MC44ODYgMC4xMjAyNy00Ni43NjIgMC4wMTEzMjItOTMuNTIzLTAuMDE0MTYtMTQwLjk1LTAuNDM0MTEtOC41OS0yLjAwMjQtMTYuNzY2LTIuODM1Mi0yNC4zOTgtNS4zMzI2LTIxLjU5NS03LjA2NjYtMzkuNTIzLTE5LjY1Ni01My43M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g==" x="30" y="920"/></g></g><g data-cell-id="authentication-44"><g><rect x="90" y="922" width="240" height="40" fill="none" stroke="none" pointer-events="all"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 1px; height: 1px; padding-top: 942px; margin-left: 92px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; color: #000000; "><div style="display: inline-block; font-size: 24px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; font-weight: bold; white-space: nowrap; ">AliasVault</div></div></div></foreignObject><text x="92" y="949" fill="#000000" font-family="Helvetica" font-size="24px" font-weight="bold" style="fill: rgb(0, 0, 0);">AliasVault</text></switch></g></g></g><g data-cell-id="authentication-45"><g><rect x="90" y="950" width="240" height="30" fill="none" stroke="none" pointer-events="all"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 1px; height: 1px; padding-top: 965px; margin-left: 92px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; color: #000000; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">Authentication 0.31.0</div></div></div></foreignObject><text x="92" y="969" fill="#000000" font-family="Helvetica" font-size="12px" style="fill: rgb(0, 0, 0);">Authentication 0.31.0</text></switch></g></g></g><g data-cell-id="authentication-46"><g transform="translate(0.5,0.5)"><path d="M 280 949 L 280 919 L 1003 919 L 1003 949" fill="#0050ef" stroke="#001dbc" stroke-miterlimit="10" pointer-events="all" style="fill: rgb(0, 80, 239); stroke: rgb(0, 29, 188);"/><path d="M 280 949 L 280 979 L 1003 979 L 1003 949" fill="none" stroke="#001dbc" stroke-miterlimit="10" pointer-events="none" style="stroke: rgb(0, 29, 188);"/><path d="M 280 949 L 1003 949" fill="none" stroke="#001dbc" stroke-miterlimit="10" pointer-events="none" style="stroke: rgb(0, 29, 188);"/><path d="M 443 949 L 443 979" fill="none" stroke="#001dbc" stroke-miterlimit="10" pointer-events="none" style="stroke: rgb(0, 29, 188);"/><path d="M 563 949 L 563 979" fill="none" stroke="#001dbc" stroke-miterlimit="10" pointer-events="none" style="stroke: rgb(0, 29, 188);"/><path d="M 733 949 L 733 979" fill="none" stroke="#001dbc" stroke-miterlimit="10" pointer-events="none" style="stroke: rgb(0, 29, 188);"/><path d="M 883 949 L 883 979" fill="none" stroke="#001dbc" stroke-miterlimit="10" pointer-events="none" style="stroke: rgb(0, 29, 188);"/></g><g><g fill="#ffffff" font-family="Helvetica" font-weight="bold" text-anchor="start" font-size="16px" style="fill: rgb(255, 255, 255);"><text x="286" y="939">Legend</text></g></g><g data-cell-id="authentication-47"><g transform="translate(0.5,0.5)"/><g data-cell-id="authentication-48"><g transform="translate(0.5,0.5)"><rect x="280" y="949" width="163" height="30" fill="#76608a" stroke="none" pointer-events="all" style="fill: rgb(118, 96, 138);"/><path d="M 280 949 M 443 949 M 443 979 M 280 979" fill="none" stroke="#432d57" stroke-linecap="square" stroke-miterlimit="10" pointer-events="all" style="stroke: rgb(67, 45, 87);"/><path d="M 443 949 L 443 979" fill="none" stroke="#432d57" stroke-miterlimit="10" pointer-events="all" style="stroke: rgb(67, 45, 87);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 147px; height: 1px; padding-top: 964px; margin-left: 292px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; max-height: 26px; overflow: hidden; color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #ffffff; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Cryptographic Operations</div></div></div></foreignObject><text x="292" y="968" fill="#ffffff" font-family="Helvetica" font-size="12px" style="fill: rgb(255, 255, 255);">Cryptographic Operations</text></switch></g></g></g><g data-cell-id="authentication-49"><g transform="translate(0.5,0.5)"><rect x="443" y="949" width="120" height="30" fill="#1ba1e2" stroke="none" pointer-events="all" style="fill: rgb(27, 161, 226);"/><path d="M 443 949 M 563 949 M 563 979 M 443 979" fill="none" stroke="#006eaf" stroke-linecap="square" stroke-miterlimit="10" pointer-events="all" style="stroke: rgb(0, 110, 175);"/><path d="M 443 949 L 443 979" fill="none" stroke="#006eaf" stroke-miterlimit="10" pointer-events="all" style="stroke: rgb(0, 110, 175);"/><path d="M 563 949 L 563 979" fill="none" stroke="#006eaf" stroke-miterlimit="10" pointer-events="all" style="stroke: rgb(0, 110, 175);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 104px; height: 1px; padding-top: 964px; margin-left: 455px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; max-height: 26px; overflow: hidden; color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #ffffff; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Storage Elements</div></div></div></foreignObject><text x="455" y="968" fill="#ffffff" font-family="Helvetica" font-size="12px" style="fill: rgb(255, 255, 255);">Storage Elements</text></switch></g></g></g><g data-cell-id="authentication-50"><g transform="translate(0.5,0.5)"><rect x="563" y="949" width="170" height="30" fill="#e3c800" stroke="none" pointer-events="all" style="fill: rgb(227, 200, 0);"/><path d="M 563 949 M 733 949 M 733 979 M 563 979" fill="none" stroke="#b09500" stroke-linecap="square" stroke-miterlimit="10" pointer-events="all" style="stroke: rgb(176, 149, 0);"/><path d="M 563 949 L 563 979" fill="none" stroke="#b09500" stroke-miterlimit="10" pointer-events="all" style="stroke: rgb(176, 149, 0);"/><path d="M 733 949 L 733 979" fill="none" stroke="#b09500" stroke-miterlimit="10" pointer-events="all" style="stroke: rgb(176, 149, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 154px; height: 1px; padding-top: 964px; margin-left: 575px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; max-height: 26px; overflow: hidden; color: #000000; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Keys and Sensitive Data</div></div></div></foreignObject><text x="575" y="968" fill="#000000" font-family="Helvetica" font-size="12px" style="fill: rgb(0, 0, 0);">Keys and Sensitive Data</text></switch></g></g></g><g data-cell-id="authentication-51"><g transform="translate(0.5,0.5)"><rect x="733" y="949" width="150" height="30" fill="#60a917" stroke="none" pointer-events="all" style="fill: rgb(96, 169, 23);"/><path d="M 733 949 M 883 949 M 883 979 M 733 979" fill="none" stroke="#2d7600" stroke-linecap="square" stroke-miterlimit="10" pointer-events="all" style="stroke: rgb(45, 118, 0);"/><path d="M 733 949 L 733 979" fill="none" stroke="#2d7600" stroke-miterlimit="10" pointer-events="all" style="stroke: rgb(45, 118, 0);"/><path d="M 883 949 L 883 979" fill="none" stroke="#2d7600" stroke-miterlimit="10" pointer-events="all" style="stroke: rgb(45, 118, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 134px; height: 1px; padding-top: 964px; margin-left: 745px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; max-height: 26px; overflow: hidden; color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #ffffff; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Authentication Steps</div></div></div></foreignObject><text x="745" y="968" fill="#ffffff" font-family="Helvetica" font-size="12px" style="fill: rgb(255, 255, 255);">Authentication Steps</text></switch></g></g></g><g data-cell-id="authentication-52"><g transform="translate(0.5,0.5)"><rect x="883" y="949" width="120" height="30" fill="#a0522d" stroke="none" pointer-events="all" style="fill: rgb(160, 82, 45);"/><path d="M 883 949 M 1003 949 M 1003 979 M 883 979" fill="none" stroke="#6d1f00" stroke-linecap="square" stroke-miterlimit="10" pointer-events="all" style="stroke: rgb(109, 31, 0);"/><path d="M 883 949 L 883 979" fill="none" stroke="#6d1f00" stroke-miterlimit="10" pointer-events="all" style="stroke: rgb(109, 31, 0);"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 104px; height: 1px; padding-top: 964px; margin-left: 895px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; max-height: 26px; overflow: hidden; color: #ffffff; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #ffffff; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">Process step</div></div></div></foreignObject><text x="895" y="968" fill="#ffffff" font-family="Helvetica" font-size="12px" style="fill: rgb(255, 255, 255);">Process step</text></switch></g></g></g></g></g></g></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.drawio.com/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>