#776229 libpam-yubico: Provide visual feedback that button is pressed

Package:
libpam-yubico
Source:
yubico-pam
Description:
two-factor password and YubiKey OTP PAM module
Submitter:
Thijs Kinkhorst
Date:
2015-01-29 12:57:04 UTC
Severity:
wishlist
#776229#5
Date:
2015-01-25 17:59:09 UTC
From:
To:
Hi,

When authentication via yubikey is triggered, the module prompts:

  YubiKey for `username':

However, there's no visual feedback that characters are being input when
you press the button on the yubikey, so as a user you're unsure if anything
is happening (and this may take half a second or more). Especailly with
the Nano which has no physical feedback when touching it.

It would be nice if the prompt would change when the first character of
input was received.

Thanks,
Thijs

#776229#10
Date:
2015-01-25 23:16:53 UTC
From:
To:
Thijs Kinkhorst <thijs@debian.org> writes:

Hi.  Is this even possible to achieve from libpam-yubico?  The module
doesn't know that it is used with a terminal, it might be called from a
GNOME Screensaver, non-interactive SSH server, or whatever.  The
application is responsible for these user interaction settings.

Have you seen any other PAM module behave in a way that we could mimic?
Then we can look at the code of that and see if that is applicable to
our module.

Thanks,
/Simon

#776229#15
Date:
2015-01-28 17:24:04 UTC
From:
To:
I'm not very much into PAM internals so it didn't occur to me that this
may be problematic. I decuded from the "Yubikey for" text that the module
had influence over the prompt. If this is not feasible then please close
this request.


Cheers,
Thijs

#776229#20
Date:
2015-01-29 12:55:04 UTC
From:
To:
"Thijs Kinkhorst" <thijs@debian.org> writes:

We control the text, but not the particular prompting (that's done by
the application that is using the PAM framework, which can be GUI or
text or a network server etc) -- however it may be possible to do
something better here, I don't know.  I see no problem keeping this open
until someone has time to dig into the details and tell us something
conclusive.

/Simon