git2-rs
git2-rs copied to clipboard
Implement minimal support for chained credential store helpers
Tools such as git-credential-oauth rely on a chained helper configuration to store the acquired credentials.
Unimplemented features in this PR:
- This does not pass on properties other than
usernameandpassword(Notable other properties would bepassword_expiry_utc,oauth_refresh_token). - It does not check the
password_expiry_utcproperty, and instead relies on thetimeoutconfig of the cache helper.
Note: git-credential-oauth does not seem to make use of these features at the moment.
:umbrella: The latest upstream changes (possibly f0951122c88ba30b48a98b4b5e9f6670daa57ad8) made this pull request unmergeable. Please resolve the merge conflicts.
I don't need this anymore (I switched back to SSH keys). But if somebody wants to continue with this, feel free to reuse any code from this PR.