Yubiswitch :: OSX status bar app to quickly enable/disable a Yubikey Nano

We are hackers.

Yubiswitch :: OSX status bar app to quickly enable/disable a Yubikey Nano

`yubiswitch` is an OSX status bar application to enable/disable a Yubikey Nano from Yubico. Yubikey is the producer of the Yubikeys: an hardware authentication device, designed to provide an easy to use and secure compliment to the traditional username and password. By touching the exposed gold edge, a YubiKey Nano emits a One Time Password (OTP) as if it was typed in from a keyboard. The unique passcode is verified by a YubiKey compliant application.
Yubikey Nano picture

So far all looks great doesn’t it? 😀


Whooops! You see? I brought my laptop (lid opened) with me for a walk to a meeting room holding it with my right hand right touching the golden stripe and this caused the Nano to start sending random OTP passwords to my Vim session, and to the FB chat window I had opened with my wife, and right now she’s been asking WTF I’ve been writing 😛

This status bar app avoids you to send those accidental OTP passwords by allowing you to enable or disable the yubikey using a convenient global keyboard hot key that you can configure yourself.


Download latest DMG from github


Menu items as they show in the OSX status bar:


The preference window where you can set your global hotkey and the device VendorID/ProductID:



 Known issues

Future plans and TODO

TODO and wishlist



Angelo “pallotron” Failla


Credits to Anton Tolchanov (@knyar), he originally wrote this in Python using PyObjC bridge. I decided to port this into Objective-C to learn the language when I found out that Carbon Event Manager libs have been removed from Python3. See http://docs.python.org/2/library/carbon.html