OTPCharset
allows limiting and changing the
characters allowed in OTPs. Defaults to
0-9cbdefghijklnrtuv
which allows OATH and Yubico OTPs.
The value of the parameter is a Perl character set specification. See your
Perl reference manual for details about how to construct Perl character
set specifications. Note that the some special characters must be escaped
with a backslash.
# Allow Yubico OTPs only
OTPCharset cbdefghijklnrtuv
Note
If you need to support
non-standard keyboard layouts, such as Dvorak, you may need to change
OTPCharset
.