https://github.com/hrvach/yubikill
Disable YubiKey output on MacOS without a modifier key pressed
https://github.com/hrvach/yubikill
2fa karabiner macos osx token yubikey
Last synced: 3 months ago
JSON representation
Disable YubiKey output on MacOS without a modifier key pressed
- Host: GitHub
- URL: https://github.com/hrvach/yubikill
- Owner: hrvach
- License: mit
- Created: 2022-08-10T13:17:06.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-10T16:54:38.000Z (about 3 years ago)
- Last Synced: 2025-04-12T10:45:49.018Z (6 months ago)
- Topics: 2fa, karabiner, macos, osx, token, yubikey
- Homepage:
- Size: 151 KB
- Stars: 10
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# YubiKill
### tl;dr
Karabiner Elements .json file to enable YubiKey output only with a modifier key (caps lock) pressed. This prevents you chatting to people fjsdjhkjahsdkjahslkjsdhgskjdvnskdbvsjkdb.### Installing
1. Install [Karabiner Elements](https://karabiner-elements.pqrs.org)
2. Enable modifying YubiKey output in preferences

3. Make sure your VID/PID for the Yubikey (above) match those in the JSON file.
4. Copy the yubi.json file to your ~/.config/karabiner/assets/complex_modifications
5. Add the modifications under "complex modifications" in preferences

6. Make sure both are enabled

7. Profit!
- Caps Lock + yubikey = sliqmnoianwiiwmdoqnsknfoisjjd
- Yubikey alone = ignored### FAQ
1. Does this kill my caps lock?
- Yes.
2. It doesn't work.
- Fix VID/PID in the JSON file.
- Add checkbox to modify output from yubikey in Karabiner
- Check if Karabiner works in the first place### Credits
- https://gist.github.com/simonw/
- https://github.com/pqrs-org/Karabiner-Elements/issues/2316#issue-634843704