From 71676b08b28feb8b4318a14ca111c3e7ec831289 Mon Sep 17 00:00:00 2001 From: Olivier <1+olivier@noreply.raspot.in> Date: Wed, 19 Aug 2026 17:00:27 +0200 Subject: [PATCH] =?UTF-8?q?T=C3=A9l=C3=A9verser=20les=20fichiers=20vers=20?= =?UTF-8?q?"modules"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/workstation-setup.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/modules/workstation-setup.nix b/modules/workstation-setup.nix index 9688eec..9bba724 100644 --- a/modules/workstation-setup.nix +++ b/modules/workstation-setup.nix @@ -231,11 +231,19 @@ let case "$line" in *"Initializing FIDO2 credential on security token"*) + # The first make-credential call follows this phase and requires + # physical presence when user-presence is enabled. systemd only + # emits a generic hint here, so notify the interface immediately. ${pkgs.coreutils}/bin/printf '%s\n' 'EVENT_FIDO_INITIALIZING' ;; *"Generating secret key on FIDO2 security token"*) + # The assertion requiring the next touch follows immediately. ${pkgs.coreutils}/bin/printf '%s\n' 'EVENT_FIDO_GENERATING' ;; + *"In order to allow secret key generation, please confirm presence on security token"*) + # Already announced by EVENT_FIDO_GENERATING: do not create a + # delayed duplicate touch request in the interface. + ;; *"Updating home directory"*) ${pkgs.coreutils}/bin/printf '%s\n' 'EVENT_FIDO_UPDATING_HOME' ;; @@ -243,6 +251,8 @@ let ${pkgs.coreutils}/bin/printf '%s\n' 'EVENT_FIDO_SYNCHRONIZING' ;; *"confirm presence on security token"*) + # Later unlock/synchronization operations announce presence + # immediately before they wait for the physical touch. ${pkgs.coreutils}/bin/printf '%s\n' 'EVENT_FIDO_TOUCH_REQUIRED' ;; esac @@ -281,7 +291,7 @@ let workstationSetup = pkgs.stdenv.mkDerivation { pname = "nixos-workstations-setup"; - version = "1.8.5"; + version = "1.8.6"; src = ../workstation-setup;