summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-10-02 10:56:37 +0100
committerNick Thomas <nick@gitlab.com>2017-10-02 11:25:02 +0100
commit43c712f5dd40f69bc198670b6d778b7a61060318 (patch)
tree7941bc14c6cbb4e049c02fd9b58bd933f9c98c0d /lib
parentaa445119da3898ed96c8226526b3a3329b7c99ad (diff)
downloadgitlab-ce-43c712f5dd40f69bc198670b6d778b7a61060318.tar.gz
Whitelist authorized_keys.lock in the gitlab:check rake task
Diffstat (limited to 'lib')
-rw-r--r--lib/system_check/app/git_user_default_ssh_config_check.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/system_check/app/git_user_default_ssh_config_check.rb b/lib/system_check/app/git_user_default_ssh_config_check.rb
index 7b486d78cf0..dfa8b8b3f5b 100644
--- a/lib/system_check/app/git_user_default_ssh_config_check.rb
+++ b/lib/system_check/app/git_user_default_ssh_config_check.rb
@@ -5,6 +5,7 @@ module SystemCheck
# whitelisted as it may change the SSH client's behaviour dramatically.
WHITELIST = %w[
authorized_keys
+ authorized_keys.lock
authorized_keys2
known_hosts
].freeze