Project

General

Custom queries

Profile

Actions

User story #6756

closed

New Technique to import a GPG Key into RPM

Added by Janos Mattyasovszky almost 10 years ago. Updated about 9 years ago.

Status:
Released
Priority:
N/A
Category:
Techniques
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

On self-signed rpm-md repositories we need to import the own GPG key for it to be accepted.
Currently there is not built in Directive to do this.

Basically one needs to be able to import/verify/remove an ASCII Armored pub key using rpm --import, and it should be ensured that this key is trusted on the System.

See rpm manual:

Digital signatures cannot be verified without a public key.  An ASCII armored public key can be added to the rpm database
using --import. An imported public key is carried in a header, and key ring management is performed exactly like  package
management. For example, all currently imported public keys can be displayed by:

rpm -qa gpg-pubkey*

Details  about  a specific public key, when imported, can be displayed by querying.  Here's information about the Red Hat
GPG/DSA key:

rpm -qi gpg-pubkey-db42a60e

Finally, public keys can be erased after importing just like packages. Here's how to remove the Red Hat GPG/DSA key

rpm -e gpg-pubkey-db42a60e


Subtasks 2 (0 open2 closed)

Bug #8003: update list of technique in maintained techniqueReleasedBenoît PECCATTE2016-02-29Actions
Bug #8011: Technique check repository gpg key doesn't follow the normal orderingReleasedBenoît PECCATTE2016-03-01Actions

Related issues 2 (0 open2 closed)

Related to Rudder - Bug #4876: On SLES, zypper repositories configured by Rudder request a GPG key check at each manual execution of CFEngine agentRejected2014-05-21Actions
Has duplicate Rudder - User story #3371: APT package manager should manage GPG keys for added reposRejected2013-03-22Actions
#1

Updated by Nicolas CHARLES almost 10 years ago

  • Category set to Techniques
#3

Updated by Janos Mattyasovszky over 9 years ago

  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/763
#4

Updated by Janos Mattyasovszky over 9 years ago

  • Assignee set to Nicolas CHARLES
#5

Updated by Janos Mattyasovszky over 9 years ago

  • Pull Request changed from https://github.com/Normation/rudder-techniques/pull/763 to https://github.com/Normation/rudder-techniques/pull/764
#6

Updated by Alexis Mousset about 9 years ago

  • Related to Bug #4876: On SLES, zypper repositories configured by Rudder request a GPG key check at each manual execution of CFEngine agent added
#7

Updated by Janos Mattyasovszky about 9 years ago

  • Status changed from New to Pending release
  • % Done changed from 0 to 100
#8

Updated by Nicolas CHARLES about 9 years ago

  • Related to Bug #8003: update list of technique in maintained technique added
#9

Updated by Nicolas CHARLES about 9 years ago

  • Related to Bug #8011: Technique check repository gpg key doesn't follow the normal ordering added
#10

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version set to 2.11.19
#11

Updated by Alexis Mousset about 9 years ago

  • Has duplicate User story #3371: APT package manager should manage GPG keys for added repos added
#12

Updated by Vincent MEMBRÉ about 9 years ago

  • Subject changed from Please create technique to import a GPG Key into RPM to New Technique to import a GPG Key into RPM
#13

Updated by Vincent MEMBRÉ about 9 years ago

  • Related to deleted (Bug #8003: update list of technique in maintained technique)
#14

Updated by Vincent MEMBRÉ about 9 years ago

  • Related to deleted (Bug #8011: Technique check repository gpg key doesn't follow the normal ordering)
#15

Updated by Vincent MEMBRÉ about 9 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF