Re: Odd result parsing keychain password
Re: Odd result parsing keychain password
- Subject: Re: Odd result parsing keychain password
- From: Gnarlodious <email@hidden>
- Date: Sat, 06 Dec 2003 22:06:33 -0700
Entity John C. Welch spoke thus:
>
> To bring the password up to 10.3 standards I need to say:
>
> set thePassword to (text 1 thru ((offset of (ASCII character 0) in
>
> thePassword) - 1) of thePassword)
>
>
>
> which returns "password"
>
Um...why are you doing this? I just use the password as it comes from the
>
keychain, and it works fine. No need to parse it at all.
What keychain are you using? Because mine uses a 64 bit string with all
invisible characters ASCII nul character:
count of items of thePassword
The volume won't mount with a password containing nul characters but wants a
password each time. And once you're stalled on the logon dialog you have to
do the rest of the formality.
If you've found some shortcut around the nul characters lay it on me. Always
willing to get rid of a line!
--Gnarlie
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.