-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimpleWebRTC.trm
36 lines (29 loc) · 1.11 KB
/
simpleWebRTC.trm
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
/** Simple WebRTC Trust model
No weight
**/
trustmodel
//Express dependencies between trust types
dependency
// Identity needs Security
Identity -> Security
A :
// #Signal tags this relation as part of the signal path
-> private CSP: Security #Signal = TLS
-> private CSP: Trustworthiness #Signal = ACSP
-> private IdP: Security = TLS
// @Identity refer to trust in an identity recommendation from IdP
-> private IdP: @Identity = 1
// Reference to the #Signal path means that we should compute trustworthiness over this path
// as the #Signal value. (What if there is branches on the path?)
-> private B: Security #Call = SIP //(SIP ? 1 : #Signal) (*) DTLSSRTP
// Keying depends on protocol. If it does not depends on sigpath security then it is always 1
// else it depends on #Signal
CSP :
-> B: Security #Signal = BA
IdP :
-> B: Security = TLS
-> B: Identity = AuthB
// Model request
// Something like that would express that the trust of A in the conversation (AConv)
// would be equal to trust in the call security and A trust in B's Identity.
// AConv(A, B) = #Call/Security(A->B) (+) Identity(A->_->B)