From ee7468e786e434273211586df1408a3c6268e9ed Mon Sep 17 00:00:00 2001 From: Alexis Reigel Date: Fri, 23 Jun 2017 22:53:41 +0200 Subject: [PATCH] we need to update the gpg_key as well --- lib/gitlab/gpg/commit.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/gitlab/gpg/commit.rb b/lib/gitlab/gpg/commit.rb index 437f13ef311..99d112a51a3 100644 --- a/lib/gitlab/gpg/commit.rb +++ b/lib/gitlab/gpg/commit.rb @@ -32,7 +32,8 @@ module Gitlab def update_signature!(cached_signature) using_keychain do |gpg_key| cached_signature.update_attributes!( - valid_signature: gpg_signature_valid_signature_value(gpg_key) + valid_signature: gpg_signature_valid_signature_value(gpg_key), + gpg_key: gpg_key ) end end -- GitLab