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

Appverifier crashes when appholder does not auto-close with NFC data transfer #552

Open
suzannajiwani opened this issue Mar 19, 2024 · 0 comments

Comments

@suzannajiwani
Copy link
Contributor

The error which causes the crash is

FATAL EXCEPTION: Thread-3
  Process: com.android.mdl.appreader, PID: 11577
  java.lang.SecurityException: Permission Denial: Tag ( ID: 08 A0 4B 9D ) is out of date
   at android.nfc.Tag.getTagService(Tag.java:381)
   at android.nfc.tech.BasicTagTechnology.isConnected(BasicTagTechnology.java:63)
   at android.nfc.tech.IsoDep.isConnected(IsoDep.java:40)
   at com.android.identity.android.mdoc.transport.DataTransportNfc$connectAsMdocReader$transceiverThread$1.run(DataTransportNfc.kt:531)

(with varying tags). The line which starts the stack trace is here.

Steps to Reproduce the Problem

  1. Change settings in appverifier to only use NFC for data transfer
  2. Change settings in appholder to use static handover + only NFC for data transfer
  3. Bring phones together and hold as you go through consent and biometric prompt
  4. After appverifier shows the transferred data, move phones apart - here's where appverifier will crash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant