Red Hat NETWORK 4.0.5 - Guía de instalación Pagina 16

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 40
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 15
12 Chapter 3. Building Custom Packages
gpg --export -a ’Your Name > public_key.txt
Your public key is written to the file public_key.txt.
This public key is quite important. It’s the key that must be deployed to all client systems
that receive custom software through up2date. Techniques for deploying this key across
an organization are covered in the Red Hat Network Client Configuration Guide.
3.2.2. Signing packages
Before you can sign packages, you need to configure your ~/.rpmmacros file to include
the following:
%_signature gpg
%_gpg_name B7085C8A
Replace the _gpg_name key ID value of B7085C8A with the key ID from your GPG
keyring that you use to sign packages. This value tells RPM which signature to use.
To sign the package package-name-1.0-1.noarch.rpm, use the following com-
mand:
rpm --resign package-name-1.0-1.noarch.rpm
Enter your passphrase. To make sure the package is signed, use the following command:
rpm --checksig -v package-name-1.0-1.noarch.rpm
You should see the phrase Good signature from "Your Name" in the output, with
Your Name replaced with the name associated with the signing key.
Vista de pagina 15
1 2 ... 11 12 13 14 15 16 17 18 19 20 21 ... 39 40

Comentarios a estos manuales

Sin comentarios