./devel/py-stem, Python controller library for the tor daemon

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.8.0, Package name: py37-stem-1.8.0, Maintainer: pkgsrc-users

Stem is a Python library for controlling the tor daemon over a socket.


Required to run:
[databases/py-sqlite3] [security/py-cryptography] [security/py-nacl] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 8ca33b811e9368dee264176df980798f83935206
RMD160: ad16dab1188a8e9b011f2935b8f3e7691f177b90
Filesize: 2786.916 KB

Version history: (Expand)


CVS history: (Expand)


   2020-01-31 00:32:23 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-stem: update to 1.8.0.

Stem 1.8 is the final release in Stem’s 1.x series and with it
Python 2.x support. Over a year in the making, this introduces
CollecTor, bandwidth metric, and HSv3 descriptor support.

        Controller

            Added get_start_time() method to the Controller
            Added get_uptime() method to the Controller
            Controller events could fail to be delivered in a timely fashion \ 
(ticket 27173)
            Adjusted get_microdescriptors() fallback to also use '.new' cache \ 
files (ticket 28508)
            ExitPolicies could raise TypeError when read concurrently (ticket 29899)
            Moved the arrived_at attribute from Event to ControlMessage
            STALE_DESC Flag (spec)
            DORMANT and ACTIVE Signal (spec)
            QUERY_RATE_LIMITED HSDescReason (spec)
            EXTOR and HTTPTUNNEL Listener

        Descriptors

            Added the stem.descriptor.collector module (ticket 17979)
            Added v3 hidden service descriptor support (ticket 31369)
            Bandwidth file support (ticket 29056)
            stem.descriptor.remote methods now raise stem.DownloadFailed
            Check Ed25519 validity though the cryptography module rather than \ 
PyNaCl (ticket 22022)
            Download compressed descriptors by default (ticket 29186)
            Added Compression class
            Added stem.descriptor.remote.get_microdescriptors()
            Added stem.descriptor.remote.get_bandwidth_file() (ticket 26902)
            Added DetachedSignature parsing (ticket 28495)
            Added from_str() method (ticket 28450)
            Added type_annotation() method (ticket 28397)
            Added digest() method (ticket 28398)
            Added the hash_type and encoding arguments to ServerDescriptor and \ 
ExtraInfo's digest methods (ticket 28398)
            Added the network status vote's new bandwidth_file_digest attribute \ 
(spec)
            Added is_valid() and is_fresh() methods (ticket 28448)
            Replaced RouterStatusEntryMicroV3() hex encoded digest attribute \ 
with a base64 encoded microdescriptor_digest
            Replaced the digest attribute of Microdescriptor with a method by \ 
the same name (ticket 28398)
            Default the version_flavor attribute of NetworkStatusDocumentV3 to \ 
'ns' (spec)
            DescriptorDownloader crashed if use_mirrors is set (ticket 28393)
            Renamed stem.descriptor.hidden_service_descriptor to \ 
stem.descriptor.hidden_service
            Don't download from Serge, a bridge authority that frequently timeout
            Updated dizum authority's address (ticket 31406)

        Client

            Sockets with ORPorts errored if responses exceeded a hardcoded \ 
buffer size (ticket 28961)

        Utilities

            is_valid_hidden_service_address() now provides true if a v3 hidden \ 
servie address
            Fixed 'invalid escape sequence' python 3.6 warnings (ticket 27270)

        Website

            Migrated to GitHub's issue tracker
            Added NetBSD to our download page
            Describe advanced listener usage
            Exemplify manual SAFECOOKIE authentication
            Update PyPI links (ticket 30137)

        Interpreter

            tor-prompt is now ~34% faster when used to non-interactively invoke \ 
commands
   2019-11-03 11:18:30 by Roland Illig | Files touched by this commit (36)
Log message:
devel/py-*: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
   2019-02-28 07:22:28 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-stem: update to 1.7.1.

The only change is a small regex fix [2] so we have forward
compatibility with tor's upcoming 0.4.0.x series. Without this Stem's
launch_tor() method will fail, timing out due to being unable to find
a bootstrap message indicating 'success'

Nyx does *not* use this method so there's no need to worry about
bumping its dependency. This only impacts applications that launch tor
such as OnionLauncher and TorNova.
   2018-10-23 03:42:35 by Taylor R Campbell | Files touched by this commit (15)
Log message:
Import stem-1.7.0, nyx-2.0.4, and sbws-0.8.0 from the Tor Project.

stem-1.7.0: Python library for controlling the tor daemon
nyx-2.0.4: curses monitor for the tor daemon
sbws-0.8.0: bandwidth scanner

nyx is a standalone application, so give it a meta-package net/nyx
with no py- prefix.

sbws is a standalone application too but only for designated Tor
plumbers, not for ordinary users, so leave it as py-sbws.