-
Notifications
You must be signed in to change notification settings - Fork 0
/
plans.dot
42 lines (38 loc) · 898 Bytes
/
plans.dot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
digraph G{
subgraph cluster_registration{
label="Registration";
Register
Password[shape="box"];
HashedPassword[shape="box"];
Secret[shape="box"];
PubKey[shape="box"];
PrivKey[shape="box"];
HashLogin
HashSecret
CreateKeyPairs
}
Register->Password->{HashLogin, HashSecret}
HashLogin->HashedPassword;
HashSecret->Secret
HashSecret->CreateKeyPairs->{
PubKey;
PrivKey;
}
PubKey->Persist
PrivKey->Encrypt->Persist
Secret->Encrypt
subgraph cluster_persist{
Persist->{
StoredHashedPassword[shape="box"];
StoredPubKey[shape="box"];
StoreEncryptedPrivKey[shape="box"];
}
}
subgraph cluster_login{
label="Login" ;
LoginPassword[shape="box"];
LoginSecret[shape="box"]
User->Login->LoginPassword->CheckPassword->GenerateSecret->LoginSecret
}
StoredHashedPassword->CheckPassword;
}