Yubikey: Difference between revisions
imported>Kallisti edited for safety consern |
imported>Oluceps fix non exist option, fix format. |
||
| Line 65: | Line 65: | ||
'''1.)''' | '''1.)''' | ||
run: | run: <code>nix-shell --command 'ykinfo -s' -p yubikey-personalization</code> | ||
to get the serial code and enter it into | to get the serial code and enter it into <code>yubico.id = [ "12345678" ];</code> | ||
'''WARNING, ignoring step 1 is considered insecure, any user could just plugin a yubikey and gain root access!''' | '''WARNING, ignoring step 1 is considered insecure, any user could just plugin a yubikey and gain root access!''' | ||
| Line 75: | Line 75: | ||
debug = true; | debug = true; | ||
mode = "challenge-response"; | mode = "challenge-response"; | ||
id = [ "12345678" ]; | |||
}; | }; | ||
</syntaxHighlight> | </syntaxHighlight> | ||