Previous 1 2 Next 18 Replies Latest reply: Aug 11, 2011 10:58 AM by PathToDesktop
Marcos Kirsch Level 1 (40 points)

I just upgraded to Lion. When I tried to open the Address Book, a Choose Application comes up asking "Where is Keychain Scripting?". I have no idea what it's talking about and Spotlight did not help find anything called Keychain Scripting. Any ideas?


MacBook Core 2 Duo, Mac OS X (10.6.4), Mac mini Intel Core Duo
  • matt.maier Level 1 (0 points)

    and since the app is now gone, anyone know of an alternative for accessing items stored in the keychain?

  • jayfromraleigh Level 1 (0 points)

    Same here.. I have a VPN script that used it in Snow Leopard, but now it's gone so the script bails. What is the replacement?

  • Marcos Kirsch Level 1 (40 points)

    Oddly enough, I selected Address Book.app from the list in the dialog and Address Book launched (seemingly) fine.

  • matt.maier Level 1 (0 points)

    the specific script i'm having issues with doesn't want to work and when i edit it in applescript editor, the editor wants to know the location of "Keychain Scripting.app". looking in the location where it was, /System/Library/ScriptingAdditions/Keychain Scripting.app - it's no longer there.

  • jayfromraleigh Level 1 (0 points)

    FWIW... I copied the "Keychain Scripting.app" file from my pre-Lion backup to the Scripting Additions directory in Lion and everything worked fine... Not sure why they removed it or if there was something new to replace it. At any rate, the Snow Leopard version works fine in Lion.

  • baltwo Level 9 (62,215 points)

    Restore these from your SL backup and recompile any scripts you made using them. All of mine run in Lion w/o issues

     

    Keychain Scripting.app 4.0.2
    URL Access Scripting.app 1.1.1

     

    AFAIK, you need to run these in Terminal so as to not run into any permissions issues:

     

    sudo chown root:wheel /System/Library/ScriptingAdditions/Keychain\ Scripting.app
    sudo chown root:wheel /System/Library/ScriptingAdditions/URL\ Access\ Scripting.app

  • Jim Bailey Level 3 (740 points)

    Thanks. That is very helpful.

     

    I would really like a kb article on this though. Is the missing keychain scripting app an oversight or was it deprecated. If it is deprecated I will find an alternate solution. I will post a bug on the developer site and see what kind of reply I get.

     

    But in the meantime this solves my problem. Thanks.

  • baltwo Level 9 (62,215 points)

    Haven't a clue. Others have filed BRs for missing functionality during beta-testing, but no definitive response.

  • fruitmonkey Level 1 (0 points)

    Update your script to use /usr/bin/security instead of scripting.app.

  • sdpitbull Level 3 (965 points)

    Matt, the keychain application is still around (Keychain Access) if this is the one you are looking for:

     

    Screen Shot 2011-08-05 at 11.45.14 PM.png

     

    It was in my Applications > Utilities folder.

  • baltwo Level 9 (62,215 points)

    How exactly does one use the security executable in place of keychain scripting].app?

  • matt.maier Level 1 (0 points)

    i ended up hacking in security to replace keychain scripting.app.

     

    @baltwo

     

    security find-generic-password -a <Account> -g

     

    will output the information and the password can be extracted from the results. it worked for the specific need that i had.

  • baltwo Level 9 (62,215 points)

    Simpler to just migrate the two missing apps from the previous OS.

  • Jim Bailey Level 3 (740 points)

    If you open that up in the AppleScript Editor you'll find that it is not scriptable--probably for security reasons. But Apple used to provide a separate application called Keychain Scripting which no longer appears to be available in Lion--again, probably for security reasons.

Previous 1 2 Next