iMessage creates hundreds of Keychain entries

Originator:m.hanauska
Number:rdar://24501346 Date Originated:04-Feb-2016
Status:Open Resolved:
Product:macOS + SDK Product Version:10.11.3
Classification:Other Bug Reproducible:Always
 
There are 133 iMessage Signing Keys Private, 133 iMessage Signing Keys Public, 133 iMessage Encryption Keys Private, 133 iMessage Encryption Keys Public - that's a TOTAL OF 532 KEYS! 

I understand that iMessage may need one key per known device, but I have only 3 devices (two Macs and one iPhone). And these cannot be keys from my iMessage contacts as if they were from contacts, I would hardly have the private keys, right? I also understand it if iMessage changes these keys maybe once a while, e.g. once every year or maybe every 6 months for security reasons but it looks as if these keys get changed on every reboot! Please excuse my wording, but that's nuts!

Comments

11-Feb-2016 I replied:

Sorry for the delay. I installed the profile, made a reboot and ran sysdiagnose. File is attached. Note that I had 556 iMessage keys prior to boot and 560 after next boot, another 4 keys. Just as I expected: 4 keys are generated on every reboot.

What I don't quite understand is why you need that information. I can reproduce this issue on all my Macs! Doesn't matter if MacBook Pro or Mac Mini, they all show the very same issue, they all keep growing the number of iMessage keys and these are cloned systems, every system was a fresh install. I highly doubt that this issue is specific to my system setup. And I'm pretty sure that you can also reproduce it with your Mac. If anything, this issue may be specific to my Apple ID, as all these computers share the same Apple ID.

By m.hanauska at Jan. 17, 2017, 6:27 p.m. (reply...)

08-Feb-2016 Apple requested:

We need more information to investigate this issue.

Please grab logs using the attached profile. (Profile attached to email)

Install the attached profile Reboot Reproduce as you have been

Run: sysdiagnose (in terminal)

Then attach that output please.

By m.hanauska at Jan. 17, 2017, 6:27 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!