trying to make m gen-subkey more responsive in the face of errors, and clearer to...
[monkeysphere.git] / src / share / common
index d6e494953d078e1178c1dda7addc3cf985196f1e..c8d44f656c58136be011a0bd80c5af077adeaedb 100644 (file)
@@ -304,6 +304,8 @@ passphrase_prompt() {
     local PASS
 
     if [ "$DISPLAY" ] && which "${SSH_ASKPASS:-ssh-askpass}" >/dev/null; then
+       printf 'Launching "%s"\n' "${SSH_ASKPASS:-ssh-askpass}" | log info
+       printf '(with prompt "%s")\n' "$prompt" | log debug
        "${SSH_ASKPASS:-ssh-askpass}" "$prompt" > "$fifo"
     else
        read -s -p "$prompt" PASS