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

Create a better API for handling various devices better #27

Open
hfossli opened this issue Apr 19, 2018 · 2 comments
Open

Create a better API for handling various devices better #27

hfossli opened this issue Apr 19, 2018 · 2 comments

Comments

@hfossli
Copy link
Contributor

hfossli commented Apr 19, 2018

It should be easy to configure for

  • devices with SE & with passcode & with biometry
  • devices with SE & with passcode & without biometry
  • devices with SE & without passcode & with biometry (is this possible?)
  • devices with SE & without passcode & without biometry
  • devices without SE & with passcode
  • devices without SE & without passcode

Fallback to .applicationPassword etc should be easy to do and it should be hard to forget devices / setups.

#25

@hfossli
Copy link
Contributor Author

hfossli commented Apr 19, 2018

I think in general it is better to try to create a key with highest security and then fallback instead of up-front trying to configure and guess the devices capabilities.

@hfossli
Copy link
Contributor Author

hfossli commented Apr 23, 2018

Just a note: Setting .privateKeyUsage alone yields -25293 unless the key is stored on secure enclave

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

1 participant