Accidentally Triggering OTP Codes with Your Nano YubiKey

This article applies to:


When you keep your YubiKey 4 Nano, YubiKey 4C, YubiKey NEO-n, YubiKey Edge-n, or YubiKey Nano inserted in the USB port (as it is intended), you may find that you can trigger OTP codes without meaning to, simply by brushing against the YubiKey. You can solve this issue using the following instructions. For Microsoft Windows users:

  1. Using the YubiKey Personalization Tool, select Settings.
  2. Under the Extended Settings section, deselect the check box for Use fast triggering only if slot 1 is programmed.

You will need to touch the YubiKey for at least a half-second to emit an OTP. For an even longer wait time, consider moving the configuration to the second slot. (See Downloads to obtain the YubiKey Personalization Tool for Windows.) For Mac OS X users:

  • To turn off your YubiKey automatically after a period of inactivity, use the taskbar application, YubiSwitch.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.