Hi Stuart,

On Tue, Feb 07, 2023 at 12:37:32PM +0000, Stuart Henderson wrote:
| On 2023/02/07 12:13, Paul de Weerd wrote:
| > Should yubikey really depend on the caps lock state of an (external)
| > keyboard?  Would it make sense to lower the case of any password
| 
| there's complex code to handle 90 odd different keymaps, it would seem
| silly to go to that much trouble and not cope with capslock.

Hmm, thanks.  When I was looking into this, I was wondering if this
was such a good idea, but your point seems valid to me.

| > entered by the yubikey (I locked myself out with my first attempt at
| > toucing libexec/login_yubikey to achieve this, so I won't offer that
| > diff here ;)
| 
| you could try this, untested as I don't have a private key handy
| and don't want to reset my yk, but I think it should work.

Works 100% better than my attempt: I can still unlock with my yubikey
regardless of the state of caps lock (tried both).

Thanks,

Paul

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to