blob: 8dc0bb0d24a498910595e6e0826c55557a5b90f6 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
. defs.inc || exit 3
#info Checking encryption with a pipe
for i in $plain_files $data_files ; do
run_gpg -e --yes -r "$usrname2" < $i | run_gpg --yes > y
cmp $i y || error "$i: mismatch"
done
|