GPG

YUM GPG keys

NOTE: If you installed gitlab/raspberry-pi2 with our Bash script, Chef cookbook, or Puppet module the GPG key is automatically installed. There is nothing additional you need to do.

GPG signature info

gitlab/raspberry-pi2 has its YUM metadata signed with the default GPG key.

Important notes

There are two types of GPG keyrings used on RPM-based systems:

  1. RPM's GPG keyring. This keyring is used for verifying signatures on RPM packages.
  2. YUM's GPG keyring. This keyring is used for verifying signatures on repository metadata. There is one keyring per repository on the system.

The YUM GPG keyring (number 2 above) is the keyring that the information on this page refers to.

Import GPG key for gitlab/raspberry-pi2

To import a GPG key to verify YUM metadata, you must create a repo config with the GPG key URL. This is done automatically with all of our install methods.

If you'd like to do this manually for gitlab/raspberry-pi2, follow the instructions on the manual install page

Remove GPG key for gitlab/raspberry-pi2

Unfortunately GPG key removal is not particularly user friendly.

  1. Check your /etc/yum.conf file and note the value of persistdir. If persistdir is not set, you can assume it is /var/lib/yum.
  2. Determine which CPU architecture the repo has been installed for: i386 for 32-bit systems and x86_64 for 64-bit systems.
  3. Determine the verison number of the CentOS or Red Hat you are running (5, 6, or 7).
  4. Replace x86_64 and 7 in the following command with your CPU architecture and CentOS or RedHat version:
  5. gpg --homedir /var/lib/yum/repos/x86_64/7/gitlab_raspberry-pi2/gpgdir --delete-key 3F01618A51312F3F
close
Created with Sketch.

Drop a package to begin uploading…