firnsy/yubipam — pull request #4 by helamonster (2012-12-07 03:55:52+00:00)
Title: Bug affecting passcode and other items entered at prompt

There is a bug in getInput() within src/lib/yubikey_util.c that causes the passcode entered to be truncated by 1 character before being saved. This affects the ykpasswd and ykvalidate binaries.

Due to both binaries sharing this code, you wouldn't notice the problem when testing the OTP/passcode with ykvalidate, but you would notice the problem when testing the OTP/passcode via yk_chkpwd.