Editing Package signatures

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
OpenVz7 packages are the same binaries as Virtuozzo7 and signed by Virtuozzo GPG key
 
[http://repo.virtuozzo.com/vzlinux/security/VIRTUOZZO_GPG_KEY]
 
 
Info below is related to OpenVz legacy packages.
 
 
 
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.
 
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.
  
Line 16: Line 11:
 
OpenVZ public key is available from the several sources. We urge you to use a few different sources because chances are lower they all can be compromised at the same time.
 
OpenVZ public key is available from the several sources. We urge you to use a few different sources because chances are lower they all can be compromised at the same time.
  
* [http://old.openvz.org/download/RPM-GPG-Key-OpenVZ.txt RPM-GPG-Key-OpenVZ] Old main site
+
* [http://openvz.org/download/RPM-GPG-Key-OpenVZ.txt RPM-GPG-Key-OpenVZ] Main site
 
* [http://download.openvz.org/RPM-GPG-Key-OpenVZ RPM-GPG-Key-OpenVZ] Download site
 
* [http://download.openvz.org/RPM-GPG-Key-OpenVZ RPM-GPG-Key-OpenVZ] Download site
 
* [http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0x92A60DA6A7A1D4B6 RPM-GPG-Key-OpenVZ] wwwkeys.de.pgp.net
 
* [http://pgpkeys.pca.dfn.de/pks/lookup?op=get&search=0x92A60DA6A7A1D4B6 RPM-GPG-Key-OpenVZ] wwwkeys.de.pgp.net
Line 22: Line 17:
 
* [http://keys.keysigning.org:11371/pks/lookup?op=get&search=0x92A60DA6A7A1D4B6 RPM-GPG-Key-OpenVZ] keys.keysigning.org
 
* [http://keys.keysigning.org:11371/pks/lookup?op=get&search=0x92A60DA6A7A1D4B6 RPM-GPG-Key-OpenVZ] keys.keysigning.org
 
* [http://pgp.surfnet.nl:11371/pks/lookup?op=get&search=0x92A60DA6A7A1D4B6 RPM-GPG-Key-OpenVZ] pgp.surfnet.nl
 
* [http://pgp.surfnet.nl:11371/pks/lookup?op=get&search=0x92A60DA6A7A1D4B6 RPM-GPG-Key-OpenVZ] pgp.surfnet.nl
* [http://keys.gnupg.net/pks/lookup?op=get&search=0x92A60DA6A7A1D4B6 RPM-GPG-Key-OpenVZ] keys.gnupg.net
 
* [http://pool.sks-keyservers.net:11371/pks/lookup?op=get&search=0x92A60DA6A7A1D4B6 RPM-GPG-Key-OpenVZ] pool.sks-keyservers.net
 
* [http://keys.nayr.net:11371/pks/lookup?op=get&search=0x92A60DA6A7A1D4B6 RPM-GPG-Key-OpenVZ] keys.nayr.net
 
 
 
Key fingerprint = DEAB A031 F0A1 8848 9D71  01D2 92A6 0DA6 A7A1 D4B6
 
Key fingerprint = DEAB A031 F0A1 8848 9D71  01D2 92A6 0DA6 A7A1 D4B6
  
 
== Checking RPM packages ==
 
== Checking RPM packages ==
RPM package manager has a build-in GPG signatures support. Signatures are embedded into the .rpm files, and public keys are stored in an rpm database. 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 (usually you are required to be root):
+
RPM package manager has a build-in GPG signatures support. Signatures are embedded into the .rpm files, and public keys are stored in an rpm database 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 (usually you are required to be root):
 
<pre>
 
<pre>
 
# rpm --import RPM-GPG-Key-OpenVZ
 
# rpm --import RPM-GPG-Key-OpenVZ
Line 44: Line 35:
  
 
=== Importing the public key ===
 
=== Importing the public key ===
First, you need to import OpenVZ public key to your GnuPG keychain. You can either import a local file, or search for the key on one of the public keyservers. Second, you should verify the key against the fingerprint.
+
First, you need to import OpenVZ public key to your GnuPG keychain. You can either import a local file, or search for the key on one of the public keyservers.
  
 
==== From a local file ====
 
==== From a local file ====
Line 53: Line 44:
 
==== From the default keyserver ====
 
==== From the default keyserver ====
 
<pre>
 
<pre>
$ gpg --search-keys security@openvz.org
+
$ gpg --search-keys OpenVZ
gpg: searching for "security@openvz.org" from hkp server keys.gnupg.net
+
gpg: searching for "OpenVZ" from hkp server subkeys.pgp.net
(1) OpenVZ Project <security@openvz.org>
+
(1)     OpenVZ Project <security@openvz.org>
  1024 bit DSA key A7A1D4B6, created: 2005-09-14
+
          1024 bit DSA key A7A1D4B6, created: 2005-09-14
Keys 1-1 of 1 for "security@openvz.org".  Enter number(s), N)ext, or Q)uit > 1
+
Keys 1-1 of 1 for "OpenVZ".  Enter number(s), N)ext, or Q)uit > 1
gpg: requesting key A7A1D4B6 from hkp server keys.gnupg.net
+
gpg: requesting key A7A1D4B6 from hkp server subkeys.pgp.net
gpg: key A7A1D4B6: public key "OpenVZ Project <security@openvz.org>" imported
+
...
gpg: Total number processed: 1
 
gpg:              imported: 1
 
 
</pre>
 
</pre>
  
Line 73: Line 62:
 
gpg: requesting key A7A1D4B6 from hkp server pgp.mit.edu
 
gpg: requesting key A7A1D4B6 from hkp server pgp.mit.edu
 
...
 
...
</pre>
 
 
==== Checking the imported key fingerprint ====
 
<pre>
 
$ gpg --fingerprint A7A1D4B6
 
pub  1024D/A7A1D4B6 2005-09-14
 
      Key fingerprint = DEAB A031 F0A1 8848 9D71  01D2 92A6 0DA6 A7A1 D4B6
 
uid                  OpenVZ Project <security@openvz.org>
 
sub  1024g/FCF77DF7 2009-02-06
 
 
</pre>
 
</pre>
  
 
=== Checking the signature ===
 
=== Checking the signature ===
  
To check the signature, you need to have both the main file (e.g. the template tarball) and the signature file (the one which ends in <tt>.asc</tt>).
+
To check the signature, you need to have both the main file (e.g. the template tarball) and the signature file (the one which ends in <tt>.asc</tt>. Assuming you want to check the signature of <tt>centos-4-i386-default.tar.gz</tt> file:
 
 
Assuming you want to check the signature of <tt>centos-4-i386-default.tar.gz</tt> file:
 
 
<pre>
 
<pre>
 
$ gpg --verify centos-4-i386-default.tar.gz.asc
 
$ gpg --verify centos-4-i386-default.tar.gz.asc

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)