Backport: Update GnuPG to 2.5.24 and related libraries (19-3-stable)

What does this MR do?

Backports !10039 (merged) to 19-3-stable. It updates GnuPG from 2.2.41, which is end of life, to 2.5.24 along with its related libraries. FIPS builds switch to the distro's gnupg. See !10039 (merged) for details.

The three functional commits are cherry-picked from !10039 (merged). Unlike master, the Remove UBT changes commit is not included, so the UBT path on this branch stays pinned to the old published versions with FIXME comments. The only conflict was in spec/lib/gitlab/build/check_spec.rb, because export_go_fips_module_env! doesn't exist on this branch. The new use_system_gnupg? specs were moved to the end of the file, unchanged.

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion.

Required

  • MR title and description are up to date, accurate, and descriptive.
  • MR targeting the appropriate branch.
  • Latest Merge Result pipeline is green.
  • When ready for review, MR is marked as ready (not a draft) and a reviewer is requested.

For GitLab team members

  • The manual Trigger:ee-package jobs have a green pipeline running against latest commit.
  • If config/software or config/patches directories are changed, make sure the build-package-on-all-os job within the Trigger:ee-package downstream pipeline succeeded.
  • If you are changing anything SSL related, then the Trigger:package:fips manual job within the Trigger:ee-package downstream pipeline must succeed.
  • If CI configuration is changed, the branch must be pushed to dev.gitlab.org to confirm regular branch builds aren't broken.

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes. (Test plan: doc/development/test-plans/upgrade-gpg-testplan.md.)
  • Documentation created/updated.
  • Tests added.
  • Integration tests added to GitLab QA.
  • Equivalent MR/issue for the GitLab Chart opened.
Edited by Jon Doveston

Merge request reports

Loading
Loading