# HG changeset patch # User MWild1 # Date 1297960767 0 # Node ID 5523eda6e4e93d7c147c040428f526629db335a6 # Parent caa297adfe141ea390910d5e44e51fd2a3540c94 Documented dependencies. diff -r caa297adfe14 -r 5523eda6e4e9 mod_auth_internal_yubikey.wiki --- a/mod_auth_internal_yubikey.wiki Thu Feb 17 16:30:00 2011 +0000 +++ b/mod_auth_internal_yubikey.wiki Thu Feb 17 16:39:27 2011 +0000 @@ -17,6 +17,10 @@ When this module is in use each user can either use normal password authentication, or instead have their account associated with a Yubikey - at which point only the key will work. += Installation = + +Requires bitlib for Lua, and yubikey-lua from http://code.matthewwild.co.uk/yubikey-lua . When properly installed, the command `lua -lbit -lyubikey` should give you a Lua prompt with no errors. + = Configuration = == Associating keys == @@ -31,7 +35,7 @@ *NOTE:* All keys used with the server (rather, with a given host) must all have a "public ID" (uid) of the same length. This length must be set in the Prosody config with the 'yubikey_prefix_length' option. -Instead of entering the information interactively it is also possible to specify each option on the command-line (useful for automation) via `--option="value"`. The options are: +Instead of entering the information interactively it is also possible to specify each option on the command-line (useful for automation) via --option="value". The valid options are: || password || The user's password (may be blank) || || fixed || The public ID that the Yubikey prefixes to the OTP ||