Scripts for mail

This commit is contained in:
2021-06-24 23:23:54 +01:00
parent 591d0dd00e
commit f4b28de956
2 changed files with 31 additions and 1 deletions

14
.local/bin/setup/setuppass Executable file
View File

@@ -0,0 +1,14 @@
#! /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