libgit2 / libgit2/libgit2sharp

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.

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

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

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.