-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add support for encrypted ssh keys #25
base: main
Are you sure you want to change the base?
feat: Add support for encrypted ssh keys #25
Conversation
plugin/src/main/java/me/champeau/gradle/igp/internal/DefaultAuthentication.java
Outdated
Show resolved
Hide resolved
…thentication.java
Thanks for the PR. I don't think we need another method for this, we could simply add the encryption option to |
Can do. |
a1a0b22
to
edc4de5
Compare
plugin/src/main/java/me/champeau/gradle/igp/internal/DefaultIncludeGitExtension.java
Outdated
Show resolved
Hide resolved
…cludeGitExtension.java
How does this look? |
Well, turns out this won't be enough for my use case... As one of the few people who uses an encrypted ed25519 key, which jgit can't support because jsch sadly does not support this new standard... |
Should be fixed by using an alternative dependency. See #28. |
I noticed there's no way to use an encrypted key file for ssh authentication in the plugin, so I tried adding it in. I'm not sure how to test it, but it looked straightforward enough...