From 777b810db4675305854c373dcd57aedc40061e5d Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 18 Apr 2020 01:28:48 -0400 Subject: add encryption to the agent protocol --- src/protocol.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/protocol.rs') diff --git a/src/protocol.rs b/src/protocol.rs index 8d7cd69..5d476ca 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -12,6 +12,7 @@ pub enum Action { Lock, Sync, Decrypt { cipherstring: String }, + Encrypt { plaintext: String }, // add // update // remove @@ -24,4 +25,5 @@ pub enum Response { Ack, Error { error: String }, Decrypt { plaintext: String }, + Encrypt { cipherstring: String }, } -- cgit v1.2.3-54-g00ecf