updating with fix for desktop/laptop use
[mnenc] / protocol_v_0.txt
1 Protocol:
2 =Unlock keyring daemon=
3 0_Unlock|<masterkey>
4
5 ==Reply==
6 201_Created
7 400_Bad_Request 
8 403_Forbidden
9 500_Internal_Server_Error - not implemented
10 503_Service_Unavailable - not implemented
11
12 =Encrypt password=
13 10_Encrypt|<appname>|<username>|<password>
14
15 ==Reply==
16 201_Created
17 400_Bad_Request - not implemented
18 412_Precondition_Failed
19 500_Internal_Server_Error - not implemented
20 503_Service_Unavailable - not implemented
21
22 =Decrypt password=
23 20_Decrypt|<appname>|<username>
24
25 ==Reply==
26 200_OK|<password>
27 400_Bad_Request - not implemented
28 412_Precondition_Failed
29 500_Internal_Server_Error
30 503_Service_Unavailable - not implemented
31
32 =Check if password exists=
33 30_Check|<appname>|<username>
34
35 ==Reply==
36 201_Created
37 400_Bad_Request - not implemented
38 404_Not_Found
39 412_Precondition_Failed
40 500_Internal_Server_Error - not implemented
41 503_Service_Unavailable - not implemented