Re: Keychain Leopard->Tiger broken (unicode related?)
Re: Keychain Leopard->Tiger broken (unicode related?)
- Subject: Re: Keychain Leopard->Tiger broken (unicode related?)
- From: Loren Ryter <email@hidden>
- Date: Fri, 16 Nov 2007 21:56:20 -0500
- Thread-topic: Keychain Leopard->Tiger broken (unicode related?)
Emmanuel,
This is a separate issue I've also had to work around in Tiger. If you
address a remote machine with eppc:// without a password and let the person
running the script save it in the keychain as you describe, you'll get a
crash every time the next time it is called (or at least in my experience).
Long ago I filed a bug report about it long ago but AFAIK it was never
fixed.
The work around is to address it as eppc://user:email@hidden
This in fact is the reason I use keychain in the first place, to bypass the
way Keychain Access stores eppc:// keys, and store the pass in the keychain
separately.
On 11/16/07 6:23 PM, "Emmanuel" <email@hidden> wrote:
> On Nov 16, 2007, at 9:11 AM, Loren Ryter wrote:
>> Here's a crucial Keychain Scripting script that compiles and runs fine on
>> Leopard but generates an error when moved to Tiger without recompiling. If
>> you recompile it on Tiger then it works again!
>>
>> set thekey to "some_existing_generic_key_name"
>> -- obviously you have to change thekey variable to an existing generic key
>> on login.keychain
>> tell application "Keychain Scripting"
>> tell keychain "login.keychain"
>> set thekey to some generic key whose name = thekey
>> end tell
>> end tell
>
> I don't know if it's related, and I don't know it it's well known but
> just in case, with recent Tigers:
>
> I do: tell app "blah" of machine "eppc://someurl". I am asked the
> user and password. I check "save in keychain" (or whatever.) Later, I
> rerun the same line, I'm not asked the password but the application
> crashes (repeatably.) I go in Keychain, that key is labelled as
> "cppe://someurl", I can delete it and all is well again. I do similar
> things with afp, I get no crash - that said, I've not installed
> 10.4.11 yet :-)
>
> Emmanuel
> _______________________________________________
> 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
_______________________________________________
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