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

2013-04-12 Thread Ian Kelly
On Thu, Apr 11, 2013 at 9:23 AM, Ethan Furman et...@stoneleaf.us wrote:
 On 04/11/2013 04:13 AM, Sven wrote:

 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.


 Doesn't BlueTooth have a 30 foot range?  For locking I'd rather be at 10 or
 even 5 feet away.

Pair it with a Google Glass and have it lock after you've stopped
looking at the screen for 30 seconds.
-- 
http://mail.python.org/mailman/listinfo/python-list


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

2013-04-12 Thread Dylan Evans
On Fri, Apr 12, 2013 at 6:16 AM, Ian Kelly ian.g.ke...@gmail.com wrote:

 On Thu, Apr 11, 2013 at 9:23 AM, Ethan Furman et...@stoneleaf.us wrote:
  On 04/11/2013 04:13 AM, Sven wrote:
 
  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.
 
 
  Doesn't BlueTooth have a 30 foot range?  For locking I'd rather be at 10
 or
  even 5 feet away.


I guess it depends on your needs, I'd want it locked when i wander out of
the office.


 Pair it with a Google Glass and have it lock after you've stopped
 looking at the screen for 30 seconds.


That would be awesome.


 --
 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


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

2013-04-12 Thread Schneider

On 11.04.2013 22:16, Ian Kelly wrote:

On Thu, Apr 11, 2013 at 9:23 AM, Ethan Furman et...@stoneleaf.us wrote:

On 04/11/2013 04:13 AM, Sven wrote:

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.


Doesn't BlueTooth have a 30 foot range?  For locking I'd rather be at 10 or
even 5 feet away.

Pair it with a Google Glass and have it lock after you've stopped
looking at the screen for 30 seconds.


Maybe not with Google Glass, but with a web cam placed on top of the 
screen. Like Samsung does since the Galaxy S III.
There it just happens the other way round: no lock as long as you have 
your face in front of the phone.


bg,
Johannes

--
GLOBE Development GmbH
Königsberger Strasse 260
48157 MünsterGLOBE Development GmbH
Königsberger Strasse 260
48157 Münster
0251/5205 390

--
http://mail.python.org/mailman/listinfo/python-list


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

2013-04-11 Thread Dylan Evans
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 sven...@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


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

2013-04-11 Thread Sven
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 dy...@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 sven...@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
-- 
http://mail.python.org/mailman/listinfo/python-list


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

2013-04-11 Thread Ethan Furman

On 04/11/2013 04:13 AM, Sven wrote:

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.


Doesn't BlueTooth have a 30 foot range?  For locking I'd rather be at 10 or 
even 5 feet away.

--
~Ethan~
--
http://mail.python.org/mailman/listinfo/python-list


USBLock : lock/unlock your computer with a USB key

2013-04-08 Thread Sven
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