Skip to content

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

Update security architecture diagram (#341)

Leendert de Borsta2486b67d76e
diff --git a/docs/diagrams/aliasvault-security-architecture.drawio b/docs/diagrams/aliasvault-security-architecture.drawio
index b32c242a5..5ca935f75 100644
--- a/docs/diagrams/aliasvault-security-architecture.drawio
+++ b/docs/diagrams/aliasvault-security-architecture.drawio
@@ -242,7 +242,7 @@
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-114" value="No" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="6F2B19X3ZkVbRV3rCgbW-113">
<mxGeometry x="-0.1453" y="2" relative="1" as="geometry">
- <mxPoint x="1" as="offset" />
+ <mxPoint x="2" y="-12" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-116" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="6F2B19X3ZkVbRV3rCgbW-86" source="6F2B19X3ZkVbRV3rCgbW-109" target="6F2B19X3ZkVbRV3rCgbW-115">
@@ -250,11 +250,11 @@
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-117" value="Yes" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="6F2B19X3ZkVbRV3rCgbW-116">
<mxGeometry x="0.3626" y="3" relative="1" as="geometry">
- <mxPoint x="3" y="9" as="offset" />
+ <mxPoint x="18" y="-2" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-109" value="Valid Email Claim?" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-86">
- <mxGeometry x="298.780487804878" y="220" width="95.60975609756098" height="80" as="geometry" />
+ <mxGeometry x="298.780487804878" y="225" width="95.60975609756098" height="80" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-112" value="Reject email" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#a0522d;fontColor=#ffffff;strokeColor=#6D1F00;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-86">
<mxGeometry x="380" y="155.65" width="103.41" height="40" as="geometry" />
@@ -278,15 +278,11 @@
<mxCell id="6F2B19X3ZkVbRV3rCgbW-121" value="AES256-GCM" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fillColor=#76608a;fontColor=#ffffff;strokeColor=#432D57;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-86">
<mxGeometry x="95.60975609756098" y="35.650000000000006" width="119.51219512195121" height="35.65" as="geometry" />
</mxCell>
- <mxCell id="6F2B19X3ZkVbRV3rCgbW-132" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="6F2B19X3ZkVbRV3rCgbW-86" source="6F2B19X3ZkVbRV3rCgbW-124" target="6F2B19X3ZkVbRV3rCgbW-121">
- <mxGeometry relative="1" as="geometry">
- <Array as="points">
- <mxPoint x="77.68292682926828" y="53" />
- </Array>
- </mxGeometry>
+ <mxCell id="6F2B19X3ZkVbRV3rCgbW-137" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.25;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="6F2B19X3ZkVbRV3rCgbW-86" source="6F2B19X3ZkVbRV3rCgbW-124" target="6F2B19X3ZkVbRV3rCgbW-121">
+ <mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-124" value="Encrypt symmetric key with public key" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#a0522d;fontColor=#ffffff;strokeColor=#6D1F00;" vertex="1" parent="6F2B19X3ZkVbRV3rCgbW-86">
- <mxGeometry x="89.63121951219513" y="145.65" width="131.46341463414635" height="40" as="geometry" />
+ <mxGeometry x="70.00121951219514" y="105.65" width="131.46341463414635" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-101" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-78" target="6F2B19X3ZkVbRV3rCgbW-99">
<mxGeometry relative="1" as="geometry">
@@ -295,7 +291,7 @@
<mxPoint x="780" y="270" />
<mxPoint x="780" y="530" />
<mxPoint x="760" y="530" />
- <mxPoint x="760" y="860" />
+ <mxPoint x="760" y="900" />
</Array>
</mxGeometry>
</mxCell>
@@ -307,32 +303,14 @@
<mxCell id="6F2B19X3ZkVbRV3rCgbW-103" value="Register new email&lt;br&gt;claim" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#a0522d;fontColor=#ffffff;strokeColor=#6D1F00;" vertex="1" parent="1">
<mxGeometry x="850" y="300" width="120" height="60" as="geometry" />
</mxCell>
- <mxCell id="6F2B19X3ZkVbRV3rCgbW-126" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.75;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-99" target="6F2B19X3ZkVbRV3rCgbW-124">
- <mxGeometry relative="1" as="geometry">
- <mxPoint x="950" y="860" as="targetPoint" />
- <Array as="points">
- <mxPoint x="900" y="870" />
- <mxPoint x="900" y="860" />
- </Array>
- </mxGeometry>
- </mxCell>
- <mxCell id="6F2B19X3ZkVbRV3rCgbW-128" value="Get public key&lt;br&gt;associated with &lt;br&gt;email claim" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="6F2B19X3ZkVbRV3rCgbW-126">
- <mxGeometry x="0.494" y="2" relative="1" as="geometry">
- <mxPoint x="-1" y="2" as="offset" />
- </mxGeometry>
- </mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-99" value="Public key store" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#1ba1e2;strokeColor=#006EAF;fontColor=#ffffff;" vertex="1" parent="1">
- <mxGeometry x="590" y="840" width="110" height="40" as="geometry" />
+ <mxGeometry x="590" y="880" width="110" height="40" as="geometry" />
</mxCell>
- <mxCell id="6F2B19X3ZkVbRV3rCgbW-118" style="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;edgeStyle=elbowEdgeStyle;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-105" target="6F2B19X3ZkVbRV3rCgbW-109">
- <mxGeometry relative="1" as="geometry">
- <Array as="points">
- <mxPoint x="940" y="990" />
- </Array>
- </mxGeometry>
+ <mxCell id="6F2B19X3ZkVbRV3rCgbW-138" style="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;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-105" target="6F2B19X3ZkVbRV3rCgbW-109">
+ <mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-105" value="Email claim store" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#1ba1e2;strokeColor=#006EAF;fontColor=#ffffff;" vertex="1" parent="1">
- <mxGeometry x="590" y="900" width="110" height="40" as="geometry" />
+ <mxGeometry x="589" y="940" width="110" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-110" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-107" target="6F2B19X3ZkVbRV3rCgbW-109">
<mxGeometry relative="1" as="geometry" />
@@ -345,19 +323,19 @@
<mxPoint x="700" y="920" as="targetPoint" />
<Array as="points">
<mxPoint x="830" y="330" />
- <mxPoint x="830" y="910" />
+ <mxPoint x="830" y="950" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-123" value="Encrypted email(s)" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#1ba1e2;strokeColor=#006EAF;fontColor=#ffffff;" vertex="1" parent="1">
- <mxGeometry x="589" y="960" width="110" height="40" as="geometry" />
+ <mxGeometry x="590" y="820" width="110" height="40" as="geometry" />
</mxCell>
<mxCell id="6F2B19X3ZkVbRV3rCgbW-134" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="6F2B19X3ZkVbRV3rCgbW-121" target="6F2B19X3ZkVbRV3rCgbW-123">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="1025" y="710" />
<mxPoint x="850" y="710" />
- <mxPoint x="850" y="980" />
+ <mxPoint x="850" y="840" />
</Array>
</mxGeometry>
</mxCell>