Open yaneti opened 6 years ago
Yes, this is really annoying.
Does anyone know how to disable this WARNING?
@sidpremkumar I was able to disable this by editing the default config /etc/fedmsg.d/ssl.py
and setting the value of validate_signatures
to False
.
And to disable the warning from code that calls tail_messages
you have to slightly abuse fedmsg:
import fedmsg
fedmsg.destroy()
fedmsg.init(validate_signatures=False)
https://github.com/fedora-infra/fedmsg/blob/c21d6b3ce023fc3c0e881c704f5b55fb6e6392d7/fedmsg/crypto/utils.py#L97
I am using the simplest form of tail message with the default fedmsg config
and my log is filled with:
No routing policy defined for "org.fedoraproject.prod.buildsys.build.state.change" but routing_nitpicky is False so the message is being treated as authorized.
on each koji messagewhich is quite useless imho. The default config is not to be nitpicky..