Re: Keychain Scripting
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