Summary: | Feature request: Ability to enter ssh key passphrase when doing a "git push" from Kate's git toolview | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Kristen <codestuff> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | waqar.17a |
Priority: | NOR | ||
Version: | 22.12.2 | ||
Target Milestone: | --- | ||
Platform: | macOS (DMG) | ||
OS: | macOS | ||
Latest Commit: | https://invent.kde.org/utilities/kate/commit/5ccee078346d53a71044b2343c2e0355518a24e8 | Version Fixed In: | |
Sentry Crash Report: |
Description
Kristen
2023-02-28 00:42:45 UTC
My earlier comment may be incorrect in referring to doing a git push from the Projects plugin. If my description is unclear, I am referring to the git toolview where it is possible to perform simple git operations such as commits/pushes/pulls (I think this comes from the Projects plugin, but I am not 100% sure). A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1134 Git commit 5ccee078346d53a71044b2343c2e0355518a24e8 by Waqar Ahmed. Committed on 28/02/2023 at 18:33. Pushed by waqar into branch 'master'. Git: set SSH_ASKPASS env var If the user's ssh key has a passphrase, the program set by this env var can be used to ask for password. M +21 -0 addons/project/gitwidget.cpp https://invent.kde.org/utilities/kate/commit/5ccee078346d53a71044b2343c2e0355518a24e8 As mentioned in the commit, you will have to set `SSH_ASKPASS` environment variable somewhere global. This environment variable should point to an "ssh-askpass" program. There are many such programs available. If kate finds ksshaskpass (the kde askpass program), it will automatically set this variable for you. |