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

Commit 45b29732 authored by Christoph Honal's avatar Christoph Honal Committed by Marvin W.
Browse files

[FIDO] Increase IsoDep timeout for NFC CTAP connection

parent d63fed9c
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()) {