identityservicesd是什么?

*只是一个前提,我的电脑(MacBook Pro(Retina, 15寸,2015年中期),Mojave 10.14.4)没有明显的问题,而我是边学边做的。 在整理电脑的过程中,我注意到登录钥匙串里有一个名为<key>的密钥。

Who dis? identityservicesd.app

唯一列出的信息是 identityservicesd.app

关于 identityservicesd,在 Google、StackExchange、StackOverflow、Apple Support Forums、Reddit 和博客上可以找到的内容有:

  1. Macinside.info - identityservicesd 是一个后台进程(身份服务守护程序),用于处理第三方凭据。
  2. 人们抱怨有错误、性能问题、登录错误、重复提示请求系统访问以及安全问题。
  3. 推荐解决这些问题的方法(如果您遇到这些问题,大多数人都建议按照这些 步骤 进行操作)。
  4. 关于该进程没有其他信息。

我的问题是:

  • identityservicesd 是什么?
  • 为什么我的钥匙串中的凭据只被命名为 <key>
即使这是一个后台良性的过程,当它必须与用户交互时,它似乎表现出一种奇怪的方式。这对于没有相关知识的人(比如我)来说可能非常令人担忧或困惑。由于关于此事的信息相当有限,至少我希望能够澄清我所描述的奇怪行为。
我想把我搜索系统时使用的过程列出来,因为像我这样缺乏经验的人可能会到处搜索,并拼凑出类似的东西。希望这会节省您浪费时间,或者至少会有所帮助。 这在我的Mac上在哪里? 使用sudo find / -iname "*identityservicesd*"
/System/Library/Sandbox/Profiles/com.apple.identityservicesd.sb    
/System/Library/LaunchAgents/com.apple.identityservicesd.plist 
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/MacOS/identityservicesd
/private/var/root/Library/Preferences/com.apple.identityservicesd.plist
/private/var/folders/cy/[hash#]/T/com.apple.identityservicesd
/private/var/folders/cy/[hash#]/C/com.apple.identityservicesd
~/Library/Preferences/ByHost/com.apple.identityservicesd.[hash#].plist
~/Library/Preferences/com.apple.identityservicesd.plist
注意:[hash#] 是我自己输入的。而且之前通过更改隐私权限成功地解决了“操作不允许”的错误,但是该错误又出现了,现在无法访问它。 sudo locate -i "*identityservicesd*" 的预期效果。只在系统文件中搜索,但可以深入到文件内部。
/System/Library/LaunchAgents/com.apple.identityservicesd.plist
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Info.plist
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/MacOS
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/MacOS/identityservicesd
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/PkgInfo
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/FaceTime.icns
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/IDS.icns
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ar.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ar.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ar.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ca.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ca.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ca.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/com.apple.private.alloy.digitalhealth.plist
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/com.apple.private.alloy.facetime.lp.plist
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/cs.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/cs.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/cs.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/da.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/da.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/da.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/de.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/de.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/de.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/el.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/el.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/el.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/en.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/en.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/en.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/en_AU.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/en_AU.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/en_AU.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/en_GB.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/en_GB.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/en_GB.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/es.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/es.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/es.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/es_419.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/es_419.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/es_419.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/fi.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/fi.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/fi.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/fr.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/fr.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/fr.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/fr_CA.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/fr_CA.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/fr_CA.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/he.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/he.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/he.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/hi.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/hi.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/hi.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/hr.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/hr.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/hr.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/hu.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/hu.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/hu.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/iCloud.icns
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/id.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/id.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/id.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/it.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/it.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/it.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ja.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ja.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ja.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ko.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ko.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ko.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ms.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ms.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ms.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/nl.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/nl.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/nl.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/no.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/no.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/no.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/pl.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/pl.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/pl.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/pt.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/pt.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/pt.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/pt_PT.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/pt_PT.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/pt_PT.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ro.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ro.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ro.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ru.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ru.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/ru.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/sk.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/sk.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/sk.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/sv.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/sv.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/sv.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/th.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/th.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/th.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/tr.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/tr.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/tr.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/uk.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/uk.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/uk.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/vi.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/vi.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/vi.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/zh_CN.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/zh_CN.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/zh_CN.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/zh_HK.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/zh_HK.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/zh_HK.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/zh_TW.lproj
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/zh_TW.lproj/IDSLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/Resources/zh_TW.lproj/IdentityServicesLocalizable.strings
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/_CodeSignature
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/_CodeSignature/CodeResources
/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/version.plist
/System/Library/Sandbox/Profiles/com.apple.identityservicesd.sb 
一切看起来都很好。 将搜索范围扩大到"identityservices",find~/Library中捕获到了"identityservices"和"identityservicesd"文件。 sudo mdfind -onlyin ~/Library "identityservices"~/Library中找到0个文件。 这两个命令的搜索方式当然是不同的。 整个搜索的起因是,在搜索文件名时,mdfind能够找到~/Library中的其他文件,但是当搜索~/Library/IdentityServices时却找不到。一开始我以为这是一些恶意行为,但现在我觉得可能只是没有列出来。 证书 codesign --display --verbose=4 /System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app
Executable=/System/Library/PrivateFrameworks/IDS.framework/identityservicesd.app/Contents/MacOS/identityservicesd
Identifier=com.apple.identityservicesd
Format=app bundle with Mach-O thin (x86_64)
CodeDirectory v=20100 size=60332 flags=0x0(none) hashes=1878+5 location=embedded
Platform identifier=7
VersionPlatform=1
VersionMin=658944
VersionSDK=658944
Hash type=sha256 size=32
CandidateCDHash sha256= <hash>
Hash choices=sha256
Page size=4096
CDHash= <hash>
Signature size=4485
Authority=Software Signing
Authority=Apple Code Signing Certification Authority
Authority=Apple Root CA
Info.plist entries=31
TeamIdentifier=not set
Sealed Resources version=2 rules=13 files=84
Internal requirements count=1 size=76

我关心的是三件事:TeamIdentifier未设置、Authority问题,以及无法从shasum -a 256 <file>获得输出。

  1. openssl dgst -sha256 <file>解决了哈希检查。
  2. 仍然不知道为什么TeamIdentifier未设置。
  3. 根据苹果的TrustStore,"Apple Root CA"是可信任的,然而我找不到"Apple Code Signing Certification Authority"或"Software Signing"的提及。

编辑:经过进一步研究,我对以下内容感到非常自信:

1. identityservicesd TeamIdentifier未设置是可以的,与terminal.app Apple Dev Code Signing Guide进行比较后确认。

2. "软件签名"也可以。软件签名

1这个问题看起来非常广泛。是否有一个更具体的问题,可以在一两段中回答?如果是这样,请编辑帖子,在最后提出一个具体的问题,这样我们至少可以帮助您在理解这个系统守护进程的道路上迈出一步。 - bmike
1这个问题没问题。在得到答案之前,不要犯错误,并确保macOS对其中包含的东西都没有问题,无论是键盘驱动程序还是identityserviced。我也有这个<key>。 - Croll
1@bmike 我同意。我的意图是创建一个地方,既确认了identityservicesd的身份,又解释了为什么OSX Keychain Access只显示<key>而没有其他与所涉及应用程序相关的信息。我认为我在最后一个问题上变得过于笼统了。在这里,我希望有经验的人能够在一个地方发布建议,供像我这样没有经验的人阅读,涵盖了一些自行研究/诊断关键和证书时的方法。如果这仍然过于笼统或被视为两个帖子,我将删除这个问题并单独发布它。 - Vili
@bmike 更具体一点? - Vili
1个回答

你发布的一切看起来都很正常。

这是一个系统守护程序,帮助管理个人身份识别和/或可能被跟踪或损害隐私的物品,如果它们只是以普通方式存储在标准位置的文件系统中,那么会对您的隐私造成威胁。


1非常清晰简洁。我可以看到这将消除大部分困惑,并为那些审查可疑流程或文件的人提供一个良好的框架。 - Vili
4为什么这个过程需要访问互联网呢? - Lethargos
1密钥/证书吊销列表等通常由操作系统外部托管。@Lethargos - bmike