Skip to content

🐛 Bug: Biometric prompt not shown during createKeys() on Android #82

@tannguyen05

Description

@tannguyen05

Describe the bug
According to the documentation, when calling createKeys() with biometric protection enabled (setUserAuthenticationRequired(true)), Android should display a biometric prompt during key creation.

However, in actual implementation, no biometric prompt is shown when calling createKeys(), even though the key is expected to be crypto-bound.

To Reproduce
Steps to reproduce the behavior:

  1. Call:
    createKeys(KEY_ALIAS, 'ec256');
  2. Ensure biometric is available and enrolled on device
  3. Observe behavior

Expected behavior
A biometric prompt should be displayed during key creation

**Environment

  • Platform: Android
  • Android Version: 16
  • Device: Samsung S23U

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions