-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.how2crts
53 lines (25 loc) · 1003 Bytes
/
README.how2crts
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
43
44
45
46
47
48
49
50
51
Basic steps taken when you do a friend request of a d3ck - needed - the
remote d3ck's IP address (hostnames will be soon, working on resolver!)
requester (usually done in UI by clicking and typing in IP):
- send request to remote - will you be my friend?
- generate client certs
- wait for response
- if response is affirmative
- save remote certs
- send FULL d3ck AND client certs
- if negative/timeout/etc., revoke client certs and tell user
requestee:
- get request
- look up what to do - ask, deny, accept..?
- if accept request
- generate client certs for requester
- send FULL d3ck AND client certs
- lookup how to notify user
- wait for remote response
- if affirmative
- make remote d3ck live
- lookup how to notify user
- if never get it, time out, etc.
- lookup how to notify user
- if no
- lookup how to notify user