I'm using the latest auth plug with the addition of tobyzxj's pull request along with Mosquitto 1.5.8 and I think I found an issue in the validation of subscription topic filters. It looks like the intention of mosquitto_topic_matches_sub is to determine whether a topic matches a topic filter and not whether a topic filter matches a topic filter. According to Roger Light, topics do not have wild cards and topic filters may have wildcards. I say that only because I didn't not differentiate between the two and maybe others don't either. The result of this is that mosquitto_topic_matches_sub returns an error if the topic passed to it has a wildcard causing any subscription with a wildcard to fail.
I'm using the latest auth plug with the addition of tobyzxj's pull request along with Mosquitto 1.5.8 and I think I found an issue in the validation of subscription topic filters. It looks like the intention of mosquitto_topic_matches_sub is to determine whether a topic matches a topic filter and not whether a topic filter matches a topic filter. According to Roger Light, topics do not have wild cards and topic filters may have wildcards. I say that only because I didn't not differentiate between the two and maybe others don't either. The result of this is that mosquitto_topic_matches_sub returns an error if the topic passed to it has a wildcard causing any subscription with a wildcard to fail.