summaryrefslogtreecommitdiff
path: root/make_crypt
blob: 6d12614fc409176b3d86cbdc4b4010cf9dddd19b (plain)
1
2
3
4
5
6
7
8
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