I wrote some code to password protect my keyboard | QMK Custom Feature | coding session
Terminal_Heat_Sink
Hello there ladies and gentlemen, heres another cool QMK project.
In this video I will show you guys how to configure and setup my password protection feature I wrote and a short coding session where I add a bypass for said password protection feature.
You will need to type in your password before the keyboard sends anything to the OS.
You will need to create a secrets.c
and secrets.h
file. The contents of which are shown in sharedDefines.h
. This is so that you don't commit your password to github :). This also however prevents the firmware from building until those files are created.
Keyboard will also autolock after 5 minutes. It uses the same timer as the rgb timeout.
There is also an optional password entering animation if #define SHOW_UNLOCK_ANIMATION
. But it should be commented out for increased security.
Keyboard can also be locked manually with Leader L.
In this video we also add in password bypass. When active you won't need to enter the password when the leds turn off. If locking manually via the leader key, you will still need to enter the password as you took initiative to lock it. Whereas if the rgb times out you will not need to enter the password.
Coding the Bypass Feature starts at 20:56
Links: Initial commit: https://github.com/ArtiomSu/qmk_firmware/commit/62ef6b1fe9031eda57ff55013ea5c535bfb68b98
Bypass feature commit: https://github.com/ArtiomSu/qmk_firmware/commit/e3d5533fe6972b952bf50fb86e86889c55828fc4
HID key codes for password: https://gist.github.com/MightyPork/6da26e382a7ad91b5496ee55fdc73db2
If you like what I do you can support me on Patreon. https://www.patreon.com/user?u=28429069
Or you can Also send a few bits and bobs on paypal if you wish: https://paypal.me/artiomSudo
Or some crypto: BTC : 3McWRwH6sf3bBgtSXsGvta5nR1ZKLvoP6M
XMR : 8AgA9hRFbE69gaP5mBjB4y93J1MarAuyRRopN4SD5FLbGbrHB6GPc4ojZ2vAhD1zThFGboFqvumYKQ7xhRmJUMgdK3MdRE5
LTC : Lh2EqWsGgNrHV5Wo28CoW1PbsseXZqpYeN
ETH : 0xcbdc5105efb30823e0b20492970b059e28242034
DASH: XyGj3RP2MRqtFqyAg3p1RVFnet34juyd5H
I also have a telegram group you can join if you want:
https://t.me/Terminal_Heat_Sink_Group
Website: https://artiomsu.github.io
Thanks For Watching And Bye Bye ... https://www.youtube.com/watch?v=_XIYtzR06u8
179821563 Bytes