taler-ios

iOS apps for GNU Taler (wallet)
Log | Files | Refs | README | LICENSE

commit 7d7f089cf064cedcb68cc4dbe1f9e3d729997abf
parent 3851a423a6ce53fac17e9bb698bbb47ac5da8bf6
Author: Marc Stibane <marc@taler.net>
Date:   Mon, 10 Aug 2026 12:01:14 +0200

Security: shorten time to 10 seconds

Diffstat:
MTalerWallet1/Views/Main/MainView.swift | 3++-
MTalerWallet1/Views/Settings/SettingsView.swift | 3+--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/TalerWallet1/Views/Main/MainView.swift b/TalerWallet1/Views/Main/MainView.swift @@ -351,7 +351,8 @@ struct MainView: View { logger.log("❗️App Will Enter Foreground") if let backgrounded { let interval = Date.now - backgrounded - if interval.seconds > 60 { + if interval.seconds > 10 { // enough time to paste copied data and return + // TODO: add another toggle with snail/hare for 60 sec / 10 sec biometricService.isAuthenticated = false if interval.seconds > 300 { // 5 minutes logger.log("More than 5 minutes in background - tell wallet-core") diff --git a/TalerWallet1/Views/Settings/SettingsView.swift b/TalerWallet1/Views/Settings/SettingsView.swift @@ -158,8 +158,7 @@ struct SettingsView: View { description: String(localized: "Protect your money")) { _ in biometricService.isAuthenticated = false } -// } else { -// biometricService.isAuthenticated = false + // TODO: add another toggle with snail/hare for 60 sec / 10 sec } #if !TALER_WALLET SettingsToggle(name: "NYM mixnet",