search for: key_filename

Displaying 1 result from an estimated 1 matches for "key_filename".

Did you mean: get_filename
2020 Oct 06
2
Accessing SSH key path using SSH_ASKPASS and passwordstore
...e behaviors in the GitHub repo. Thanks, John pass-askpass.sh --- #!/usr/bin/env bash # This translates "Enter passphrase for /home/user/.ssh/id_ed25519_somekey:" to "id_ed25519_somekey" # It also accounts for the case where the path is surrounded by single quotes in the prompt key_filename="$(echo "$1" | sed -e "s/^.*\/\(.*\)'*:.*$/\1/")" # Assume we store all our keys in one folder in pass, and they are all uniquely identifiable # This will result in a prompt for my GPG key password to retrieve the SSH key password pass "${PASS_SSH_FOLDER:-SSH...