• 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: Odd result parsing keychain password
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Odd result parsing keychain password
      • From: "John C. Welch" <email@hidden>
References: 
 >Re: Odd result parsing keychain password (From: "John C. Welch" <email@hidden>)

  • Prev by Date: Re: Odd result parsing keychain password
  • Next by Date: Re: Odd result parsing keychain password
  • Previous by thread: Re: Odd result parsing keychain password
  • Next by thread: Re: Odd result parsing keychain password
  • Index(es):
    • Date
    • Thread