Skip to content

Cellphone with biometrics does not generate keys #83

@Sokal21

Description

@Sokal21

A user that has a SM-A055M with only facial recognition is not being able to generate keys. This are the log of the diagnosis and the moment we try to create the pair. We have already set the security level to low.

{
  "payload_size": "566",
  "project_id": "4510307651289088",
  "timestamp_precise": "1774541240225000000",
  "device.brand": "samsung",
  "device.family": "SM-A055M",
  "device.model": "SM-A055M",
  "environment": "production",
  "message": "Biometric test {\"warnings\":[],\"errors\":[\"No biometric hardware available\"],\"results\":{\"hasEnrolledBiometrics\":true,\"canAuthenticate\":true,\"secureHardware\":true,\"testedStrength\":\"strong\",\"hardwareDetected\":false,\"sensorAvailable\":false},\"success\":false}",
  "origin": "auto.console.logging",
  "os.name": "Android",
  "os.version": "15",
  "release": "com.letsbit.app@2.18.0+254",
  "sdk.name": "sentry.javascript.react-native",
  "sdk.version": "7.2.0",
  "severity": "info",
  "trace": "f147edaae1d148caa6bc064c2571ef5c",
  "user.email": "garciaemilianocarlos@gmail.com",
  "user.id": "IDD5B4874A62",
  "id": "019d2ae677a1786fa2444c225a472ece",
  "observed_timestamp_nanos": "1774541248055088787"
}

{
  "payload_size": "524",
  "project_id": "4510307651289088",
  "timestamp_precise": "1774541240213000000",
  "device.brand": "samsung",
  "device.family": "SM-A055M",
  "device.model": "SM-A055M",
  "environment": "production",
  "message": "Biometric diagnostic info {\"keyguardSecure\":true,\"enrolledBiometrics\":[],\"securityLevel\":\"SecureHardware\",\"biometricCapabilities\":[\"None\"],\"osVersion\":\"15\",\"deviceModel\":\"samsung SM-A055M\",\"platform\":\"Android\"}",
  "origin": "auto.console.logging",
  "os.name": "Android",
  "os.version": "15",
  "release": "com.letsbit.app@2.18.0+254",
  "sdk.name": "sentry.javascript.react-native",
  "sdk.version": "7.2.0",
  "severity": "info",
  "trace": "f147edaae1d148caa6bc064c2571ef5c",
  "user.email": "garciaemilianocarlos@gmail.com",
  "user.id": "IDD5B4874A62",
  "id": "019d2ae677957efd9cf3a107367c7582",
  "observed_timestamp_nanos": "1774541248055088787"
}
{
  "payload_size": "690",
  "project_id": "4510307651289088",
  "timestamp_precise": "1774541240244000000",
  "device.brand": "samsung",
  "device.family": "SM-A055M",
  "device.model": "SM-A055M",
  "environment": "production",
  "message": "\u001b[36m[ReactNativeBiometrics]\u001b[0m \u001b[2m[2026-03-26T16:07:20.242Z]\u001b[0m \u001b[31m[ERROR]\u001b[0m \u001b[2m[createKeys]\u001b[0m \u001b[31mKey creation failed\u001b[0m {\"keyAlias\":\"com.letsbit.app\",\"keyType\":\"ec256\"} {\"message\":\"At least one biometric must be enrolled\",\"name\":\"Error\",\"stack\":\"Error: At least one biometric must be enrolled\",\"nativeStackAndroid\":[],\"userInfo\":null,\"code\":\"CREATE_KEYS_ERROR\"}",
  "origin": "auto.console.logging",
  "os.name": "Android",
  "os.version": "15",
  "release": "com.letsbit.app@2.18.0+254",
  "sdk.name": "sentry.javascript.react-native",
  "sdk.version": "7.2.0",
  "severity": "error",
  "trace": "f147edaae1d148caa6bc064c2571ef5c",
  "user.email": "garciaemilianocarlos@gmail.com",
  "user.id": "IDD5B4874A62",
  "id": "019d2ae677b47e86abae8fe236c90f38",
  "observed_timestamp_nanos": "1774541248055088787"
}

Expected behavior
It should be able to create a key pair.

Smartphone (please complete the following information):

  • OS: Android
  • Model: SM-A055M

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