-
- Downloads
Introduce a more-complete implementation of bin/authorized_keys
bin/authorized_keys doesn't check that the requesting user matches the expected user, so to enable database authorized keys lookups, we currently ask the admin to create a custom script for that purpose. Better is to have a complete script that can perform the whole task. This commit introduces bin/gitlab-shell-authorized-keys-check which does so.
Showing
- .gitlab-ci.yml 3 additions, 3 deletions.gitlab-ci.yml
- bin/gitlab-shell-authorized-keys-check 42 additions, 0 deletionsbin/gitlab-shell-authorized-keys-check
- spec/gitlab_shell_authorized_keys_check_spec.rb 106 additions, 0 deletionsspec/gitlab_shell_authorized_keys_check_spec.rb
- spec/httpunix_spec.rb 17 additions, 36 deletionsspec/httpunix_spec.rb
- spec/spec_helper.rb 29 additions, 0 deletionsspec/spec_helper.rb
bin/gitlab-shell-authorized-keys-check
0 → 100755
Please register or sign in to comment