Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

patch for Yubikey authentication for git/ssh #549

Closed
chrisbgit opened this Issue · 1 comment

2 participants

@chrisbgit
diff --git a/magit.el b/magit.el
index c0274c8..77c7a37 100644
--- a/magit.el
+++ b/magit.el
@@ -2193,7 +2193,9 @@ magit-topgit and magit-svn"
                (string-match "^Password for '\\\(.*\\\)':" string))
            (setq ask (format "Password for '%s': " (match-string 1 string))))
           ((string-match "^[pP]assword:" string)
-           (setq ask "Password:")))
+           (setq ask "Password:"))
+          ((string-match "^Yubikey for .*: $" string)
+          (setq ask "Yubikey: " )))
     (when ask
       (process-send-string proc (concat (read-passwd ask nil) "\n")))))
@tarsius tarsius was assigned
@tarsius
Owner

I might as well. Done in ca75621. Better late than never, right? :-)

@tarsius tarsius closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.