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


Groups > comp.lang.python > #43352

Re: USBLock : lock/unlock your computer with a USB key

References <CAEH=cXWyAnKqzibz555S6xVM81bjgsNC5EvFdJ_gOvFPqAwS7g@mail.gmail.com> <CADQvV+vPTZ7maEpPATUoMqZdxx+ugOjuvvL3HLd3gPCBO06crQ@mail.gmail.com>
Date 2013-04-11 12:13 +0100
Subject Re: USBLock : lock/unlock your computer with a USB key
From Sven <svenito@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.460.1365678807.3114.python-list@python.org> (permalink)

Show all headers | View raw


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

Thanks for taking an interest.

Yes, I had the idea to add bluetooth too, removes the whole plugging and
unplugging spiel. I might start work on that, and if anyone else wants to
dive in and help, feel free. I will probably need to refactor the Listener
a little, or create a USB and BT listener class.

Cheers


On 11 April 2013 10:20, Dylan Evans <dylan@dje.me> wrote:

> This looks cool, would actual be pretty useful. I see you did it as a usb
> project but probably bluetooth would be better so you could just pair it to
> your phone and know that your PC will lock when you walk away.
>
>
>
> On Tue, Apr 9, 2013 at 1:21 AM, Sven <svenito@gmail.com> wrote:
>
>> 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
>>
>> --
>> http://mail.python.org/mailman/listinfo/python-list
>>
>>
>
>
> --
> "The UNIX system has a command, nice ... in order to be nice to the other
> users. Nobody ever uses it." - Andrew S. Tanenbaum
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>


-- 
./Sven

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


Thread

Re: USBLock : lock/unlock your computer with a USB key Sven <svenito@gmail.com> - 2013-04-11 12:13 +0100

csiph-web