Skip to content

Conversation

@197g
Copy link

@197g 197g commented Oct 18, 2023

This is necessary to utilize an ssh-key with the index repository. If no ssh is found, libgit never offers the SSH credential option¹ and the server fails with:

no supported credential type

This enables dockerized deployments with an ssh key, such as Github's Deploy keys.

This change add ~10MB to the container's final size (130MB to 139MB).

¹Specifically, the function in RemoteCallbacks::credentials is called with a parameter denoting the set permissible authenticators. When no ssh is found the bit for CredentialType::SSH_KEY is disabled. Then subsequently ktra does not check for the ssh key parameter, here.

This is necessary to utilize an ssh-key with the index repository. If no
ssh is found, libgit never offers the SSH credential option and the
server fails with:

    no supported credential type
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.

1 participant