Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes every weekday Monday through Friday.
This page was generated by The HPR Robot at


hpr3231 :: USB Key

Turn a Thumb drive into a Key to lock/unlock your linux machine.

<< First, < Previous, , Latest >>

Thumbnail of ToeJet
Hosted by ToeJet on Monday, 2020-12-21 is flagged as Clean and is released under a CC-BY-SA license.
security, usb. 1.
The show is available on the Internet Archive at: https://archive.org/details/hpr3231

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:02:00

Privacy and Security.

In this open series, you can contribute shows that are on the topic of Privacy and Security

Script and instruction at
https://james.toebesacademy.com/USBKey.html

  • Combo of
    • Perl for Installation,
    • ssh-keygen for key exchange.
    • udev for actions
    • bash for locking/unlocking/key checking.
  • udev add/remove/change events
    • add event does not allow access to drive
    • change event was not allowing unlock.

Compromise was unlock, then lock if key check fails.


Comments

Subscribe to the comments RSS feed.

Comment #1 posted on 2020-12-29 16:56:51 by Windigo

Great technique

This technique seems like a great way to allow my loved ones to have an emergency "skeleton key" for all of my computers... in case that hypothetical "bus" ever shows up.

Thanks so much for the tip!

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the letter P in HPR stand for?
Are you a spammer?
Who is the host of this show?
What does HPR mean to you?