.profile: move passphrase2pgp variables into identity file
This commit is contained in:
parent
a3671a8b77
commit
8c7f9da7d4
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user