Disable yubikey ssh agent and only set bw agent on client machines
This commit is contained in:
9
.bashrc
9
.bashrc
@@ -117,9 +117,10 @@ fi
|
|||||||
|
|
||||||
## Modified by me
|
## Modified by me
|
||||||
### GPG and SSH agent configurations for yubikey
|
### GPG and SSH agent configurations for yubikey
|
||||||
export GPG_TTY="$(tty)"
|
# This is now disabled since i use bw
|
||||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
#export GPG_TTY="$(tty)"
|
||||||
gpgconf --launch gpg-agent
|
#export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
|
#gpgconf --launch gpg-agent
|
||||||
|
|
||||||
### Passbook setup
|
### Passbook setup
|
||||||
export PASSBOOK_GPG_PATH="/usr/bin/gpg"
|
export PASSBOOK_GPG_PATH="/usr/bin/gpg"
|
||||||
@@ -167,7 +168,7 @@ alias edit-vim='cd ~/.config/nvim && vim .'
|
|||||||
hostname=$(cat ~/hostname)
|
hostname=$(cat ~/hostname)
|
||||||
if [[ $hostname == "arch-bepis" ]]; then
|
if [[ $hostname == "arch-bepis" ]]; then
|
||||||
export SSH_AUTH_SOCK=/home/wholteza/.bitwarden-ssh-agent.sock
|
export SSH_AUTH_SOCK=/home/wholteza/.bitwarden-ssh-agent.sock
|
||||||
else
|
elif [[ $hostname == "bepis-laptop" ]]; then
|
||||||
export PATH="$PATH:/opt/nvim-linux-x86_64/bin"
|
export PATH="$PATH:/opt/nvim-linux-x86_64/bin"
|
||||||
export SSH_AUTH_SOCK=/home/wholteza/snap/bitwarden/current/.bitwarden-ssh-agent.sock
|
export SSH_AUTH_SOCK=/home/wholteza/snap/bitwarden/current/.bitwarden-ssh-agent.sock
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user