Skip to content
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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

raghav-deepsource
Copy link

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...

@melix
Copy link
Owner

melix commented Mar 9, 2022

Thanks for the PR. I don't think we need another method for this, we could simply add the encryption option to KeyConfiguration, which would also avoid a bit of code duplication, wdyt?

@raghav-deepsource
Copy link
Author

Can do.

@raghav-deepsource
Copy link
Author

raghav-deepsource commented Mar 9, 2022

How does this look?

@raghav-deepsource
Copy link
Author

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...

@kakai248
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants