Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!81.171.88.15.MISMATCH!eweka.nl!lightspeed.eweka.nl!213.73.255.4.MISMATCH!multikabel.net!newsfeed20.multikabel.net!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; 'received:209.85.219': 0.09; 'url:github': 0.09; 'cc:addr:python- list': 0.11; '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; 'pending': 0.26; 'subject: : ': 0.26; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; '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; '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; 'received:209.85': 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; 'received:209': 0.37; 'security,': 0.38; 'needed': 0.38; 'little': 0.38; 'launch': 0.39; 'url:mail': 0.40; 'remove': 0.60; 'provide': 0.64; 'more': 0.64; 'media': 0.66; 'phone': 0.66; 'military': 0.68; 'nobody': 0.68; 'useful.': 0.68; 'walk': 0.74; 'subject:your': 0.76; 'lying': 0.84; 'bluetooth': 0.91; 'to:none': 0.92; '2013': 0.98 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:in-reply-to:references :date:message-id:subject:from:cc:content-type:x-gm-message-state; bh=wSxMQacW6UxTOZ0YfEdiA+2HgRFjNDGwHHoWwxPcUXo=; b=W/YPJ048DWE5KDKh61y1qj7Q9ZlbP5fnmcv4aCXN9QEY+6mQOXZD87Y6/25FDDlnQM wY3HO/2oUzp42i0J9YQS8kUTGBymLaBt0w5Ca/22ZTy5arb/l60C8r8lc0dAsmMcZFxW AJIbxuPWJttJLUOoJfclo1HQo3ZlirXqcd07XYp3lbgqqztMqM0XtYLTbeF6r7OJH8Y4 h8qM/ZRJOQMC20AVduNmu9A3wMdKoHVRol6GGexiUIgMSk1CQnVVbYt/rrerSvawgkPT uLyxbeDdiXiaGAjRz/BmO8FHEn/pKmTFXQ79DfqWlrN2IuQmNdb0a7BGoqO0sIFhVDez gNQw== MIME-Version: 1.0 X-Received: by 10.60.25.4 with SMTP id y4mr1960274oef.114.1365672007689; Thu, 11 Apr 2013 02:20:07 -0700 (PDT) X-Originating-IP: [220.245.216.139] In-Reply-To: References: Date: Thu, 11 Apr 2013 19:20:07 +1000 Subject: Re: USBLock : lock/unlock your computer with a USB key From: Dylan Evans Cc: python-list Content-Type: multipart/alternative; boundary=e89a8fb200bce644d404da124a6c X-Gm-Message-State: ALoCoQlK0ysfjc2F9GDvG8yflv4WclnKG28JwKb+AlbtOlcATbe66Q4tEL8XHmuOgJ3HVqbNX/Gf 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: 97 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1365672019 news.xs4all.nl 2644 [2001:888:2000:d::a6]:45776 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:43341 --e89a8fb200bce644d404da124a6c Content-Type: text/plain; charset=ISO-8859-1 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 --e89a8fb200bce644d404da124a6c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
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 a= way.



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. Basical= ly 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=A0https://pypi.python.org/pypi/USBLock<= /div>

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




--
&qu= ot;The UNIX system has a command, nice ... in order to be nice to the other= users. Nobody ever uses it." - Andrew S. Tanenbaum
--e89a8fb200bce644d404da124a6c--