From: Scott Worley Date: Sun, 22 Oct 2017 04:58:07 +0000 (-0700) Subject: Finish encryption before starting decryption X-Git-Url: http://git.scottworley.com/overonion/commitdiff_plain/64d0ba0964437e5925a0b8eb7618dbb25b380d0e Finish encryption before starting decryption --- diff --git a/overonion_test b/overonion_test index 6ec2d61..1f654cc 100755 --- a/overonion_test +++ b/overonion_test @@ -6,6 +6,7 @@ d=$(mktemp -d) test_data=$0 ./overonion-make-key --make_INSECURE_key "$d/key" -cmp --verbose <(./overonion e "$d/key" < "$test_data" | ./overonion d "$d/key") "$test_data" +./overonion e "$d/key" < "$test_data" > "$d/encrypted" +cmp --verbose <(./overonion d "$d/key" < "$d/encrypted") "$test_data" rm -r "$d" echo PASS