hamster116 wrote:
There is a certificate (not a key) in my keychain called 'com.apple.ubiquity.peer-uuid", which was marked as untrusted. I opened it's info dialog and set it to "always trust".
Good eye. I noticed the extra keychain entries but didn't think to 'trust' the certficiate. Though this has not resolved the issue of ubd spiking CPU usage and more certificates/keys being created (no matter how many I "trust").
FWIW: you can tail your ~/Library/Logs/Ubiquity/{username}/ubiquity.log and see the certficiate errors every few seconds.
[ERROR] 5041c5de5e10 [11/10/17 16:35:56.047] 13116.main copy_mme_bag:156 copyPreferredMobileMeName failed
[ERROR] 5041c5dfac36 [11/10/17 16:35:56.047] 13116.main ubd_main:2030 null personid
[ERROR] 5041c70a0399 [11/10/17 16:35:56.067] 13116.main find_existing_identity_unsafe:963 error -25300 from SecItemCopyMatching
[ERROR] 5041c79acafc [11/10/17 16:35:56.076] 13116.main find_existing_identity_unsafe:963 error -25300 from SecItemCopyMatching
--[ERROR] 50422bafc893 [11/10/17 16:35:57.755] 13116.main find_existing_identity_unsafe:963 error -25300 from SecItemCopyMatching
[ERROR] 5042825ac3de [11/10/17 16:35:59.209] 13116.main createSelfSignedCertificate:52 error: Error Domain=NSOSStatusErrorDomain Code=-25299 "The operation couldn’t be completed. (OSStatus error -25299.)" ( / The item already exists.)
[ERROR] 5042825ff022 [11/10/17 16:35:59.209] 13116.main create_new_identity_unsafe:989 failed to find an existing identity and failed to create a new one
[ERROR] 5042be133f3f [11/10/17 16:36:00.211] 13116.main find_existing_identity_unsafe:963 error -25300 from SecItemCopyMatching
[ERROR] 5042e63362ea [11/10/17 16:36:00.884] 13116.main createSelfSignedCertificate:52 error: Error Domain=NSOSStatusErrorDomain Code=-25299 "The operation couldn’t be completed. (OSStatus error -25299.)" ( / The item already exists.)
[ERROR] 5042e634918f [11/10/17 16:36:00.884] 13116.main create_new_identity_unsafe:989 failed to find an existing identity and failed to create a new one
[ERROR] 504321ee3444 [11/10/17 16:36:01.886] 13116.main find_existing_identity_unsafe:963 error -25300 from SecItemCopyMatching
[ERROR] 50440def58e3 [11/10/17 16:36:05.846] 13116.main createSelfSignedCertificate:52 error: Error Domain=NSOSStatusErrorDomain Code=-25299 "The operation couldn’t be completed. (OSStatus error -25299.)" ( / The item already exists.)
[ERROR] 50440df08e7a [11/10/17 16:36:05.846] 13116.main create_new_identity_unsafe:989 failed to find an existing identity and failed to create a new one
[ERROR] 504449a35eb8 [11/10/17 16:36:06.847] 13116.main find_existing_identity_unsafe:963 error -25300 from SecItemCopyMatching
[ERROR] 5044a1993f0e [11/10/17 16:36:08.323] 13116.main createSelfSignedCertificate:52 error: Error Domain=NSOSStatusErrorDomain Code=-25299 "The operation couldn’t be completed. (OSStatus error -25299.)" ( / The item already exists.)
[ERROR] 5044a19a6e77 [11/10/17 16:36:08.323] 13116.main create_new_identity_unsafe:989 failed to find an existing identity and failed to create a new one
[ERROR] 5044dd4c1e33 [11/10/17 16:36:09.325] 13116.main find_existing_identity_unsafe:963 error -25300 from SecItemCopyMatching