File tree Expand file tree Collapse file tree 4 files changed +56
-62
lines changed Expand file tree Collapse file tree 4 files changed +56
-62
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,14 @@ description = "Tool to interact with the firewall matched data feature"
66edition = " 2018"
77
88[dependencies ]
9- assert_cmd = " 1.0.1 "
9+ assert_cmd = " 1.0.2 "
1010bincode = " 1.3.1"
1111clap = " 3.0.0-beta.1"
1212generic-array = { version = " 0.14.4" , features = [" serde" ] }
13- hpke = { version = " 0.3 .1" , features = [" serde_impls" ] }
13+ hpke = { version = " 0.4 .1" , features = [" serde_impls" ] }
1414radix64 = " 0.6.2"
1515rand = " 0.7.3"
16- serde = { version = " 1.0.116 " , features = [" derive" ] }
16+ serde = { version = " 1.0.117 " , features = [" derive" ] }
1717serde_json = " 1.0.59"
1818
1919[profile .release ]
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ mod tests {
182182 let matched_data = "test matched data" ;
183183 // Encrypted with public key:
184184 // Ycig/Zr/pZmklmFUN99nr+taURlYItL91g+NcHGYpB8=
185- let encrypted_matched_data = "AdfVn7odpamJGeFAGj0iW2oTtoXOjVnTFT2x4l+cHKJsEQAAAAAAAAB+zDygjV2aUI92FV4cHMkp+4u37JHnH4fUkRqasPYaCgk =" ;
185+ let encrypted_matched_data = "Ah0Ax4UEtSQg/bVSJHcgIwbLoNNKGbcwpL2BdCPJEYx1EQAAAAAAAAAsrRpY63jVlKash1iJ2bYh6+TQtedI380nnmZAWYgZMIU =" ;
186186 let private_key = "uBS5eBttHrqkdY41kbZPdvYnNz8Vj0TvKIUpjB1y/GA=" ;
187187
188188 // Private key in argument
@@ -218,7 +218,7 @@ mod tests {
218218
219219 #[ test]
220220 fn test_arguments ( ) {
221- let encrypted_matched_data = "AdfVn7odpamJGeFAGj0iW2oTtoXOjVnTFT2x4l+cHKJsEQAAAAAAAAB+zDygjV2aUI92FV4cHMkp+4u37JHnH4fUkRqasPYaCgk =" ;
221+ let encrypted_matched_data = "Ah0Ax4UEtSQg/bVSJHcgIwbLoNNKGbcwpL2BdCPJEYx1EQAAAAAAAAAsrRpY63jVlKash1iJ2bYh6+TQtedI380nnmZAWYgZMIU =" ;
222222 let private_key = "uBS5eBttHrqkdY41kbZPdvYnNz8Vj0TvKIUpjB1y/GA=" ;
223223
224224 let mut cmd = Command :: cargo_bin ( "matched-data-cli" ) . unwrap ( ) ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ type Aead = ChaCha20Poly1305;
1414type Kdf = HkdfSha256 ;
1515type Kex = <Kem as KemTrait >:: Kex ;
1616
17- const ENCRYPTION_FORMAT_VERSION : u8 = 1 ;
17+ const ENCRYPTION_FORMAT_VERSION : u8 = 2 ;
1818
1919#[ derive( Serialize , Deserialize ) ]
2020pub struct EncryptedData {
You can’t perform that action at this time.
0 commit comments