termux / termux/termux-api

termux-fingerprint doesn't work with face recognition feature

Open
#565 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

Problem description
All the apps in my phone which use biometric approval and login feature have some setting like fingerprint using. But actually it should be called something like "biometric login" because when using this fingerprint it actually shows face recognition dialog since my phone does not have a fingerprint sensor. When using termux-fingerprint it throws an error:
Screenshot_20221125-180917.png

*Steps to reproduce

-2. Take pixel 4 xl phone
-1. Upgrade it to android 13
0. Install fdroid

  1. Install termux and termux API from fdroid
  2. Open termux
  3. Run termux-fingerprint

Expected behavior
Opened face recognition popup as in all applications that use biometric auth.

Additional information

  • termux-api application version: 0.50.1
  • termux-api package version (installed through apt): 0.57
  • Android OS version: 13 (TP1A.221005.002)
  • Device model: Pixel 4 XL

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing termux-fingerprint on a Pixel 4 XL running Android 13 and inspect the implementation behind that command. Compare its biometric handling with the behavior of other Android apps; done means the face recognition prompt opens and authentication completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
authentication, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.