diff --git a/src/.local/bin/identity.sh b/src/.local/bin/identity.sh index d488aa5..33fa75d 100755 --- a/src/.local/bin/identity.sh +++ b/src/.local/bin/identity.sh @@ -17,9 +17,15 @@ cat << "EOF" > "$fields" export ID_REALNAME= export ID_EMAIL= export ID_EMAIL_WORK= +export REALNAME= +export EMAIL= +export KEYID= EOF -keepassxc-cli show "$KEEPASSDB" meta/identity -a realname -a email -a email-work | paste -d '' "$fields" - >> "$IDFILE" +keepassxc-cli show "$KEEPASSDB" meta/identity \ + -a realname -a email -a email-work \ + -a p2p-name -a p2p-email -a p2p-keyid \ + | paste -d '' "$fields" - >> "$IDFILE" rm "$fields" cat << "EOF" >> "$IDFILE" diff --git a/src/.profile b/src/.profile index 205e955..692290f 100644 --- a/src/.profile +++ b/src/.profile @@ -54,11 +54,6 @@ export MANWIDTH=165 export SB_DIR="$HOME"/med/sb export SXHKD_SHELL='/bin/sh' -# Variables for passphrase2pgp -export REALNAME="dogeystamp" -export EMAIL="dogeystamp@disroot.org" -export KEYID="A3A5FA72F8E5E54FBEE425057225FE3592EFFA38" - export KEEPASSDB="$HOME"/dox/sec/pass.kdbx # Identity (see ~/.local/bin/identity.sh) if [ -r "$XDG_CONFIG_HOME"/identity ]; then