Allison Moyer

Results 11 comments of Allison Moyer

@dfed Yep! I'm trying to store a password token in the SecureEnclaveValet, but on retrieval, I want the fallback option that `evaluatePolicy` allows for, to instruct the user to instead...

Correct, it's mainly a UI issue. And it's not the phone passcode we want to allow them to fallback to (we explicitly don't want that as a fallback), it's their...

To clarify what's happening: We have a part of the app that is password-protected. We want to allow customers to enter that part with biometrics instead of entering their password...

The `LAContext` wouldn't be satisfied with the app password. It's just a UI nice-ity that allows us to show a button other than `Cancel` that we can handle differently. In...

And yeah, that's the correct use case, but it's more about the UI of allowing in-app logic fallback than actually implementing any such logic. It's the difference in UI in...

Yeah exactly, no access to the keychain in the fallback case. We just send the password directly to the server. In the case that biometrics do succeed, we send the...

Yep, I think that captures it @dfed, thanks. I'll try out your suggestion locally and let you know if something like that could work for this 👍

Looked at this again. The difference is that using `evaluatePolicy` is an async operation. So here's an option providing a completion: ``` public func string( forKey key: String, withPrompt userPrompt:...

Ah I didn't think about trying to keep it synchronous like that. Yeah, it seems like if the system prompts for keychain lookup can be synchronous, should be safe for...

@dfed I have something that works for my use case, but having trouble pushing my local branch. Are there any special permissions I need?