Skip to content
Snippets Groups Projects

GPG signed commits

Merged Alexis Reigel requested to merge siemens/gitlab-ce:feature/gpg-signed-commits into master

What does this MR do?

  1. Shows gpg signed commits (excl. tags)
  2. If the gpg key is verified (= the gpg was added to GitLab and the user's email matches the key's email) a "Verified" batch is displayed
  3. If the gpg key is not verified or does not exist on GitLab an "Unverified" batch is displayed
  4. If the commit is not signed, the behaviour is unchanged
  5. Allows the user to add gpg keys to his profile

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Git allows to signed commits. This PR enables displaying those commits.

The development of this MR is sponsored by @siemens (/cc @bufferoverflow).

Screenshots (if relevant)

Commits list:

Commits___signed_commits___nannie_bernhard___gitlab_test___GitLab_3_

Commit details:

signed_commit_by_nannie_bernhard__0f44cd1d____Commits___nannie_bernhard___gitlab_test___GitLab

Badge popovers:

Commits___signed_commits___nannie_bernhard___gitlab_test___GitLab_5_

Commits___signed_commits___nannie_bernhard___gitlab_test___GitLab_4_

User settings > GPG key:

GPG_Keys___User_Settings___GitLab_2_

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/20268.

Edited by Dmytro Zaporozhets (DZ)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Alexis Reigel added 456 commits

    added 456 commits

    • 806d3385...348dff0a - 437 commits from branch gitlab-org:master
    • 8bfe6278 - Prototype key verification
    • 19588e46 - remove commit actions width constraint
    • 5a3bb9ab - commit signature with spec
    • 4db37594 - add gpg key model
    • 31836b0e - add emails method to GgpKey
    • d89b6c39 - only validate gpg_key#fingerprint "internally"
    • da6464b9 - add profile gpg key page to manage gpg keys
    • 80a97d8c - extract gpg functionality to lib class
    • c0b9b3eb - add / remove gpg keys to / from system keychain
    • c0a981b7 - add second gpg key for specs
    • 2e6ba6ed - feature spec for gpg signed commits
    • fbda179b - use example gpg key instead of my own
    • da601265 - test with a gpg key with multiple emails
    • bd3848f9 - email handling for gpg keys
    • 50260622 - move current keychain methods to namespace
    • 65b2c2e3 - gpg email verification
    • 89d30f5c - notification email on add new gpg key
    • f6713667 - remove gpg from keychain when user's email changes
    • c4ed04c1 - fixup! add profile gpg key page to manage gpg keys

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading