main() {
  # ensure that we leave the terminal in a usable state on <ctrl+c>.
  [ -t 0 ] && trap 'stty echo icanon; trap - INT; kill -s INT 0' INT
}

# ensure that debug mode is never enabled to
# prevent the password from leaking.
set +x

# restrict permissions of any new files to
# only the current user.
umask 077

[ -n "$1" ] || usage && main "$@"
