From 720047a65be6c64ebcf2cb4b01765d9e4ec958b2 Mon Sep 17 00:00:00 2001 From: Pablo Carranza Date: Fri, 11 Mar 2016 18:07:03 +0000 Subject: Change the key format when generating the authorized key to match the legacy one --- bin/authorized_keys | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/authorized_keys b/bin/authorized_keys index 1e070ec..6c63efa 100755 --- a/bin/authorized_keys +++ b/bin/authorized_keys @@ -19,7 +19,7 @@ require_relative "../lib/gitlab_keys" authorized_key = GitlabNet.new.authorized_key(key) unless authorized_key.nil? - puts GitlabKey.new.key_line(authorized_key["id"], authorized_key["key"]) + puts GitlabKey.new.key_line("key-#{authorized_key['id']}", authorized_key["key"]) else puts "# No key was found for #{key}" end -- cgit v1.2.1