Add Ssh credentials support or open creadentionals class

Open
#1,623 2 comments 11 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp, git

Research direction

Start by reviewing the Native methods named in the issue, especially git_cred_ssh_key_new, and the existing GitCredentialHandler and Credentials abstractions. Clarify which of the two proposed API directions is intended, then verify that SSH credentials are exposed without self-made P/Invoke and that the public API remains usable.

Written by the indexing model from the issue text.

Description

add to Native methods:
git_cred_ssh_key_new and wrap it
or open GitCredentialHandler in Credentials class:

  public abstract class Credentials
  {
    protected internal abstract int GitCredentialHandler(out IntPtr cred);
  }

remove internal and any can p/invoke selfmade

Dominant language
C#
Stars
3.5k
Forks
925
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from libgit2/libgit2sharp

All issues in libgit2/libgit2sharp

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.