3

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?

3

1 Answer 1

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

12
  • 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! Aug 20, 2018 at 9:06
  • Btw, any idea how to create a combined icon manually with Applescript or so? Aug 20, 2018 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, 2018 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). Aug 20, 2018 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, 2018 at 14:16

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