Katello: Remove GPG key limit

Problem:
GPG key size is limited to 100000 characters.
Some products keys are longer (multiple keys).
Cassandra is a nice example:

Expected outcome:
Katello should accept any GPG key file, and/or synchronize keys from their URL.

Foreman and Proxy versions:
Foreman 1.16

Foreman and Proxy plugin versions:
Katello 3.5

Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]

Cassandra example seems to imply the key list is subject to regular updates, that’s why I’m talking about URL sync.

Do you mind opening a feature request at Foreman ?

I would open two, one to increase the size limit, and a second detailing some sort of syncing operation. (I’m not honestly sure if i agree with syncing of gpg keys from some external source, but it would be a good discussion.) We should be able to increase the limit fairly easily.

Done:

I’m also concerned about this one, as Puppet PC1 and Gitlab repos are using multiple keys: Feature #11966: Multiple GPG Keys - Katello - Foreman

Thanks !

1 Like

I assigned the sync gpg key issue to myself. Can someone update the issue
with pros/cons of sync’ing gpg keys directly? Are there reasons this should
not be implemented?
http://projects.theforeman.org/issues/22957