Page 1 of 1

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

Posted: 2012/08/06 17:46:47
by Rocksockdoc
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]

What is the process for locating & importing encryption keys

Posted: 2012/08/06 19:23:23
by pschaff
[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].