#! /bin/bash [ -z MASTERPW ] && export MASTERPW=$(dialog --no-cancel --passwordbox "Enter Enpass master password." 10 60 3>&1 1>&2 2>&3 3>&1 | sed 's/\s//g') echo "$MASTERPW" | xclip -selection clipboard -i chmod 700 "$HOME/.config/gnupg" gpg --full-generate-key pass init stofflees@gmail.com