#1087273 yubikey-luks: Fails to validate passphrase when yubikey is inserted after first prompt message

Package:
src:yubikey-luks
Source:
src:yubikey-luks
Submitter:
Christian G. Ndjomouo
Date:
2025-12-01 13:01:03 UTC
Severity:
normal
Tags:
#1087273#5
Date:
2024-11-10 14:39:29 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?
   - A bad control flow checking for the Yubikey's presence too early
     and causes the script to send the initial entered passphrase to
     stdout without challenging the Yubikey.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   - Reboot, wait for the LUKS passphrase prompt, insert the Yubikey,
     type the CORRECT passphrase.

   * What was the outcome of this action?
   - The passphrase could not unlock the LUKS device at the first try

   * What outcome did you expect instead?
   - Unlocking of the LUKS device with my passphrase + LUKS at the first
     try

#1087273#10
Date:
2025-12-01 12:59:02 UTC
From:
To:
I am also affected by this bug. The attached patch fixed it on my
system.


Cheers
Timo