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

Support setting authentication time so you can do multiple sign operation within the specified time frame #7

Open
TimoGlastra opened this issue Aug 23, 2024 · 1 comment

Comments

@TimoGlastra
Copy link
Member

TimoGlastra commented Aug 23, 2024

@TimoGlastra
Copy link
Member Author

TimoGlastra commented Aug 23, 2024

Also nice to have: allow authentication for multiple keys. This would e.g. allow to receive a sd-jwt and mdoc bound to different keys with a single biometric authentication prompt.

For iOS we can create an authentication context beforehand, and then pass a reference to the context: https://developer.apple.com/documentation/security/ksecuseauthenticationcontext.

We should probably add a method that allows creating an authentication context, and then you get back an identifier that you can use for the specified period of time.

For android the developer.android.com/reference/android/security/keystore/KeyGenParameterSpec.Builder#setUserAuthenticationParameters(int,%20int) authenticates all keys for the period of time, which does have security implications.

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