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

AccessControl for publicKey doesn't restrict to biometryCurrentSet flag #52

Open
romanbaitaliuk opened this issue Dec 4, 2020 · 3 comments

Comments

@romanbaitaliuk
Copy link

Hi,

I've found your helper is really useful. Despite, I couldn't understand the AccessControl for publicKey. When I set it to [.biometryCurrentSet, .privateKeyUsage] it doesn't ask me to authenticate with FaceID/TouchID when encrypting data.

Do you know why is it happening?

I believe there is no point to have those flags when create KeyPair manager, we can just provide AccessControl for privateKey.

Thanks,
Roman

@hfossli
Copy link
Contributor

hfossli commented Feb 1, 2021

Simulator or device?

@romanbaitaliuk
Copy link
Author

I've tried on real device.

@hfossli
Copy link
Contributor

hfossli commented Feb 4, 2021

I agree with your point though I believed it would be the same for public key

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

2 participants