commit: 8e19f9a8f4216114600410fa1936db5a7399904a
parent a91b0f76cef136c2d5ac8b320a9a9077131c2416
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 4 Apr 2024 02:45:33 +0200
ssh-ask-pass.sh: Switch to himitsu
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.local/bin/ssh-ask-pass.sh b/.local/bin/ssh-ask-pass.sh
@@ -1,3 +1,3 @@
#!/bin/sh
-entry="$(echo "$@" | sed -e 's;^Enter passphrase for '"$HOME/.ssh"';SSH;' -e 's;: $;;')"
-pass show "${entry}" | head -1
+filename="$(echo "$@" | sed -e 's;^Enter passphrase for '"$HOME/.ssh/"';;' -e 's;: $;;')"
+hiq -d -Fpassword proto=ssh-privkey host="${HOSTNAME}" name="${filename}"