otp-sct [-1hlpv?] [-c count] [-d debug_level] [-i index] [-r reader] [-v firmware_api_version]
The otp-sct command is a user interface to generating One Time Passwords with a smart card loaded with OTP software.
Configure the optional count parameter to sync a smart card to a challenge.
Set debug level.
Help.
Set the 8 bit index. The smart card contains numerically indexed records for each host system. Use the -l option to list hostnames associated with the index. The default index is 0.
List SC Readers
List host systems configured on the smart card. The index is used with the -i option.
Set new PIN.
Set the smart card reader. Use -l to list available readers.
Set the smart card API version. The binary API between the terminal and smart card changed between version 2 and 3. See command mode notes above. The default version is 3. Configuring version 2 will allow maintenance of smart card with version 2 firmware.
List the smart card firmware version.
Use the version 1 GetHOTP command instead of the default GetHOTPHostCount32. The latter is not available on firmware revision 1. GetHOTP may be conditionally compiled out of newer firmware.
Generate a HOTP for the first system on the first PCSC reader found.
otp-sct -r PCSC: Enter PIN: 12345 HOTP: dev1.eng 2A5AB4B78D
List systems configured on smart card in default reader. Generate HOTP for dev3.eng with count 32.
otp-sct -L Enter PIN: 12345 00:dev1.eng 01:dev2.eng 02:dev3.eng 03:vpn1.eng otp-sct -i 2 -c 32 Enter PIN: 12345 HOTP: dev3.eng 2A9BE3F142
Note that hosts with the READERKEY flag set will not be displayed. otp-sct can not set the reader key.