First sucessfull comunication
[mnenc] / protocol_v_0.txt
diff --git a/protocol_v_0.txt b/protocol_v_0.txt
new file mode 100644 (file)
index 0000000..4057a6d
--- /dev/null
@@ -0,0 +1,37 @@
+Protocol:
+=Unlock keyring daemon=
+0_Unlock|<masterkey>
+
+==Reply==
+201_Created
+400_Bad_Request 
+500_Internal_Server_Error
+503_Service_Unavailable
+
+=Encrypt password=
+10_Encrypt|<appname>|<username>|<password>
+
+==Reply==
+201_Created
+400_Bad_Request 
+500_Internal_Server_Error
+503_Service_Unavailable
+
+=Decrypt password=
+20_Decrypt|<appname>|<username>
+
+==Reply==
+200_OK |<password>
+400_Bad_Request 
+500_Internal_Server_Error
+503_Service_Unavailable
+
+=Check if password exists=
+30_Check|<appname>|<username>
+
+==Reply==
+201_Created
+400_Bad_Request 
+404_Not_Found
+500_Internal_Server_Error
+503_Service_Unavailable