Yubikey: Difference between revisions

imported>Echarlie
No edit summary
imported>Echarlie
Line 118: Line 118:
       -m mode
       -m mode
           set device configuration for the YubiKey. It is parsed in the form mode:cr_timeout:autoeject_timeout where mode is:
           set device configuration for the YubiKey. It is parsed in the form mode:cr_timeout:autoeject_timeout where mode is:
 
           0
           0
               OTP device only.
               OTP device only.
 
           1
           1
               CCID device only.
               CCID device only.
 
           2
           2
               OTP/CCID composite device.
               OTP/CCID composite device.
 
           3
           3
               U2F device only.
               U2F device only.
 
           4
           4
               OTP/U2F composite device.
               OTP/U2F composite device.
 
           5
           5
               U2F/CCID composite device.
               U2F/CCID composite device.
 
           6
           6
               OTP/U2F/CCID composite device. Add 80 to set MODE_FLAG_EJECT, for example: 81
               OTP/U2F/CCID composite device. Add 80 to set MODE_FLAG_EJECT, for example: 81
 
               cr_timeout is the timeout in seconds for the YubiKey to wait on button press for challenge response (default is 15)
               cr_timeout is the timeout in seconds for the YubiKey to wait on button press for challenge response (default is 15)
 
               autoeject_timeout is the timeout in seconds before the card is automatically ejected in mode 81
               autoeject_timeout is the timeout in seconds before the card is automatically ejected in mode 81
 
       -n URI
       -n URI
           Program NFC NDEF URI
           Program NFC NDEF URI
 
       -t text
       -t text
           Program NFC NDEF text
           Program NFC NDEF text