• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Keychain Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keychain Scripting


  • Subject: Re: Keychain Scripting
  • From: Philip Aker <email@hidden>
  • Date: Wed, 23 May 2007 14:43:41 -0700

On 2007-05-23, at 13:10:10, LuKreme wrote:

I have the barebones of a script:

set shortName to do shell script "/usr/bin/id -un"
tell application "Keychain Scripting"
	set myKeyChain to keychain shortName
	set myList to every Internet key of myKeyChain
	repeat with x from 1 to (length of myList)
		set myKey to item x of myList
		set myPass to password of myKey --grab the password
		set myID to the account of myKey --grab the userid
	end repeat
end tell

I want to build on this script to have an easyway to dump the contents of a keychain, import new info into the keychain, and access the keychain via the command line when logged in remotely.

The trouble is that every time I try to do anything, I have to grant permission to script editor for EVERY SINGLE KEY.

Hi,

I don't understand why you're using Script Editor for this purpose.


Philip Aker email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Keychain Scripting (From: LuKreme <email@hidden>)

  • Prev by Date: Re: Keychain Scripting
  • Next by Date: Re: Rookie - Import Mail mailbox followup
  • Previous by thread: Re: Keychain Scripting
  • Next by thread: re: KeyChain Scripting
  • Index(es):
    • Date
    • Thread