2020-09-03 10:11:26 +00:00
<mxfile host="app.diagrams.net" modified="2020-09-03T10:11:25.334Z" agent="5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36" etag="kXGJ0ukojSbf5BuG_5_n" version="13.6.6" type="github" pages="3">
2020-09-03 09:01:44 +00:00
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Login/Register">
2020-09-03 10:11:26 +00:00
<mxGraphModel dx="1066" dy="2014" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
2020-09-03 06:59:26 +00:00
<root>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
2020-09-03 07:03:03 +00:00
<mxCell id="WIyWlLk6GJQsqaUBKTNV-2" value="" style="rounded=0;html=1;jettySize=auto;orthogonalLoop=1;fontSize=11;endArrow=block;endFill=0;endSize=8;strokeWidth=1;shadow=0;labelBackgroundColor=none;edgeStyle=orthogonalEdgeStyle;noEdgeStyle=1;orthogonal=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-3" target="WIyWlLk6GJQsqaUBKTNV-6" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="440.462962962963" y="52" />
<mxPoint x="440.462962962963" y="128" />
2020-09-03 07:03:03 +00:00
</Array>
</mxGeometry>
2020-09-03 06:59:26 +00:00
</mxCell>
2020-09-03 10:11:26 +00:00
<mxCell id="WIyWlLk6GJQsqaUBKTNV-3" value="I try to meet/login as/register username "marx"" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#f5f5f5;strokeColor=#666666;fontColor=#333333;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
2020-09-03 10:07:10 +00:00
<mxGeometry x="380.462962962963" width="120" height="40" as="geometry" />
2020-09-03 06:59:26 +00:00
</mxCell>
2020-09-03 07:08:03 +00:00
<mxCell id="WIyWlLk6GJQsqaUBKTNV-4" value="Yes" style="rounded=0;html=1;jettySize=auto;orthogonalLoop=1;fontSize=11;endArrow=block;endFill=0;endSize=8;strokeWidth=1;shadow=0;labelBackgroundColor=none;edgeStyle=orthogonalEdgeStyle;noEdgeStyle=1;orthogonal=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-6" target="UarGHlLd0uthddKlq-wd-3" edge="1">
2020-09-03 06:59:26 +00:00
<mxGeometry y="20" relative="1" as="geometry">
<mxPoint as="offset" />
2020-09-03 07:07:21 +00:00
<mxPoint x="60" y="331.53846153846143" as="targetPoint" />
2020-09-03 07:03:03 +00:00
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="417.962962962963" y="232" />
2020-09-03 09:32:19 +00:00
<mxPoint x="345" y="308" />
2020-09-03 07:03:03 +00:00
</Array>
2020-09-03 06:59:26 +00:00
</mxGeometry>
</mxCell>
2020-09-03 10:07:10 +00:00
<mxCell id="WIyWlLk6GJQsqaUBKTNV-5" value="No" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;jettySize=auto;orthogonalLoop=1;fontSize=11;endArrow=block;endFill=0;endSize=8;strokeWidth=1;shadow=0;labelBackgroundColor=none;noEdgeStyle=1;orthogonal=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-6" target="WIyWlLk6GJQsqaUBKTNV-7" edge="1">
2020-09-03 06:59:26 +00:00
<mxGeometry y="10" relative="1" as="geometry">
<mxPoint as="offset" />
2020-09-03 07:03:03 +00:00
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="462.962962962963" y="232" />
<mxPoint x="537.5" y="308" />
2020-09-03 07:03:03 +00:00
</Array>
2020-09-03 06:59:26 +00:00
</mxGeometry>
</mxCell>
2020-09-03 10:07:10 +00:00
<mxCell id="WIyWlLk6GJQsqaUBKTNV-6" value="Is key server reachable via Tor requests?" style="rhombus;whiteSpace=wrap;html=1;shadow=0;fontFamily=Helvetica;fontSize=12;align=center;strokeWidth=1;spacing=6;spacingTop=-4;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="390.462962962963" y="140" width="100" height="80" as="geometry" />
2020-09-03 06:59:26 +00:00
</mxCell>
2020-09-03 10:07:10 +00:00
<mxCell id="WIyWlLk6GJQsqaUBKTNV-7" value="Login/register failed. Cannot safely connect." style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#f8cecc;strokeColor=#b85450;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="477.5" y="340" width="132.5" height="40" as="geometry" />
2020-09-03 06:59:26 +00:00
</mxCell>
2020-09-03 10:07:10 +00:00
<mxCell id="pqJTde5UYUQTvpoNPmt8-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;noEdgeStyle=1;orthogonal=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-3" target="pqJTde5UYUQTvpoNPmt8-2">
2020-09-03 07:14:36 +00:00
<mxGeometry relative="1" as="geometry">
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="345" y="412" />
<mxPoint x="394.7383333333334" y="488" />
2020-09-03 07:14:36 +00:00
</Array>
</mxGeometry>
2020-09-03 07:09:45 +00:00
</mxCell>
2020-09-03 10:11:26 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-3" value="Download Keyserver's public key, which is encrypted for Komrade, from Keyserver<br><br>Decrypt Keyserver's public key" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
2020-09-03 10:07:10 +00:00
<mxGeometry x="242.5" y="320" width="205" height="80" as="geometry" />
2020-09-03 07:08:03 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-9" value="No" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;noEdgeStyle=1;orthogonal=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-5" target="UarGHlLd0uthddKlq-wd-27" edge="1">
2020-09-03 07:11:13 +00:00
<mxGeometry relative="1" as="geometry">
2020-09-03 07:19:15 +00:00
<mxPoint x="70" y="660" as="targetPoint" />
2020-09-03 07:14:36 +00:00
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="471.01250000000005" y="892" />
<mxPoint x="341.89" y="968" />
2020-09-03 07:14:36 +00:00
</Array>
2020-09-03 07:11:13 +00:00
</mxGeometry>
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-13" value="Yes" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;noEdgeStyle=1;orthogonal=1;entryX=0.4;entryY=0.25;entryDx=0;entryDy=0;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-5" target="UarGHlLd0uthddKlq-wd-14" edge="1">
2020-09-03 07:14:36 +00:00
<mxGeometry relative="1" as="geometry">
2020-09-03 07:19:15 +00:00
<mxPoint x="210" y="640" as="targetPoint" />
2020-09-03 07:14:36 +00:00
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="534.6075000000001" y="892" />
<mxPoint x="533.355" y="968" />
2020-09-03 07:14:36 +00:00
</Array>
</mxGeometry>
2020-09-03 07:11:13 +00:00
</mxCell>
2020-09-03 10:07:10 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-5" value="Is keyserver storing a public key for username "marx"?" style="rhombus;whiteSpace=wrap;html=1;shadow=0;fontFamily=Helvetica;fontSize=12;align=center;strokeWidth=1;spacing=6;spacingTop=-4;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="434.21500000000003" y="740" width="137.19" height="140" as="geometry" />
2020-09-03 07:14:36 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-31" value="Yes" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;noEdgeStyle=1;orthogonal=1;exitX=0;exitY=1;exitDx=0;exitDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-14" target="UarGHlLd0uthddKlq-wd-29" edge="1">
2020-09-03 07:25:09 +00:00
<mxGeometry relative="1" as="geometry">
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="504.3" y="1092" />
<mxPoint x="471.63" y="1168" />
2020-09-03 07:25:09 +00:00
</Array>
</mxGeometry>
2020-09-03 07:23:55 +00:00
</mxCell>
2020-09-03 10:11:26 +00:00
<mxCell id="pqJTde5UYUQTvpoNPmt8-1" value="No" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;noEdgeStyle=1;orthogonal=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-14" target="LL1DRk6oRKZlNUp4qJ55-0">
2020-09-03 10:07:10 +00:00
<mxGeometry relative="1" as="geometry">
2020-09-03 10:11:26 +00:00
<mxPoint x="625.625" y="1245" as="targetPoint" />
2020-09-03 10:07:10 +00:00
<Array as="points">
<mxPoint x="562.4100000000001" y="1092" />
<mxPoint x="625.625" y="1168" />
</Array>
</mxGeometry>
2020-09-03 07:14:36 +00:00
</mxCell>
2020-09-03 10:07:10 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-14" value="Do I have a .marx.key?" style="rhombus;whiteSpace=wrap;html=1;shadow=0;fontFamily=Helvetica;fontSize=12;align=center;strokeWidth=1;spacing=6;spacingTop=-4;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="470.245" y="980" width="126.22" height="100" as="geometry" />
2020-09-03 07:19:15 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-28" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;noEdgeStyle=1;orthogonal=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-27" target="UarGHlLd0uthddKlq-wd-35" edge="1">
2020-09-03 07:19:15 +00:00
<mxGeometry relative="1" as="geometry">
2020-09-03 08:54:24 +00:00
<mxPoint x="115.625" y="820" as="targetPoint" />
2020-09-03 07:23:55 +00:00
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="341.89" y="1092" />
<mxPoint x="266.005" y="1168" />
2020-09-03 07:25:09 +00:00
</Array>
</mxGeometry>
2020-09-03 07:23:55 +00:00
</mxCell>
2020-09-03 10:07:10 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-27" value="Attempt registration" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#e1d5e7;strokeColor=#9673a6;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="281.89" y="1010" width="120" height="40" as="geometry" />
2020-09-03 07:25:09 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-55" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;noEdgeStyle=1;orthogonal=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-29" target="UarGHlLd0uthddKlq-wd-59" edge="1">
2020-09-03 08:16:41 +00:00
<mxGeometry relative="1" as="geometry">
2020-09-03 08:54:24 +00:00
<mxPoint x="421.25" y="1069" as="targetPoint" />
2020-09-03 08:16:41 +00:00
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="471.63" y="1372" />
<mxPoint x="511.99333333333334" y="1448" />
2020-09-03 08:16:41 +00:00
</Array>
</mxGeometry>
</mxCell>
2020-09-03 10:07:10 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-29" value="Attempt login" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#fff2cc;strokeColor=#d6b656;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="411.63" y="1250" width="120" height="40" as="geometry" />
2020-09-03 08:27:29 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-98" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;noEdgeStyle=1;orthogonal=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-35" target="UarGHlLd0uthddKlq-wd-97" edge="1">
2020-09-03 08:28:05 +00:00
<mxGeometry relative="1" as="geometry">
2020-09-03 08:43:34 +00:00
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="266.005" y="1372" />
<mxPoint x="234.98250000000002" y="1448" />
2020-09-03 08:43:34 +00:00
</Array>
2020-09-03 08:28:05 +00:00
</mxGeometry>
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-35" value="<div><span>[Client]</span></div><div><span><br></span></div><span>Generate pub/private key pair<br>(Themis, GenerateKeyPair, EC)<br></span><br><span>Encrypt pub/private key pair with passphrase&nbsp;</span><span>(Themis, SecureCell)<br></span><br><span>Save in:&nbsp;</span><span>~/.komrade/.keys/.marx.key</span>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;align=center;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
2020-09-03 10:07:10 +00:00
<mxGeometry x="150.38" y="1180" width="231.25" height="180" as="geometry" />
2020-09-03 08:24:50 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-85" value="No" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;noEdgeStyle=1;orthogonal=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-59" target="UarGHlLd0uthddKlq-wd-86" edge="1">
2020-09-03 08:55:23 +00:00
<mxGeometry relative="1" as="geometry">
<mxPoint x="471.25" y="1400" as="targetPoint" />
2020-09-03 09:01:44 +00:00
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="484.49333333333334" y="1641.5" />
<mxPoint x="424.15500000000003" y="1717.5" />
2020-09-03 09:01:44 +00:00
</Array>
2020-09-03 08:55:23 +00:00
</mxGeometry>
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-87" value="Yes" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;noEdgeStyle=1;orthogonal=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-59" target="UarGHlLd0uthddKlq-wd-88" edge="1">
2020-09-03 08:55:23 +00:00
<mxGeometry relative="1" as="geometry">
<mxPoint x="700" y="1300" as="targetPoint" />
2020-09-03 09:01:44 +00:00
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="539.4933333333333" y="1641.5" />
<mxPoint x="640.1949999999999" y="1717.5" />
2020-09-03 09:01:44 +00:00
</Array>
2020-09-03 08:55:23 +00:00
</mxGeometry>
</mxCell>
2020-09-03 10:07:10 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-59" value="Can I decrypt .marx.key using passphrase? (SecureCell)" style="rhombus;whiteSpace=wrap;html=1;shadow=0;fontFamily=Helvetica;fontSize=12;align=center;strokeWidth=1;spacing=6;spacingTop=-4;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="451.99333333333334" y="1479.25" width="120" height="131" as="geometry" />
2020-09-03 08:28:05 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-65" value="Registration successful" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#d5e8d4;strokeColor=#82b366;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
2020-09-03 10:07:10 +00:00
<mxGeometry x="205" y="2537.5" width="175" height="50" as="geometry" />
2020-09-03 08:48:20 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-84" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;noEdgeStyle=1;orthogonal=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-72" target="UarGHlLd0uthddKlq-wd-100" edge="1">
2020-09-03 08:49:29 +00:00
<mxGeometry relative="1" as="geometry">
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="203.96000000000004" y="1900.5" />
<mxPoint x="274.58722222222224" y="1976.5" />
2020-09-03 08:49:29 +00:00
</Array>
</mxGeometry>
2020-09-03 08:48:20 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-72" value="<div><span>[Server]</span></div><div><br></div><div>Receive 2 encryped public keys from user</div><div><br></div><div>Decrypt first public key:</div><div><i>to</i>: me,&nbsp;<span><i>from</i>: komrade</span></div><div><br></div><div>Decrypt second public key:</div><div><i>to</i>: me, <i>from:</i>&nbsp;<span>decrypted first pubkey</span></div>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;align=center;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
2020-09-03 10:07:10 +00:00
<mxGeometry x="101.26500000000004" y="1729.5" width="205.39" height="159" as="geometry" />
2020-09-03 08:48:20 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-80" value="Registration failed" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#f8cecc;strokeColor=#b85450;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
2020-09-03 10:07:10 +00:00
<mxGeometry y="2537.5" width="175" height="50" as="geometry" />
2020-09-03 08:48:20 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-86" value="Login failed. You claim to be marx but cannot decrypt his key." style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#f8cecc;strokeColor=#b85450;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
2020-09-03 10:07:10 +00:00
<mxGeometry x="336.65500000000003" y="1784" width="175" height="50" as="geometry" />
2020-09-03 08:48:20 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-107" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;noEdgeStyle=1;orthogonal=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-88" target="UarGHlLd0uthddKlq-wd-105" edge="1">
2020-09-03 09:01:44 +00:00
<mxGeometry relative="1" as="geometry">
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="640.1949999999999" y="1900.5" />
<mxPoint x="643.7979166666667" y="1976.5" />
2020-09-03 09:01:44 +00:00
</Array>
</mxGeometry>
2020-09-03 08:55:23 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-88" value="<div>[Client]</div><div><br></div><div>As before, encrypt my public key twice:</div><div><br></div><div>(1) to keyserver, from komrade</div><div>(2) to keyserver, from me</div><div><br></div><div>Send both to server</div>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;align=center;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
2020-09-03 10:07:10 +00:00
<mxGeometry x="541.655" y="1738.5" width="197.08" height="141" as="geometry" />
2020-09-03 09:01:44 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-99" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;noEdgeStyle=1;orthogonal=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-97" target="UarGHlLd0uthddKlq-wd-72" edge="1">
2020-09-03 09:01:44 +00:00
<mxGeometry relative="1" as="geometry">
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="234.98250000000002" y="1641.5" />
<mxPoint x="203.96000000000004" y="1717.5" />
2020-09-03 09:01:44 +00:00
</Array>
</mxGeometry>
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-97" value="<div><span>[Client] -&gt; [Server]</span></div><div><br></div><div>Encrypt my public key,&nbsp;</div><div><span><i>to</i>: keyserver,&nbsp;</span><i>from</i><span>: komrade</span></div><div><br></div><div>Encrypt my public key again,</div><div><i>to</i>: keyserver,&nbsp;<i>from</i><span>: me</span></div><div><br></div><div>Send my 2 encrypted public keys to keyserver</div>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;align=center;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
2020-09-03 10:07:10 +00:00
<mxGeometry x="129.10250000000002" y="1460" width="211.76" height="169.5" as="geometry" />
2020-09-03 09:32:19 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-118" value="No" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;noEdgeStyle=1;orthogonal=1;exitX=0;exitY=1;exitDx=0;exitDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-100" target="UarGHlLd0uthddKlq-wd-114" edge="1">
2020-09-03 09:01:44 +00:00
<mxGeometry relative="1" as="geometry">
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="248.22222222222226" y="2162" />
<mxPoint x="181.0436111111111" y="2238" />
2020-09-03 09:01:44 +00:00
</Array>
</mxGeometry>
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-119" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;noEdgeStyle=1;orthogonal=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-100" target="UarGHlLd0uthddKlq-wd-101" edge="1">
2020-09-03 09:07:37 +00:00
<mxGeometry relative="1" as="geometry">
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="300.95222222222225" y="2162" />
<mxPoint x="436.0436111111111" y="2238" />
2020-09-03 09:07:37 +00:00
</Array>
</mxGeometry>
</mxCell>
2020-09-03 10:07:10 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-100" value="[Server] Decrypted keys match?" style="rhombus;whiteSpace=wrap;html=1;shadow=0;fontFamily=Helvetica;fontSize=12;align=center;strokeWidth=1;spacing=6;spacingTop=-4;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="216.85722222222225" y="2014.25" width="115.46" height="110" as="geometry" />
2020-09-03 09:28:17 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-120" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;noEdgeStyle=1;orthogonal=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-101" target="UarGHlLd0uthddKlq-wd-65" edge="1">
2020-09-03 09:28:17 +00:00
<mxGeometry relative="1" as="geometry">
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="436.0436111111111" y="2434.5" />
<mxPoint x="292.5" y="2510.5" />
2020-09-03 09:28:17 +00:00
</Array>
</mxGeometry>
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-101" value="<div><span>[Server]</span></div><div><span><br></span></div><div>Save first decrypted key</div><div>(to me, from komrade) to</div><div>~/.komrade/.keyserver/.marx.loc</div><div><br></div><div>Send second decrypted pubkey</div><div>(to me, from user) to</div><div>~/.komrade/.keyserver/.marx.loc.box</div><div><br></div><div><div>Send back to user OK response</div></div>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;align=center;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
2020-09-03 10:07:10 +00:00
<mxGeometry x="323.5436111111111" y="2250" width="225" height="172.5" as="geometry" />
2020-09-03 09:28:17 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-113" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;noEdgeStyle=1;orthogonal=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-105" target="UarGHlLd0uthddKlq-wd-111" edge="1">
2020-09-03 09:28:17 +00:00
<mxGeometry relative="1" as="geometry">
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="643.7979166666667" y="2162" />
<mxPoint x="646.0436111111111" y="2238" />
2020-09-03 09:28:17 +00:00
</Array>
</mxGeometry>
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-105" value="<div><span>[Server]</span></div><div><br></div><div>Receive 2 encryped public keys from user</div><div><br></div><div>Decrypt first public key:</div><div><i>to</i>: me,&nbsp;<span><i>from</i>: komrade</span></div><div><br></div><div>Decrypt second public key:</div><div><i>to</i>: me, <i>from:</i>&nbsp;<span>decrypted first pubkey</span></div><div><span><br></span></div><div><span>Do same with those 2 already on disk</span></div>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;align=center;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
2020-09-03 10:07:10 +00:00
<mxGeometry x="524.2429166666666" y="1988.5" width="239.11" height="161.5" as="geometry" />
2020-09-03 09:28:17 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-108" value="Login failed" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#f8cecc;strokeColor=#b85450;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
2020-09-03 10:07:10 +00:00
<mxGeometry x="410" y="2537.5" width="175" height="50" as="geometry" />
2020-09-03 09:28:17 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-109" value="No" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;noEdgeStyle=1;orthogonal=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-111" target="UarGHlLd0uthddKlq-wd-108" edge="1">
2020-09-03 09:28:17 +00:00
<mxGeometry relative="1" as="geometry">
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="614.7936111111111" y="2434.5" />
<mxPoint x="497.5" y="2510.5" />
2020-09-03 09:28:17 +00:00
</Array>
</mxGeometry>
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-110" value="Yes" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;noEdgeStyle=1;orthogonal=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-111" target="UarGHlLd0uthddKlq-wd-112" edge="1">
2020-09-03 09:28:17 +00:00
<mxGeometry relative="1" as="geometry">
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="677.2936111111111" y="2434.5" />
<mxPoint x="727.5" y="2510.5" />
2020-09-03 09:28:17 +00:00
</Array>
</mxGeometry>
</mxCell>
2020-09-03 10:07:10 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-111" value="[Server] All four decrypted keys match each other?" style="rhombus;whiteSpace=wrap;html=1;shadow=0;fontFamily=Helvetica;fontSize=12;align=center;strokeWidth=1;spacing=6;spacingTop=-4;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="578.5436111111111" y="2260.625" width="135" height="151.25" as="geometry" />
2020-09-03 09:28:17 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-124" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;noEdgeStyle=1;orthogonal=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-112" target="UarGHlLd0uthddKlq-wd-123" edge="1">
2020-09-03 09:32:19 +00:00
<mxGeometry relative="1" as="geometry">
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="727.5" y="2614.5" />
<mxPoint x="727.5" y="2690.5" />
2020-09-03 09:32:19 +00:00
</Array>
</mxGeometry>
2020-09-03 09:28:17 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-112" value="<div><span>[Server]</span></div><div><span><br></span></div><div><span>Send back to user OK response</span><br></div>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;align=center;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
2020-09-03 10:07:10 +00:00
<mxGeometry x="615" y="2522.5" width="225" height="80" as="geometry" />
2020-09-03 09:32:19 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-121" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;noEdgeStyle=1;orthogonal=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="UarGHlLd0uthddKlq-wd-114" target="UarGHlLd0uthddKlq-wd-80" edge="1">
2020-09-03 09:32:19 +00:00
<mxGeometry relative="1" as="geometry">
<Array as="points">
2020-09-03 10:07:10 +00:00
<mxPoint x="181.0436111111111" y="2434.5" />
<mxPoint x="87.5" y="2510.5" />
2020-09-03 09:32:19 +00:00
</Array>
</mxGeometry>
2020-09-03 09:28:17 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-114" value="<div><span>[Server]</span><br></div><div><span><br></span></div><div><span>Send back to user FAIL response</span><br></div>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;align=center;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
2020-09-03 10:07:10 +00:00
<mxGeometry x="68.54361111111112" y="2301.25" width="225" height="70" as="geometry" />
2020-09-03 09:32:19 +00:00
</mxCell>
2020-09-03 10:02:08 +00:00
<mxCell id="UarGHlLd0uthddKlq-wd-123" value="Login successful" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#d5e8d4;strokeColor=#82b366;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
2020-09-03 10:07:10 +00:00
<mxGeometry x="640" y="2702.5" width="175" height="50" as="geometry" />
2020-09-03 08:56:14 +00:00
</mxCell>
2020-09-03 10:07:10 +00:00
<mxCell id="pqJTde5UYUQTvpoNPmt8-3" value="No" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;noEdgeStyle=1;orthogonal=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="pqJTde5UYUQTvpoNPmt8-2" target="pqJTde5UYUQTvpoNPmt8-4">
<mxGeometry relative="1" as="geometry">
<mxPoint x="60" y="530" as="targetPoint" />
<Array as="points">
<mxPoint x="365.2408333333334" y="652" />
<mxPoint x="336.40500000000003" y="728" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="pqJTde5UYUQTvpoNPmt8-6" value="Yes" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;noEdgeStyle=1;orthogonal=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="pqJTde5UYUQTvpoNPmt8-2" target="UarGHlLd0uthddKlq-wd-5">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="424.2358333333334" y="652" />
<mxPoint x="502.81" y="728" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="pqJTde5UYUQTvpoNPmt8-2" value="Does decrypted Keyserver pubkey match the one hardcoded into the app code?" style="rhombus;whiteSpace=wrap;html=1;shadow=0;fontFamily=Helvetica;fontSize=12;align=center;strokeWidth=1;spacing=6;spacingTop=-4;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="330.7433333333334" y="500" width="127.99" height="140" as="geometry" />
</mxCell>
<mxCell id="pqJTde5UYUQTvpoNPmt8-4" value="Login/register failed. Keyserver may be inauthentic." style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#f8cecc;strokeColor=#b85450;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="268.595" y="782.5" width="135.62" height="55" as="geometry" />
2020-09-03 10:02:08 +00:00
</mxCell>
2020-09-03 10:11:26 +00:00
<mxCell id="LL1DRk6oRKZlNUp4qJ55-0" value="Attempt meet" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;fillColor=#e1d5e7;strokeColor=#9673a6;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="610" y="1270" width="120" height="40" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram id="389PNDcMlEOF428ntzAT" name="Initialize Keyserver">
<mxGraphModel dx="906" dy="718" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="rmWX_bm3A8y1wPHU716J-0" />
<mxCell id="rmWX_bm3A8y1wPHU716J-1" parent="rmWX_bm3A8y1wPHU716J-0" />
</root>
</mxGraphModel>
</diagram>
<diagram id="NBmGajsKU7DFJceESM1I" name="Meeting contact">
<mxGraphModel dx="906" dy="718" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="PqcPHuyIlmMLEQzt4gBB-0" />
<mxCell id="PqcPHuyIlmMLEQzt4gBB-1" parent="PqcPHuyIlmMLEQzt4gBB-0" />
2020-09-03 06:59:26 +00:00
</root>
</mxGraphModel>
</diagram>
</mxfile>