Site Map - skip to main content

Hobby Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


hpr3231 :: USB Key

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

<< First, < Previous, Latest >>

Host Image
Hosted by ToeJet on 2020-12-21 is flagged as Clean and is released under a CC-BY-SA license.
Tags: security, usb.
Listen in ogg, spx, or mp3 format. | Comments (1)

Part of the series: 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-29T16:56:51Z 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!

<< First, < Previous, Latest >>

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 P in HPR stand for ?
Are you a spammer →
Who hosted this show →
What does HPR mean to you ?