Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 1.41 KB

File metadata and controls

49 lines (35 loc) · 1.41 KB
uid
OtpCommandReadStatus

Read status

Read the YubiKey's OTP status structure.

Available

YubiKey firmware 3.x and later

Command APDU info

CLA INS P1 P2 Lc Data
0x00 0x03 0x00 0x00 (absent) (absent)

Response APDU info

Lr Data SW1 SW1
0x06 Status structure 0x90 0x00

Examples

$ opensc-tool.exe -c default -r 0 -s 00:a4:04:00:08:a0:00:00:05:27:20:01:01 -s 00:03:00:00
Sending: 00 A4 04 00 08 A0 00 00 05 27 20 01 01
Received (SW1=0x90, SW2=0x00):
04 03 07 03 07 00 06 0F 00 00 ..........
Sending: 00 03 00 00
Received (SW1=0x90, SW2=0x00):
04 03 07 03 07 00 ......