Skip to main content

Leekspin (á la the original internet masterpiece ) is a small tool for generating mocked Onion Router (OR) descriptors, such as those used by relays and bridges within Tor in order to convey information about said relay/bridge to the Tor directory authorities, the bridge authority, and Tor clients connecting to the network.

This library is meant to be used to generate mock descriptors for testing other Tor libraries and programs, such as Stem and BridgeDB .

The keys, hash digests, and signatures generated within these mock descriptors are meant to be indistinguishable from those generated by real relays and bridges within the Tor network.

Installing

The very simplest way, if you use pip , would be to do:

$ pip install leekspin

Otherwise, the standard setuptools commands work just fine:

$ git clone https://github.com/isislovecruft/leekspin.git
$ cd leekspin
$ python setup.py install --record installed-files.txt

Running

Leekspin will install a script named… leekspin. To use it to generate 20 bridge descriptors, do:

$ leekspin -n 20

And to generate 20 relay descriptors:

$ leekspin -r -n 20

Bugs

Should you decide to use this tool, and especially should you be so insane and to try hacking on it, you will likely find bugs. You may find bugs in Leekspin, BridgeDB, Stem, Tor’s specifications , and possibly even in Tor. Please, for math’s sake! Report them! The Tor developers will love you forever. You can report bugs here on our issue tracker .

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

leekspin-1.1.4.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

leekspin-1.1.4-py2.7.egg (64.5 kB view details)

Uploaded Egg

File details

Details for the file leekspin-1.1.4.tar.gz.

File metadata

  • Download URL: leekspin-1.1.4.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for leekspin-1.1.4.tar.gz
Algorithm Hash digest
SHA256 64ca769c8e3c8784c9bd5859d127a35d83489ac24518037777bb51d85e075036
MD5 1518ca334a2f89fdee3e2d07fa923901
BLAKE2b-256 76d7a6e59e764efa8575eadc2276ad4a006fdbcea6ddc260dea9989df97dfe40

See more details on using hashes here.

File details

Details for the file leekspin-1.1.4-py2.7.egg.

File metadata

  • Download URL: leekspin-1.1.4-py2.7.egg
  • Upload date:
  • Size: 64.5 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for leekspin-1.1.4-py2.7.egg
Algorithm Hash digest
SHA256 49d0ceb602171f71c61fec8d7d12c997a37c2a50433292a5938ec13e452af952
MD5 deb71ca4b089c2f4e97990e0f3cd48e1
BLAKE2b-256 b5d0689d191d0f1dad91b2f8324e7e7479f02bfbb4ec419a63d68e2ca943a443

See more details on using hashes here.

Release history Release notifications | RSS feed

2.1.1

3 files

2.1.0

3 files

2.0.0

3 files

This release

1.1.4 This release

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

0.2.1

3 files

0.2.0

2 files

0.1.4

2 files

0.1.3

3 files

0.1.2

3 files

0.1.1

3 files

0.1.0

1 file

0.0.10

3 files

0.0.9

3 files

0.0.8

3 files

0.0.7

3 files

0.0.6

3 files

0.0.4

3 files

0.0.3

3 files

0.0.2

3 files

0.2.1-dirty

2 files

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