novasamatech / parity-signer

Air-gapped crypto wallet.
https://vault.novasama.io
GNU General Public License v3.0
556 stars 166 forks source link

Disable ADB check. Skip when user restart app with air mode. #2373

Open stepanLav opened 6 months ago

stepanLav commented 6 months ago

Environment: PROD Version Android 6.3.1 Device: Android 11 BV8800

Detail description: If user trigger "Disable ADB" check it will pass if just enable air mode

Precondition: Enable developers mode in device settings

Scenario:

  1. Disable Air mode
  2. Run the app
  3. Get security trigger
  4. Turn air mode on
  5. Restart the app

Actual result: All checks were passed

Expected result: Disable ADB still trigger check

ScreenRecord https://github.com/novasamatech/parity-signer/assets/40560660/71d795ba-e695-4236-a8bc-72f306b12089