Yubikey: Difference between revisions
imported>Mic92 Created page with "This article describes how [https://yubico.com Yubico]'s YubiKey works and how you can use it. To access the yubikey as user add the following udev rule..." |
imported>Mic92 document otp & smart card mode |
||
Line 6: | Line 6: | ||
services.udev.packages = [ pkgs.yubikey-personalization ]; | services.udev.packages = [ pkgs.yubikey-personalization ]; | ||
</syntaxHighlight> | </syntaxHighlight> | ||
To use the smart card mode (CCID) of Yubikey, you will also need the PCSC-Lite daemon: | |||
<syntaxHighlight lang=nix> | |||
services.pcscd.enable = true; | |||
</syntaxHighlight> | |||
In order to manage OTP keys you can install the <code>yubioath-desktop</code> package in your profile. | |||
This application will also both the udev rules as well as pcscd enabled. |
Revision as of 22:03, 17 January 2019
This article describes how Yubico's YubiKey works and how you can use it.
To access the yubikey as user add the following udev rules to your configuration.nix:
services.udev.packages = [ pkgs.yubikey-personalization ];
To use the smart card mode (CCID) of Yubikey, you will also need the PCSC-Lite daemon:
services.pcscd.enable = true;
In order to manage OTP keys you can install the yubioath-desktop
package in your profile.
This application will also both the udev rules as well as pcscd enabled.