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

Add deployment dependency: openssh-client #64

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

HeroicKatora
Copy link

@HeroicKatora HeroicKatora 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.

None yet

1 participant