Creating a channel from a public repo with a GPG key

We created a channel to download the latest PHP 5.6 packages for SLES12-SP2 from https://download.opensuse.org/repositories/devel:/languages:/php/SLE_12_SP2. The GPG key for this repo is https://download.opensuse.org/repositories/devel:/languages:/php/SLE_12_SP2/repodata/repomd.xml.key, as specified in https://download.opensuse.org/repositories/devel:/languages:/php/SLE_12_SP2/devel:languages:php.repo. We specified this when we created the channel:

However, when I try to install packages from this channel, I get the following:

[CODE]# zypper in php5

Retrieving: php5-5.6.31-374.1.x86_64.rpm …[done]
php5-5.6.31-374.1.x86_64.rpm:
Header V3 DSA/SHA1 Signature, key ID cbca8bb5: NOKEY
V3 DSA/SHA1 Signature, key ID cbca8bb5: NOKEY

php5-5.6.31-374.1.x86_64 (OPENSUSE-PHP5-12-SP2-Pool for x86_64 - wcc.edu Web Servers): Signature verification failed [4-Signatures public key is not available]
Abort, retry, ignore? [a/r/i] (a): [/CODE]

Am I missing something in the channel config so the GPG key is automatically downloaded for this channel? We are running SUMA 3.1.1.

[QUOTE=achinayoung_waubonsee;39582]We created a channel to download the latest PHP 5.6 packages for SLES12-SP2 from https://download.opensuse.org/repositories/devel:/languages:/php/SLE_12_SP2. The GPG key for this repo is https://download.opensuse.org/repositories/devel:/languages:/php/SLE_12_SP2/repodata/repomd.xml.key, as specified in https://download.opensuse.org/repositories/devel:/languages:/php/SLE_12_SP2/devel:languages:php.repo. We specified this when we created the channel:

However, when I try to install packages from this channel, I get the following:

[CODE]# zypper in php5

Retrieving: php5-5.6.31-374.1.x86_64.rpm …[done]
php5-5.6.31-374.1.x86_64.rpm:
Header V3 DSA/SHA1 Signature, key ID cbca8bb5: NOKEY
V3 DSA/SHA1 Signature, key ID cbca8bb5: NOKEY

php5-5.6.31-374.1.x86_64 (OPENSUSE-PHP5-12-SP2-Pool for x86_64 - wcc.edu Web Servers): Signature verification failed [4-Signatures public key is not available]
Abort, retry, ignore? [a/r/i] (a): [/CODE]

Am I missing something in the channel config so the GPG key is automatically downloaded for this channel? We are running SUMA 3.1.1.[/QUOTE]
Hi
On the SuMA server do a manual sync, it might ask to trust the key…

spacewalk-repo-sync --channel <your_custom_channel_label>

[QUOTE=malcolmlewis;39586]Hi
On the SuMA server do a manual sync, it might ask to trust the key…

spacewalk-repo-sync --channel <your_custom_channel_label> [/QUOTE]

Thanks. Nothing in the output about trusting the key:

# spacewalk-repo-sync --channel www-opensuse-php5-12-sp2-pool-x86_64 12:54:35 ====================================== 12:54:35 | Channel: www-opensuse-php5-12-sp2-pool-x86_64 12:54:35 ====================================== 12:54:35 Sync of channel started. 12:54:37 Repo URL: https://download.opensuse.org/repositories/devel:/languages:/php/SLE_12_SP2 12:54:37 Packages in repo: 125 12:54:37 Packages passed filter rules: 63 12:54:37 No new packages to sync. 12:54:37 Repo https://download.opensuse.org/repositories/devel:/languages:/php/SLE_12_SP2 has 0 patches. 12:54:37 Sync completed. 12:54:37 Total time: 0:00:02