What is the process for locating & importing encryption keys for any specific package installation?

General support questions
Post Reply
Rocksockdoc
Posts: 414
Joined: 2012/03/29 20:12:28

What is the process for locating & importing encryption keys for any specific package installation?

Post by Rocksockdoc » 2012/08/06 17:46:47

How do I FIND and then IMPORT the right keys?

In another thread, I'm struggling with an installation where I need to find & import the correct encryption keys:
- [url=https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=38616&forum=55]How do we install the Azureus BitTorrent client on Centos 6 (to replace Transmission)?[/url]

I think I know how to IDENTIFY the keys:
[code]
$ rpm -K azureus-4.3.1.4-1.fc13.noarch.rpm
REPORTS:
azureus-4.3.1.4-1.fc13.noarch.rpm: RSA sha1 ((MD5) PGP) md5 NOT OK (MISSING KEYS: (MD5) PGP#e8e40fde)

$ rpm --checksig -v azureus-4.3.1.4-1.fc13.noarch.rpm
REPORTS:
azureus-4.3.1.4-1.fc13.noarch.rpm:
Header V3 RSA/SHA256 Signature, key ID e8e40fde: NOKEY
Header SHA1 digest: OK (e9a55d91ea2ac3d904becec7c5cdb56c697a5214)
V3 RSA/SHA256 Signature, key ID e8e40fde: NOKEY
MD5 digest: OK (5d8cf511b3f9922c5283d6ec787e87df)
[/code]

But I need to know how to download & import those keys:
[code]
$ sudo rpm --import PUBKEY https://fedoraproject.org/static/E8E40FDE.txt
REPORTED: error: PUBKEY: import read failed(2).

$ sudo rpm --import PUBKEY ./file.txt <=== where file.txt was a cut and paste of https://fedoraproject.org/static/E8E40FDE.txt
REPORTED: error: PUBKEY: import read failed(2).
[/code]

Obviously I'm doing something wrong ...

[b]Q: What is the process for FINDING the right keys and then importing them so that rpm -K works?[/b]

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

What is the process for locating & importing encryption keys

Post by pschaff » 2012/08/06 19:23:23

[quote]
Rocksockdoc wrote:
...
Obviously I'm doing something wrong ... [/quote]
Yes. You are trying to install Fedora binaries on EL6.

[/quote]
[b]Q: What is the process for FINDING the right keys and then importing them so that rpm -K works?[/b][/quote]
There is no general procedure. Many examples can be found on the [url=http://wiki.centos.org/AdditionalResources/Repositories]Repositories[/url] page.

Please do not start multiple topics on the same issue. This one is locked. Any replies should go to the [url=https://www.centos.org/modules/newbb/viewtopic.php?topic_id=38645&forum=55&post_id=168520#forumpost168520]other related topic[/url].

Post Reply

Return to “CentOS 6 - General Support”