EhPanda-Team / EhPanda

An unofficial E-Hentai App for iOS built with SwiftUI & TCA.
https://ehpanda.app
MIT License
3.04k stars 204 forks source link

[BUG] FaceID can be bypassed by cancelling failed authentication #304

Closed UnixNight closed 1 year ago

UnixNight commented 1 year ago

Describe the bug By cancelling a failed faceid authentication request, the app will just unlock as if it was successful

To Reproduce Steps to reproduce the behavior:

  1. Cover faceID sensor before opening app
  2. Let faceid fail
  3. Tap "cancel"
  4. Repeat until unlocked

Expected behavior App should not bypass authentication

Screenshots https://files.catbox.moe/x97lfu.MOV

Please complete the following information:

Additional context Add any other context about the problem here.

tatsuz0u commented 1 year ago

Thanks for your feedback. It looks not quite right to me.

cc @chihchy need further investigation.

tatsuz0u commented 1 year ago

Sorry for keeping you waiting for so long. #334 should has fixed the problem so we are going to close this issue. Please feel free to reopen if it doesn't do the trick for you. cc @chihchy