Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cedd2058 authored by Christoph Honal's avatar Christoph Honal Committed by Jonathan Klee
Browse files

[FIDO] Increase IsoDep timeout for NFC CTAP connection

parent f443197e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -74,6 +74,7 @@ class CtapNfcConnection(
    }

    suspend fun open(): Boolean = withContext(Dispatchers.IO) {
        isoDep.timeout = 5000
        isoDep.connect()
        val (statusCode, version) = select(FIDO2_AID)
        if (statusCode == 0x9000.toShort()) {