From 1633b4e8b03df306a77f725883f0e480d22aa9d5 Mon Sep 17 00:00:00 2001 From: Adam Velebil Date: Fri, 1 Mar 2024 09:20:41 +0100 Subject: [PATCH] fix key comparison type --- .../main/kotlin/com/yubico/authenticator/fido/FidoManager.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoManager.kt b/android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoManager.kt index 53d82e97..a84f4de4 100644 --- a/android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoManager.kt +++ b/android/app/src/main/kotlin/com/yubico/authenticator/fido/FidoManager.kt @@ -26,6 +26,7 @@ import com.yubico.authenticator.device.Info import com.yubico.authenticator.device.UnknownDevice import com.yubico.authenticator.fido.data.FidoCredential import com.yubico.authenticator.fido.data.Session +import com.yubico.authenticator.fido.data.SessionInfo import com.yubico.authenticator.fido.data.YubiKitFidoSession import com.yubico.authenticator.setHandler import com.yubico.authenticator.yubikit.getDeviceInfo @@ -196,7 +197,7 @@ class FidoManager( } val previousSession = fidoViewModel.sessionState.value?.info - val currentSession = fidoSession.cachedInfo + val currentSession = SessionInfo(fidoSession.cachedInfo) logger.debug( "Previous session: {}, current session: {}", previousSession,