DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(mysql.info.gz) Checking RPM Signature

Info Catalog (mysql.info.gz) Checking GPG Signature (mysql.info.gz) Verifying Package Integrity
 
 2.1.4.3 Signature Checking Using `RPM'
 ......................................
 
 For RPM packages, there is no separate signature. RPM packages have a
 built-in GPG signature and MD5 checksum. You can verify a package by
 running the following command:
 
      shell> rpm --checksig package_name.rpm
 
 Example:
 
      shell> rpm --checksig MySQL-server-4.0.10-0.i386.rpm
      MySQL-server-4.0.10-0.i386.rpm: md5 gpg OK
 
 * If you are using RPM 4.1 and it complains about `(GPG) NOT OK
 (MISSING KEYS: GPG#5072e1f5)', even though you have imported the MySQL
 public build key into your own GPG keyring, you need to import the key
 into the RPM keyring first. RPM 4.1 no longer uses your personal GPG
 keyring (or GPG itself). Rather, it maintains its own keyring because
 it is a system-wide application and a user's GPG public keyring is a
 user-specific file. To import the MySQL public key into the RPM
 keyring, first obtain the key as described in the previous section.
 Then use `rpm --import' to import the key.  For example, if you have
 the public key stored in a file named `mysql_pubkey.asc', import it
 using this command:
 
      shell> rpm --import mysql_pubkey.asc
 
 If you need to obtain the MySQL public key, see  Checking GPG
 Signature.
 
Info Catalog (mysql.info.gz) Checking GPG Signature (mysql.info.gz) Verifying Package Integrity
automatically generated byinfo2html