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

Bring biometric back to fix fingerprint auth on some ROMs. #7577

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Kissycat
Copy link

@Kissycat Kissycat commented Dec 1, 2023

Not every ROMs support device credential, to support more devices add magisk biometric back please..
Tested.
S31201-20065897

@Kissycat Kissycat changed the title Bring biometric back to fix fingerprint auth on some device. Bring biometric back to fix fingerprint auth on some ROMs. Dec 1, 2023
@vvb2060
Copy link
Collaborator

vvb2060 commented Dec 1, 2023

We host authentication to systemui, if your device's systemui does not support biometrics, then neither does magisk.
Device credential is the basic authentication method and should be supported by all Android devices. If not, you may be using a supervised device, and we don't recommend using magisk in this device.

@vvb2060
Copy link
Collaborator

vvb2060 commented Dec 1, 2023

In fact, I don't think it's possible to have a device that doesn't support device credential. Can you screen record to show us what is happening on your device?

@Kissycat
Copy link
Author

Kissycat commented Dec 1, 2023

Recorder_20231201204752.mp4

Can you screen record to show us what is happening on your device?

Sure, here it is, meizu flyme, only support pin with device credential...
It happens after I upgrade to v26.4 yesterday.

@vvb2060
Copy link
Collaborator

vvb2060 commented Dec 1, 2023

I understand, your systemui does not allow our authentication requests to use biometrics.

@Kissycat
Copy link
Author

Kissycat commented Dec 1, 2023

I understand, your systemui does not allow our authentication requests to use biometrics.

Yes, actually not only your magisk's , I come across same situation with chrome web app, but other app like Play store, 2FAS Auth, ice Box and anything else, my biometric auth works well.

Even with magisk, it works correctly before commit 678c07f.

@Kissycat
Copy link
Author

Kissycat commented Dec 2, 2023

@vvb2060
Good night, I noticed that the request is still not being processed, is this due to more one switches being too cumbersome? I just made the modification as shown in the picture.
S31202-19160561

In this case, can this request be merged?

@Kissycat Kissycat force-pushed the master branch 3 times, most recently from 5061d94 to 8c2e0e6 Compare December 2, 2023 12:44
Kissycat

This comment was marked as resolved.

@Kissycat Kissycat force-pushed the master branch 4 times, most recently from 52c0926 to 19c5333 Compare December 3, 2023 02:29
Repository owner deleted a comment from Zjkvirus Dec 8, 2023
@topjohnwu topjohnwu force-pushed the master branch 4 times, most recently from e46cdcd to 8e7186e Compare January 29, 2024 09:36
@yujincheng08 yujincheng08 linked an issue Feb 11, 2024 that may be closed by this pull request
@osm0sis osm0sis closed this Feb 13, 2024
@osm0sis osm0sis reopened this Feb 13, 2024
@osm0sis osm0sis added the app This issue is related to Magisk App label Feb 13, 2024
Comment on lines 186 to 187
if (prefs.getBoolean(SU_FINGERPRINT, false))
suBiometric = true
remove(SU_FINGERPRINT)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can just remove all stuffs about the SU_FINGERPRINT field, since its functionality has been removed in b29f0ca which is 5 years ago?

@@ -173,6 +173,9 @@
<string name="settings_su_auth_title">身份验证</string>
<string name="settings_su_auth_summary">对超级用户请求验证身份</string>
<string name="settings_su_auth_insecure">设备未配置验证方式</string>
<string name="settings_biometric_disabled">禁用验证</string>
<string name="settings_biometric_system">系统提供</string>
<string name="settings_biometric_magisk">Magisk提供</string>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<string name="settings_biometric_magisk">Magisk提供</string>
<string name="settings_biometric_magisk">Magisk 提供</string>

<string name="settings_su_auth_insecure">裝置未配備驗證方式</string>
<string name="settings_biometric_disabled">禁用驗證</string>
<string name="settings_biometric_system">系統提供</string>
<string name="settings_biometric_magisk">Magisk提供</string>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<string name="settings_biometric_magisk">Magisk提供</string>
<string name="settings_biometric_magisk">Magisk 提供</string>

@topjohnwu topjohnwu force-pushed the master branch 4 times, most recently from ec54aed to f61827c Compare May 9, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app This issue is related to Magisk App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

su request times out when User Authentication is enabled
4 participants