benchmark.bash: add comments to show how to force openssl usage
This commit is contained in:
parent
8be54bf3f8
commit
0749fbd9c9
@ -47,7 +47,12 @@ if [[ $MODE == encfs ]]; then
|
|||||||
else
|
else
|
||||||
echo "Testing gocryptfs at $CRYPT"
|
echo "Testing gocryptfs at $CRYPT"
|
||||||
gocryptfs -q -init -extpass="echo test" -scryptn=10 $CRYPT
|
gocryptfs -q -init -extpass="echo test" -scryptn=10 $CRYPT
|
||||||
|
# By default, gocryptfs decides between OpenSSL and Go GCM:
|
||||||
gocryptfs -q -extpass="echo test" $CRYPT $MNT
|
gocryptfs -q -extpass="echo test" $CRYPT $MNT
|
||||||
|
# Force use of OpenSSL:
|
||||||
|
#gocryptfs -q -extpass="echo test" -openssl=true $CRYPT $MNT
|
||||||
|
# Force use of Go GCM:
|
||||||
|
#gocryptfs -q -extpass="echo test" -openssl=false $CRYPT $MNT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Cleanup trap
|
# Cleanup trap
|
||||||
|
Loading…
Reference in New Issue
Block a user