Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #43080

USBLock : lock/unlock your computer with a USB key

Date 2013-04-08 16:21 +0100
Subject USBLock : lock/unlock your computer with a USB key
From Sven <svenito@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.292.1365434504.3114.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

I've been working on a little project and have a working Linux
implementation so far. Basically it allows a user to use any USB stick as a
key to lock and unlock their computer. More info in the repo or PyPi
https://pypi.python.org/pypi/USBLock

Basically run the program with -a to add a device (added once you insert
it), then run it without any arguments. Insert the key again, and when you
remove it your computer will lock. Insert the key again and it will unlock.
It's not intended to provide military grade security, it's more of a
convenience tool to launch built in screen locking software.

Currently it locks a Linux box with xlock, pending a better solution.

I wrote it as an exercise in playing around with USB media and events, and
also because I needed a use for these old USB keys I have lying around :)

Always looking for contributions, suggestions and improvements. Especially
OS X and Win support.

Repo:
https://github.com/Svenito/usblock

Thanks for your time.

-- 
./Sven

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

USBLock : lock/unlock your computer with a USB key Sven <svenito@gmail.com> - 2013-04-08 16:21 +0100

csiph-web