feat: pass extensions
This commit is contained in:
parent
de24c9fda0
commit
f374277638
@ -12,6 +12,7 @@ pkg=(
|
|||||||
openssh
|
openssh
|
||||||
pass
|
pass
|
||||||
python
|
python
|
||||||
|
vim
|
||||||
)
|
)
|
||||||
|
|
||||||
# TODO https://github.com/termux/termux-tools/blob/master/scripts/termux-change-repo.in
|
# TODO https://github.com/termux/termux-tools/blob/master/scripts/termux-change-repo.in
|
||||||
@ -24,9 +25,10 @@ curl -L https://yw5n.com/ssh >> "$HOME/.ssh/authorized_keys"
|
|||||||
echo 'enable-ssh-support' > "$HOME/.gnupg/gpg-agent.conf"
|
echo 'enable-ssh-support' > "$HOME/.gnupg/gpg-agent.conf"
|
||||||
echo 'D17DD274A8FC460888C038B2F84ACB3A562A3BA4' > "$HOME/.gnupg/sshcontrol"
|
echo 'D17DD274A8FC460888C038B2F84ACB3A562A3BA4' > "$HOME/.gnupg/sshcontrol"
|
||||||
|
|
||||||
cat <<EOF >> "$HOME/.bash_profile"
|
cat <<EOF > "$HOME/.bash_profile"
|
||||||
gpg-connect-agent /bye
|
gpg-connect-agent /bye
|
||||||
sshd
|
sshd
|
||||||
|
|
||||||
|
export PASSWORD_STORE_ENABLE_EXTENSIONS=true
|
||||||
export SSH_AUTH_SOCK; SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
export SSH_AUTH_SOCK; SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user