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

Use auth-git2 crate for git authentication. #40

Merged
merged 5 commits into from
Aug 22, 2023
Merged

Conversation

de-vri-es
Copy link
Contributor

@de-vri-es de-vri-es commented Aug 9, 2023

The auth-git2 crate supports more methods of authentication.

It supports: the ssh agent, the git credential helpers, more standard key locations in $HOME/.ssh (not just rsa), the askpass helper and falling back to prompting on the terminal. It can also detect encrypted OpenSSH keys by itself, so the user doesn't have to say --passphrase-needed.

Note that I'm also the author of the auth-git2 crate. I wrote it last week to be able to use it here :)

Additionally, this PR changes path-name expansion to work per path component instead of on the whole path at once. This allows to remove the workaround with string replacement on windows, and it means windows and unix share the same implementation.

The PR also simplifies conversion of parameters to values as a preparation of more enhancements I have planned :)

@bnjjj bnjjj merged commit 10bb56d into iomentum:main Aug 22, 2023
@de-vri-es
Copy link
Contributor Author

Thanks 🥳

@bnjjj
Copy link
Collaborator

bnjjj commented Aug 22, 2023

@de-vri-es published on 0.8.11

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.

None yet

3 participants