Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

concern about userPresence #57

Closed
Lawati97 opened this issue Apr 6, 2021 · 2 comments
Closed

concern about userPresence #57

Lawati97 opened this issue Apr 6, 2021 · 2 comments

Comments

@Lawati97
Copy link

Lawati97 commented Apr 6, 2021

The code is

EllipticCurveKeyPair.Device.hasSecureEnclave ? [.userPresence, .privateKeyUsage] : [.userPresence]

Will it be able to handle text passcode or should it be only Numeric value? (Other than FaceID if valid)

@hfossli
Copy link
Contributor

hfossli commented Apr 6, 2021

Whatever the system supports. If the users phone is configured with FaceId it will try that first - if that fails it will fallback to pin/text/passcode. If not enrolled it will try pin/text/passcode directly. It supports both simple numeric pin and text as passcode.

@Lawati97
Copy link
Author

Lawati97 commented Apr 7, 2021

because I tried using an Alphateic Passcode (Device Password for an IOS) and all of a sudden the face ID did not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants