A couple of weeks ago trustd started hogging one of my cores. I tried the usual "delete System.keychain", but it didn't work. I also tried re-installing Mojave, which worked for a few days before trustd went crazy again.
Finally found a solution yesterday.
The author mentions how the problem also affects handheld AppleOS devices, which can only be detected (and fixed) if they're jailbroken. He suspects it arrived with the security updates in late April, like 2021-003 for Mojave.
The solution (deleting some sqlite3 files in /Library/Keychains/crls) also solved a problem I'd had for a long time, where Mojave would take 15 minutes or so to settle down after a boot with a bunch of daemons running. Now it takes only a few minutes.
The fact that the blog author fixed his system some time ago without the problem re-occurring (apparently) gives me hope that forcing the trustd sqlite clean-up is the right solution.
Finally found a solution yesterday.
The author mentions how the problem also affects handheld AppleOS devices, which can only be detected (and fixed) if they're jailbroken. He suspects it arrived with the security updates in late April, like 2021-003 for Mojave.
The solution (deleting some sqlite3 files in /Library/Keychains/crls) also solved a problem I'd had for a long time, where Mojave would take 15 minutes or so to settle down after a boot with a bunch of daemons running. Now it takes only a few minutes.
The fact that the blog author fixed his system some time ago without the problem re-occurring (apparently) gives me hope that forcing the trustd sqlite clean-up is the right solution.