Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!194.134.4.91.MISMATCH!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'url:pypi': 0.03; 'exercise': 0.04; 'insert': 0.05; '"the': 0.07; 'pypi': 0.07; 'removes': 0.07; 'url:github': 0.09; 'cc:addr:python-list': 0.11; 'cheers': 0.12; 'wrote': 0.14; 'command,': 0.16; 'it),': 0.16; 'it."': 0.16; 'it."': 0.16; 'subject:key': 0.16; 'subject:lock': 0.16; 'wrote:': 0.18; 'users.': 0.18; 'basically': 0.19; 'solution.': 0.20; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'stick': 0.24; 'looks': 0.24; 'software.': 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'class.': 0.26; 'pending': 0.26; 'subject: : ': 0.26; 'subject:/': 0.26; 'header :In-Reply-To:1': 0.27; 'idea': 0.28; 'am,': 0.29; 'unix': 0.29; 'andrew': 0.30; 'especially': 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'away.': 0.31; 'convenience': 0.31; 'cool,': 0.31; 'keys': 0.31; 'anyone': 0.31; 'allows': 0.31; 'probably': 0.32; 'run': 0.32; 'linux': 0.33; 'url:python': 0.33; 'computer.': 0.33; 'actual': 0.34; 'device': 0.34; 'screen': 0.34; '"the': 0.34; 'could': 0.34; 'subject:with': 0.35; 'info': 0.35; 'tool': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'url:listinfo': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'project': 0.37; 'security,': 0.38; 'needed': 0.38; 'that,': 0.38; 'little': 0.38; 'help,': 0.39; 'launch': 0.39; 'url:mail': 0.40; 'remove': 0.60; 'provide': 0.64; 'more': 0.64; 'taking': 0.65; 'media': 0.66; 'phone': 0.66; 'military': 0.68; 'nobody': 0.68; 'useful.': 0.68; 'walk': 0.74; 'subject:your': 0.76; 'interest.': 0.81; 'listener': 0.84; 'lying': 0.84; 'bluetooth': 0.91; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=oWbYFNpCdmzxo+TTeKmWFeZlVLqlSaNXp5Calori4Ew=; b=LHdXj+JRL21gKqCSmiTZ0q3MzFqg36AXzJe/pLsIeVeAzA7QPkzfT+SQsjBtAcTTMJ MTm7fHiFJYcnRDMb7Kj3BXeu/FdvB2js0sUGN+0U+sshGEVJuu4hxZcPzI6qIvNWBhjy LVfp7/vW26GUnzMgwSA6YHa/BOEDyqr5FxQ997tPQGYzVN9d9C1qcVRgdIMU6Ew+aqH1 dB2FrjGjuPbsocjgNPFAAPeGkXMGvsLTCmPCkgaHoYgmbO2MgPI4ErJt11qUp8UrvG1A 2cHXtQWWvbGKiu+LSC4JfoTgMic0ljncIiTBLWdNVtwj7SMCEMK/lxojCtfVmpcUVzbs Un0Q== MIME-Version: 1.0 X-Received: by 10.180.187.129 with SMTP id fs1mr9624334wic.5.1365678805987; Thu, 11 Apr 2013 04:13:25 -0700 (PDT) In-Reply-To: References: Date: Thu, 11 Apr 2013 12:13:25 +0100 Subject: Re: USBLock : lock/unlock your computer with a USB key From: Sven To: Dylan Evans Content-Type: multipart/alternative; boundary=001a11c267221bb86004da13e0af Cc: python-list X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 142 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1365678807 news.xs4all.nl 2677 [2001:888:2000:d::a6]:36896 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:43352 --001a11c267221bb86004da13e0af Content-Type: text/plain; charset=ISO-8859-1 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 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 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 --001a11c267221bb86004da13e0af Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks for taking an interest.

Yes, I had the idea to add bluetooth too, removes the whole plugging an= d 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


<= div class=3D"gmail_quote">On 11 April 2013 10:20, Dylan Evans <dylan@dje.me= > wrote:
This looks cool, would actu= al be pretty useful. I see you did it as a usb project but probably bluetoo= th would be better so you could just pair it to your phone and know that yo= ur PC will lock when you walk away.



On Tue, Apr 9, 2013 at 1:21 AM, Sven <svenito@gm= ail.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 stic= k as a key to lock and unlock their computer. More info in the repo or PyPi= =A0https= ://pypi.python.org/pypi/USBLock

Basically run the program with -a to add a device (adde= d once you insert it), then run it without any arguments. Insert the key ag= ain, and when you remove it your computer will lock. Insert the key again a= nd 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 sof= tware.

Currently it locks a Linux box with xlock, pending a be= tter solution.

I wrote it as an exercise in playin= g around with USB media and events, and also because I needed a use for the= se old USB keys I have lying around :)

Always looking for contributions, suggestions and impro= vements. Especially OS X and Win support.

Repo:=A0=
http= s://github.com/Svenito/usblock

Thanks for your time.

--
./Sven

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




--
"The UNIX sy= stem 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
--001a11c267221bb86004da13e0af--