3 ms·
I've done this with automatic locking. The idea being to have Tomu fob on my keychain, which must be inserted into the device for the display machine to be unlo
by adastra22 4y ago
I've done this with automatic locking. The idea being to have Tomu fob on my keychain, which must be inserted into the device for the display machine to be unlocked. Pull out the Tomu (which can be done by just grabbing my keys and yanking) and the laptop instantly locks, and starts a timer to hibernate.
It wasn't that complicated IIRC. This was a few years ago.
- sally_glance 4y agoThat's interesting - did you implement some kind of key exchange or just check for the device ID? And which OS? I might have exaggerated a bit, probably it's pretty easy to do in a "works on my machine" kind of way...
- adastra22 4y agoI used a simple challenge-response protocol. It asked the device to sign a message to authenticate itself. I then listened to udev announcements to lock the machine if the device was unplugged. It was more of a toy than a serious security device, and it would certainly need a lot more review before I recommend others to use it, but it was a fun exercise.