p≡p engine fork for my own dirty testing of stuff
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

44 lines
890 B

// This file is under BSD License 2.0
// KeyReset protocol for p≡p
// Copyright (c) 2019, p≡p foundation
// Written by Volker Birk
include ./fsm.yml2
protocol Distribution 2 {
// this protocol is stateless
fsm KeyReset 1 {
version 1, 0;
message Commands 2 {
auto Version version;
list Command commandlist {
field Identity ident;
field Hash newkey;
}
}
}
fsm ManagedGroup 2 {
version 1, 0;
message GroupCreate 2 {
field Identity groupIdentity;
field Identity manager;
}
message GroupAdopted 3 {
field Identity groupIdentity;
field Identity member;
}
message GroupDissolve 4 {
field Identity groupIdentity;
field Identity manager;
}
}
}