Bug 864473

Summary: does not work gpg-key function in channel configuration
Product: [Community] Spacewalk Reporter: ivani4 <binka90>
Component: ReleaseAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.8CC: jpazdziora, mmraka
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-11 11:41:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 871344    

Description ivani4 2012-10-09 12:45:21 UTC
I have a channel with the vmware-tools, some packages in this channel requires GPG-key.
Some packages in this channel requires GPG-key. In channel settings -> section gpg, I prescribe: 1) Link GPG-key, 2) ID GPG-key 3) Fingerprint GPG-key

then

On the host trying to install "yum install-y vmware-tools-esx vmware-tools-esx-kmods" ->  get the error "warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID 66fd4949: NOKEY"

but

If I add on the host vmware gpg-key "rpm - import http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub" -> everything works

any ideas? ^_^

Comment 1 Jan Pazdziora (Red Hat) 2012-10-10 17:20:16 UTC
(In reply to comment #0)
> I have a channel with the vmware-tools, some packages in this channel
> requires GPG-key.
> Some packages in this channel requires GPG-key. In channel settings ->
> section gpg, I prescribe: 1) Link GPG-key, 2) ID GPG-key 3) Fingerprint

What exactly do you put in as the Link GPG key?

Comment 2 ivani4 2012-10-11 08:31:35 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > I have a channel with the vmware-tools, some packages in this channel
> > requires GPG-key.
> > Some packages in this channel requires GPG-key. In channel settings ->
> > section gpg, I prescribe: 1) Link GPG-key, 2) ID GPG-key 3) Fingerprint
> 
> What exactly do you put in as the Link GPG key?

In 1) Link GPG-Key i put:
 http://packages.vmware.com/tools/keys/VMWARE-PACKAGING-GPG-RSA-KEY.pub
In 2) ID GPG-key:
 66FD4949
In 3) Fingerprint GPG-key:
  36E4 7E1C C4DC C5E8 152D 115C C0B5 E0AB 66FD 4949

Comment 3 Michael Mráka 2012-10-11 08:45:42 UTC
See explanation in 
https://www.redhat.com/archives/spacewalk-list/2012-January/msg00201.html
https://bugzilla.redhat.com/show_bug.cgi?id=530598 

On the other hand I agree yum-rhn-plugin should be more verbose about reasons for automatic key import rejection.

Comment 4 ivani4 2012-10-11 11:41:24 UTC
(In reply to comment #3)
> See explanation in 
> https://www.redhat.com/archives/spacewalk-list/2012-January/msg00201.html
> https://bugzilla.redhat.com/show_bug.cgi?id=530598 
> 
> On the other hand I agree yum-rhn-plugin should be more verbose about
> reasons for automatic key import rejection.

Thank you!

I'll put key txt in "Configuration" -> subscribe channel to this files -> write path to this keys in channel section & everything works now.