Skip to content
Snippets Groups Projects

GPG signed commits

Merged Alexis Reigel requested to merge siemens/gitlab-ce:feature/gpg-signed-commits into master
4 files
+ 54
12
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 1
5
@@ -33,12 +33,8 @@ def emails
private
def extract_fingerprint
import = GPGME::Key.import(key)
return if import.considered == 0
# we can assume that the result only contains one item as the validation
# only allows one key
self.fingerprint = import.imports.first.fingerprint
self.fingerprint = Gitlab::Gpg.fingerprints_from_key(key).first
end
end
Loading