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

Signing and key derivation: support configuring auth prompt texts #2286

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

cpetrov
Copy link
Member

@cpetrov cpetrov commented Jan 19, 2024

For keys that require authentication, a prompt is shown to the user on Android to confirm the operation. The texts were previously hard-coded. This change allows to configure them via an options object passed to subtle.sign(), subtle.deriveKey() and subtle.deriveBits(). When the key is not protected by a user authentication requirement, the authentication options are ignored.

For keys that require authentication, a prompt is shown to the user on
Android to confirm the operation. The texts were previously hard-coded.
This change allows to configure them via an options object passed to
`subtle.sign()`, `subtle.deriveKey()` and `subtle.deriveBits()`. When
the key is not protected by a user authentication requirement, the
authentication options are ignored.

Prefer using an object over two separate parameters to allow adding
more Tabris.js proprietary options in the future.
@cpetrov cpetrov merged commit 8d66003 into master Jan 25, 2024
1 check passed
@cpetrov cpetrov deleted the mr-auth-prompt-options branch January 25, 2024 08:58
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

Successfully merging this pull request may close these issues.

None yet

2 participants