3

This question already has an answer here:

By using Google and Co. and the built-in terminal command locate, I already found the following icons:

/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/UnlockedIcon.icns /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/LockedIcon.icns

But their resolution is not very high.

I am looking for the icon that is displayed every time one has to authenticate (f.ex. when unlocking the keychain):

I think it exists without the little keys. I cannot find it under /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/.

Do you know where this icon is hidden? Thanks a lot!

Related to this post: Where is the icon used in this dialogue box?

marked as duplicate by JBis, Ɱark Ƭ, Community Aug 20 '18 at 12:41

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Just for others; here's another tool that still seems to be maintained: github.com/insidegui/AssetCatalogTinkerer – T.Meyer Aug 20 '18 at 9:10
  • T Meyer. Are you ok with closing as dupe? – bmike Aug 20 '18 at 11:28
  • Its basically the same, yes. Just found that question a bit later. – T.Meyer Aug 20 '18 at 12:40
3

Apple doesn’t store all icons anymore for compound items and overlays the key icon over the lock icon in this case. The same with the finder icon over the lock.

Here are the two sources:

Lock Icon

The lock icon is located in

/System/Library/CoreServices/SystemAppearance.bundle/Contents/Resources/Assets.car
  1. Install Theme Engine

    Note: You may want to download the released version.

  2. Open the file

  3. Select Security
  4. Drag the icon to the desktop to convert to a png

enter image description here

Keychain Icon

macOS just places the app icon in front of it. In this case the KeyChain icon is in

/Applications/Utilities/Keychain Access.app/Contents/Resources/AppIcon.icns

enter image description here

  • Great! Finally got the answer. If you'd like to get some bonus (50 rep); I started a bounty on the old thread: apple.stackexchange.com/questions/223009/… @JBis Thank you very much! – T.Meyer Aug 20 '18 at 9:06
  • Btw, any idea how to create a combined icon manually with Applescript or so? – T.Meyer Aug 20 '18 at 9:16
  • @T.Meyer Photoshop? Preview? Don't think its possible in AppleScript. If you need a single image then I can make one for you in photoshop. – JBis Aug 20 '18 at 13:25
  • Ok. No, thats very kind, I already did it myself with the default Preview app (just a simple copy & paste and adjusting the image size). I was just wondering how Apple creates all the images for their dialogs (popups). – T.Meyer Aug 20 '18 at 14:15
  • @T.Meyer Cocca probably. If you ask on SO you can prob find way to create that icon. May I ask why you need the icon? – JBis Aug 20 '18 at 14:16

Not the answer you're looking for? Browse other questions tagged .