# Yubiswitch

A macOS status bar app for switching YubiKey devices on or off, with a configurable global keyboard shortcut.

> This is the Markdown version of the Yubiswitch page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/pallotron-yubiswitch>

- **Latest version**: `0.19`
- **Developer**: Supratude Limited
- **Homepage**: <https://github.com/pallotron/yubiswitch>
- **Categories**: [Security & Privacy](https://opennavo.com/categories/security)
- **Install**: `brew install --cask pallotron-yubiswitch`
- **30-day installs**: 12
- **Homebrew**: Available; updated by Homebrew
- **Download URL**: <https://github.com/pallotron/yubiswitch/releases/download/v0.19/yubiswitch_0.19.dmg>
- **SHA-256**: `974d7481b388fe79b03f1eea2c39f45a2f74051b774a489a00e2fe00c9df1b31`

SHA-256 only checks that the download is complete; it is not a security certification.

## Installation and removal contents

```json
[
  {
    "declaration": {
      "uninstall": [
        {
          "quit": "com.pallotron.yubiswitch"
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "app": [
        "yubiswitch.app"
      ],
      "target": "/Applications/yubiswitch.app"
    },
    "phase": "install",
    "sources": [
      "yubiswitch.app"
    ],
    "target": "/Applications/yubiswitch.app",
    "type": "app"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "/Library/LaunchDaemons/com.pallotron.yubiswitch.helper.plist",
            "/Library/PrivilegedHelperTools/com.pallotron.yubiswitch.helper",
            "~/Library/Preferences/com.pallotron.yubiswitch.plist"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## About

Yubiswitch is a macOS status bar application that lets you enable or disable YubiKey devices. It is intended to help prevent accidental key activation, such as a key emitting an OTP when its touch surface is pressed unintentionally.

- Switch a YubiKey on or off using a configurable global keyboard shortcut.
- Use the Preferences window to limit control to devices with specified Product IDs; leaving the field blank allows control of Yubico devices generally.
- Send `KeyOn` and `KeyOff` commands through AppleScript, including with `osascript`.
- The app uses a privileged helper to access the USB HID interface. On first launch, it asks for your password to install that helper.

Install with `brew install --cask pallotron-yubiswitch`. The cask requires macOS 12 or later. The project documentation also describes Accessibility and Input Monitoring access settings for macOS Catalina and later, and says those permissions are needed for the documented computer-lock-on-key-removal behavior.

[Project](https://github.com/pallotron/yubiswitch) · [Homebrew cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/p/pallotron-yubiswitch.rb)

## System requirements

- macOS 12 or later · Version: 0.19 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/p/pallotron-yubiswitch.rb> · Checked 2026-12-03
  - <https://github.com/pallotron/yubiswitch/releases/download/v0.19/yubiswitch_0.19.dmg>
  - SHA-256: `974d7481b388fe79b03f1eea2c39f45a2f74051b774a489a00e2fe00c9df1b31`
- macOS 12 or later · Version: 0.19 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/p/pallotron-yubiswitch.rb> · Checked 2026-12-03
  - <https://github.com/pallotron/yubiswitch/releases/download/v0.19/yubiswitch_0.19.dmg>
  - SHA-256: `974d7481b388fe79b03f1eea2c39f45a2f74051b774a489a00e2fe00c9df1b31`

## Uninstall

- `brew uninstall --cask pallotron-yubiswitch`

A regular uninstall removes the app and keeps its settings and caches.

### Deep clean (optional)

- `brew uninstall --zap --cask pallotron-yubiswitch`

`--zap` also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out `--zap`.

A regular uninstall removes the app and keeps its settings and caches.

- Files and folders: `/Library/LaunchDaemons/com.pallotron.yubiswitch.helper.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/p/pallotron-yubiswitch.rb> · These entries come from the Homebrew definition, checked 2026-12-03. They say what it declares, not what is on your Mac.
- Files and folders: `/Library/PrivilegedHelperTools/com.pallotron.yubiswitch.helper` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/p/pallotron-yubiswitch.rb> · These entries come from the Homebrew definition, checked 2026-12-03. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Preferences/com.pallotron.yubiswitch.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/p/pallotron-yubiswitch.rb> · These entries come from the Homebrew definition, checked 2026-12-03. They say what it declares, not what is on your Mac.

## Latest release notes

### 0.19 (2026-09-17)

Adds the ability to switch all keys with a configurable override.

**Changes**

- Switch all keys with a configurable override.

## Facts and sources

- <https://opennavo.com/apps/pallotron-yubiswitch>
- <https://opennavo.com/apps/pallotron-yubiswitch/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/p/pallotron-yubiswitch.rb> · Checked 2026-12-03
- <https://formulae.brew.sh/cask/pallotron-yubiswitch>
