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

feat: always read the authorized keys file #88

Merged
merged 1 commit into from Nov 15, 2022
Merged

Conversation

caarlos0
Copy link
Member

this will always read the authorized keys file instead of caching it, bringing the way it works closer to openssh.

as a downside, if the file is big, it might take a while. We could cache it, but I think it should be fine as is.

#82

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
@caarlos0 caarlos0 added the enhancement New feature or request label Nov 15, 2022
@caarlos0 caarlos0 self-assigned this Nov 15, 2022
Copy link
Member

@aymanbagabas aymanbagabas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I think dealing with large authorized_keys files is a universal problem. Gitlab has their own OpenSSH server to deal with this problem.

@caarlos0 caarlos0 merged commit d2ae592 into main Nov 15, 2022
@caarlos0 caarlos0 deleted the authorized_keys branch November 15, 2022 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants