From 7b9bdb0cc235237ba6f038dc8f58cd4b50fe754f Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Wed, 28 Oct 2015 15:56:02 +0100 Subject: make_crypt script --- make_crypt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 make_crypt diff --git a/make_crypt b/make_crypt new file mode 100755 index 0000000..6d12614 --- /dev/null +++ b/make_crypt @@ -0,0 +1,9 @@ +#!/bin/zsh + +if [ "$#" -ne 1 ]; then + echo "missing arg." + exit +fi + +cryptsetup -c aes-xts-plain64 -s 256 -h sha256 -i 1000 --use-random -y luksFormat $1 + -- cgit v1.2.3