Package signatures

From OpenVZ Virtuozzo Containers Wiki
Revision as of 10:02, 13 June 2006 by Kir (talk | contribs) (Filled in Checking RPM packages)
Jump to: navigation, search

All the packages that are released by OpenVZ project are digitally signed by OpenVZ GPG key. Thus, you can check that those packages are indeed came from OpenVZ.

Public and private keys

There is a pair of keys generated for the purpose of signing and verifying the signature.

Private key is the key that is available to OpenVZ stuff only and is protected by the passphrase. This key is used for signing the packages, so nobody else but OpenVZ stuff can sign them using this key.

Public key is the key that is available to everyone and can be obtained from a number of places (e.g. MIT keyserver — search for OpenVZ). Public key is used to verify the signature.

Checking RPM packages

In order to check OpenVZ RPM package signatures, you need to import OpenVZ public key to your RPM database. To that effect, do the following:

# rpm --import RPM-GPG-Key-OpenVZ

Then, to check the packages, use this command:

$ rpm -K *.rpm

Here *.rpm are some RPM packages.

Checking files