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

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 <svenito@gmail.com>
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; '&quot;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.&quot;': 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&gt;': 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 <CADQvV+vPTZ7maEpPATUoMqZdxx+ugOjuvvL3HLd3gPCBO06crQ@mail.gmail.com>
References <CAEH=cXWyAnKqzibz555S6xVM81bjgsNC5EvFdJ_gOvFPqAwS7g@mail.gmail.com> <CADQvV+vPTZ7maEpPATUoMqZdxx+ugOjuvvL3HLd3gPCBO06crQ@mail.gmail.com>
Date Thu, 11 Apr 2013 12:13:25 +0100
Subject Re: USBLock : lock/unlock your computer with a USB key
From Sven <svenito@gmail.com>
To Dylan Evans <dylan@dje.me>
Content-Type multipart/alternative; boundary=001a11c267221bb86004da13e0af
Cc python-list <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.460.1365678807.3114.python-list@python.org> (permalink)
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

Show key headers only | 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