Skip to main content
=======
USBLock
=======

Copyright (C) 2013 Sven Steinbauer http://www.unlogic.co.uk

[![Build Status](https://travis-ci.org/Svenito/usblock.png?branch=master)](https://travis-ci.org/Svenito/usblock)

USBlock is a Python script that will lock and unlock your linux box using any
old USB storage device as a key.

** NOTE **
V0.1 only works on Linux. OS X and Windows will have to wait a little.

Installation
============

Install with `pip install usblock` or run `sudo python ./setup.py install`
from the directory you downloaded USBLock into.

See `requirements.txt` for a list of required Python modules.

Non Python dependencies
=======================

Linux
-----

You will need `dbus` and `python-dbus` as well as `hal`. These should all be
available via your package manager. See below why `python-dbus` is listed here.

Known Issues
============

* I've had some devices not mount on external USB ports (like on a Mac keyboard
or hub). DBus does not register the device insertion and so USBLock cannot
lock or unlock your machine. Try a different memory stick or USB port.

* On linux you need dbus installed. `pip install dbus-python` doesn't work, so
you may have to install it via your system's package manager or from source.

Thanks for the patches
======================

Joel Semar, Natan L

Metadata

Release files for USBLock 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for USBLock 0.2.2
File Size Uploaded
USBLock-0.2.2.tar.gz 19.6 kB Details

Release files / USBLock-0.2.2.tar.gz

Download URL USBLock-0.2.2.tar.gz
Size 19.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0255b93e570aa128a7641d8bce23895e78107a1d4605d4f3bcf878d372269947
BLAKE2b-256 checksum
How to use checksums
99e341e77093d332db0948a63548845f9f6cd201adea6acbe82fc90bc240c7e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.2 This release

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.7

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page