Skip to content

Instantly share code, notes, and snippets.

@darconeous
Last active January 7, 2021 13:03
Show Gist options
  • Save darconeous/ab835fd4bda7f99aa6dd to your computer and use it in GitHub Desktop.
Save darconeous/ab835fd4bda7f99aa6dd to your computer and use it in GitHub Desktop.
Yubikey Applet #Security

The AID of the yubikey applet on the Yubikey Neo is A000000527200101.

You can select it with the APDU 00 a4 04 00 08 A0 00 00 05 27 20 01 01.

For the YubiKey applet there are 4 commands:

  • ins 0x01 is a YubiKey API request (as used by the yubico personalization tools) with command in p1
  • ins 0x02 is a request for an OTP with slot in p1 (zero indexed)
  • ins 0x03 is a YubiKey status request
  • ins 0x04 is a request for NDEF (only used by the NDEF applet)

See http://forum.yubico.com/viewtopic.php?p=4843 for more info.

Yubikey NEO 3.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment