• 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: Intermittent NSURLCredential lookup failure on iOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Intermittent NSURLCredential lookup failure on iOS


  • Subject: Re: Intermittent NSURLCredential lookup failure on iOS
  • From: "Quinn \"The Eskimo!\"" <email@hidden>
  • Date: Mon, 08 Apr 2013 09:56:38 +0100

On 5 Apr 2013, at 18:38, Jens Alfke <email@hidden> wrote:

> The credential’s been stored persistently, i.e. in the app’s keychain. Is there any known issue in iOS where URL credential lookup might intermittently fail?

I helped someone with this issue in the context of a DTS TSI, but they adopted a workaround before we got to the bottom of the problem.  The intermediate conclusion was that there's something going wrong at the SecItem API level.  This is based on the fact that .hasPassword was returning YES but .password wasn't returning the actual password.  Unfortunately NSURLCredential doesn't log the errors it gets back from the SecItem API, so it was hard to make further progress.  What I'd like to see is this being reproduced on the simulator, at which point we can use DTrace to probe the problem at the SecItem layer would perturbing it too much.

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Intermittent NSURLCredential lookup failure on iOS (From: Jens Alfke <email@hidden>)

  • Prev by Date: When does NSURLConnection proactively send authorization?
  • Next by Date: Missing rt_priority in user-space visibility into kernel routing state?
  • Previous by thread: Intermittent NSURLCredential lookup failure on iOS
  • Next by thread: When does NSURLConnection proactively send authorization?
  • Index(es):
    • Date
    • Thread