diff options
author | Jesse Luehrs <doy@tozt.net> | 2020-04-18 01:28:48 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2020-04-18 01:28:48 -0400 |
commit | 777b810db4675305854c373dcd57aedc40061e5d (patch) | |
tree | ed35c77e39416073fb5222aebdb5ef484c238dd3 /src/protocol.rs | |
parent | 3babc8801c0d09b7868be9be7751f7cfdf32c8bb (diff) | |
download | rbw-777b810db4675305854c373dcd57aedc40061e5d.tar.gz rbw-777b810db4675305854c373dcd57aedc40061e5d.zip |
add encryption to the agent protocol
Diffstat (limited to 'src/protocol.rs')
-rw-r--r-- | src/protocol.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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 }, } |