from "sammyshj"
You can download the release from PyPI or GitHub (or of
course "pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/0.12.0
https://github.com/meejah/txtorcon/releases/tag/v0.12.0
Releases are also available from the hidden service:
http
txaio.add_callbacks(f0, callback, errback) # either can be None
txaio.add_callbacks(f1, callback, errback)
# ...
txaio.resolve(f0, "value")
txaio.reject(f1, RuntimeError("it failed"))
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
hon.org/pypi/txtorcon/0.14.0
https://github.com/meejah/txtorcon/releases/tag/v0.14.0
Releases are also available from the hidden service:
http://timaq4ygg2iegci7.onion/txtorcon-0.14.0.tar.gz
http://timaq4ygg2iegci7.onion/txtorcon-0.14.0.tar.gz.asc
http://timaq4ygg2iegci7.onion/txtorcon-
PHiddenServiceEndpoints attached to existing or launched Tor
instances.
If anyone would like to help, that'd be great; the enhancement ticket
for the "tor:..." endpoints is:
https://github.com/meejah/txtorcon/issues/128
Anything unclear can be discussed there.
Note that c
meejah writes:
> * add .is_built Deferred to txtorcon.Circuit that gets callback()'d
> when the circuit becomes BUILT
This had a bug in it. I give you 0.14.1:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
There was a subtle bug with the Circuit.is_built API introduce
https://pypi.python.org/pypi/txtorcon/0.14.2
https://github.com/meejah/txtorcon/releases/tag/v0.14.2
Releases are also available from the hidden service:
http://timaq4ygg2iegci7.onion/txtorcon-0.14.2.tar.gz
http://timaq4ygg2iegci7.onion/txtorcon-0.14.2.tar.gz.asc
http://timaq4ygg2ie
icate as
trustRoot. The only way I can see is to construct one of those from a
list of OpenSSL certificate instances and pass that as trustRoot=
Thanks for any hints,
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
near term but haven't
started any direct work on 8151. I'm usually idling in OFTC and Freenode
if anyone has feedback or ideas or wants to help :)
Cheers,
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatri
n IOpenSSLTrustRoot implementation back or do
... something else? That is, currently I'm just confirming this via
asserting IOpenSSLTrustRoot.providedBy(theReturnValue) or so in the
tests. Of course, this means I'm importing the private interface
d = something_async(item)
d.addCallback(process_an_item, item)
defs.append(d)
yield DeferredList(defs)
Error-handling left as an exercise for the reader :)
--
meejah
___
Twisted-Python mailing list
Twisted-Pyth
etup is that the
buildbot slaves don't run random PR code, only post-merged-to-master
code).
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
27;
workflows like Twisted's) and keeps the "open PRs" list (hopefully!)
shorter.
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
f.scheduler" which is usually just gotten by
importing from twisted.internet.reactor -- *but* critically, the tests
can re-assign this:
https://github.com/meejah/txtorcon/blob/master/test/test_addrmap.py#L109
Ideally, this would have been passed-in via the __init__ but,
*shruggy-face*. The point be
.g. because the file isn't readable).
* both TorState and TorConfig now have a ``.from_protocol``
class-method.
* spec-compliant string-un-escaping from https://github.com/coffeemakr
* fix https://github.com/meejah/txtorcon/issues/176
You can download the release from PyPI or GitHu
ers) which methods are (or might-be) async.
So, try a signature like "def terrific_method(reactor):" instead. Now
when you're writing tests, you can do this:
fake_reactor = Clock()
d = terrific_method(fake_reactor)
fake_reactor.advance(
install()
from twisted.internet.task import react
if __name__ == '__main__':
react(print_it)
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
t;pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/0.15.1
https://github.com/meejah/txtorcon/releases/tag/v0.15.1
Releases are also available from the hidden service:
http://timaq4ygg2iegci7.onion/txtorcon-0.15.1.tar.gz
http://timaq4ygg2iegci7.onion/txtorcon-0.15.1.
txtorcon runs all tests fine with 16.4.0pre1
Thanks! Lots of great additions, it looks like :)
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
s for TorClientEndpoint
(thanks to "dawuud"). Also adds TLS support over SOCKS5.
You can download the release from PyPI or GitHub (or of
course "pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/0.16.1
https://github.com/meejah/txtorcon/releases/tag/v0.16.1
Releases ar
's already used
- shouldn't already be in popular protocols/options (e.g. anything
valid in a URI?)
In some ways having a two-character separator could be really nice, as
it's far less likely to collide with things? I like that the intent of
"->" is also reasonably o
or). It would look like:
myWidget.text = await somethingDeferred()
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
ty API for `socks_hostname` was incorrectly named
You can download the release from PyPI or GitHub (or of
course "pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/0.17.0
https://github.com/meejah/txtorcon/releases/tag/v0.17.0
Releases are also available from the hidd
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
txtorcon 0.18.0 is released, improving error-reporting when you have
SAFECOOKIE or COOKIE authentication turned on but can't read the file.
* https://github.com/meejah/txtorcon/issues/200
You can download the release from PyPI or GitHub (
xing needs (it's
great!). Except there's that one machine that still uses "screen"
instead, and I "somehow" got confused about prefix-keys and chorded out
the "send the email" Morse-code instead of the "insert a file" one...
--
meejah
_
Existing code will continue to work for the forseeable future.
thanks,
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
;s easier to tell
"how new" a release is; and big version numbers are cool (just kidding).
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
of the documentation, including the new
Programming Guide:
https://txtorcon.readthedocs.io/en/latest/guide.html
* Issue 203: https://github.com/meejah/txtorcon/issues/203
* new helper: txtorcon.Router.get_onionoo_details which downloads
JSON for a particular relay from OnionOO
* new helper: t
19.1
https://github.com/meejah/txtorcon/releases/tag/v0.19.1
Releases are also available from the hidden service:
http://timaq4ygg2iegci7.onion/txtorcon-0.19.1.tar.gz
http://timaq4ygg2iegci7.onion/txtorcon-0.19.1.tar.gz.asc
You can verify the sha256sum of both by running the following 4 lines
in a shell wh
wnload the release from PyPI or GitHub (or of course "pip
install txtorcon"):
https://pypi.python.org/pypi/txtorcon/0.19.2
https://github.com/meejah/txtorcon/releases/tag/v0.19.2
Releases are also available from the hidden service:
http://timaq4ygg2iegci7.onion/txtorcon-0.19.2.tar.gz
htt
calls (to help
filtering-proxies).
You can download the release from PyPI or GitHub (or of
course "pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/0.19.3
https://github.com/meejah/txtorcon/releases/tag/v0.19.3
Releases are also available from the hidden servic
hoe-LAFS (which uses Twisted) and which also starts a
25-node Tor test network.
https://meejah.ca/blog/pytest-integration-testing
You probably also want the pytest-twisted extension for pytest. I'm
often around in #twisted or #tahoe-lafs on Freenode IRC if you'd like to
discuss.
-
ers always deleted following NEWCONSENSUS
* Issue 279: remember proxy endpoint if it was Deferred
You can download the release from PyPI or GitHub (or of course "pip
install txtorcon"):
https://pypi.python.org/pypi/txtorcon/0.20.0
https://github.com/meejah/txtorcon/releases/tag/v
Are you using Python3? Then there's "asynchronous context managers". I
finally found a use-case for one in txtorcon, so here's an example:
http://txtorcon.readthedocs.io/en/latest/txtorcon-controller.html#txtorcon.Tor.onion_authen
pport listening on Unix paths.
* make sure README renders on Warehouse/PyPI
You can download the release from PyPI or GitHub (or of course "pip
install txtorcon"):
https://pypi.python.org/pypi/txtorcon/18.0.0
https://github.com/meejah/txtorcon/releases/tag/v18.0.0
R
con/18.0.1
https://github.com/meejah/txtorcon/releases/tag/v18.0.1
Releases are also available from the hidden service:
http://timaq4ygg2iegci7.onion/txtorcon-18.0.1.tar.gz
http://timaq4ygg2iegci7.onion/txtorcon-18.0.1.tar.gz.asc
Or via a "version 3"
ized t-shirt with your
exploit printed on it and add you to the "Hack Tahoe-LAFS Hall
Of Fame" [13].
ACKNOWLEDGEMENTS
This is the eighteenth release of Tahoe-LAFS to be created
solely as a labor of love by volunteers. Thank you very much
to the team of "hackers in the public int
fying the remote vs local
connections.
You can download the release from PyPI or GitHub (or of
course "pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/18.1.0
https://github.com/meejah/txtorcon/releases/tag/v18.1.0
Releases are also available from the hidden service
` via `single_hop=` kwarg
You can download the release from PyPI or GitHub (or of
course "pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/18.2.0
https://github.com/meejah/txtorcon/releases/tag/v18.2.0
Releases are also available from the hidden service:
http://timaq4y
ourse "pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/18.3.0
https://github.com/meejah/txtorcon/releases/tag/v18.3.0
Releases are also available from the hidden service:
http://timaq4ygg2iegci7.onion/txtorcon-18.3.0.tar.gz
http://timaq4ygg2iegci7.onion/txtorcon-18.3.
re's *some* examples in the Autobahn repository above.
Here are some "not IOPump" examples using the Twisted "StringTransport"
helper (this isn't WebSocket but should give some ideas):
https://github.com/meejah/txtorcon/blob/master/test/test_torcontrolprotocol.
rcuit
You can download the release from PyPI or GitHub (or of
course "pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/19.0.0
https://github.com/meejah/txtorcon/releases/tag/v19.0.0
Releases are also available from the hidden service:
http://timaq4ygg2iegci7.onion/
>> fwiw, WAMP is a protocol with a clear-cut, rigorous and decoupled
>> layering:
> Do browsers speak WAMP?
Yes. See Autobahn-JS
> Do firewalls get upset with it?
No.
WAMP connections are usually "outbound" style connections to the rou
WAMP protocol (which does RPC and PubSub).
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
uses twisted web so it will use http2 if the
underlying twisted has been set up to use http2 (by installing the right
things).
p.s. if you need real-time help/discussion, #twisted on freenode is a
friendly and active channel.
Cheers,
meejah
_
eed) but is way simpler.
Obviously, an RPC-style communication system avoids the startup penalty
(but can be more complex).
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
decorators too.
See e.g. TorState.on_circuit_new()
* fixes to the CI setup to properly test Twisted versions
You can download the release from PyPI or GitHub (or of
course "pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/19.1.0
https://github.com/meejah/txtorcon/
threaded an so only one callback is running at a time. There's no
need to lock etc.
(Or, is there another reason you need to cache to "be async"? Like maybe
it's using memcached or so?)
--
meejah
___
Twisted-Python mailing list
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
I'm pleased to announce txtorcon 20.0.0. This fixes a few bugs and
officially deprecates Python 2 support.
* Use real GeoIP database or nothing
(https://github.com/meejah/txtorcon/issues/250)
* Change abstract base classes import in preper
latively simple protocol to try this "sans-io" style
and was happy to start with the state-machine (using Automat). This
forced some good decisions. Then I worked outwards to the "more boring"
bits (framing and serialization/parsing).
(Hmm, this should almost just be a blog-p
circuit_failure_rates.py example to make it actually-useful;
. include built documentation + sources in tarball;
. include tests in tarball;
. improved logging;
. a few patches from mmaker and kneufeld
docs: http://readthedocs.org/docs/txtorcon/en/latest/
code: https://github.com/meejah/txtorcon
https
URIs for ReadTheDocs
Code and built documentation may be obtained:
https://github.com/meejah/txtorcon
https://txtorcon.readthedocs.org/en/latest/index.html
git clone git://github.com/meejah/txtorcon.git
You may also install it directly:
pip install txtorcon
easy_install txtorcon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Is this an acceptable (ab)use of the twisted logo? I can't find
anything obvious on twistedmatrix.com about this sort of thing.
<>
More information about txtorcon is at https://txtorcon.readthedocs.org
thanks,
meejah
-BEGIN PG
authenticated sessions now use a password callback
(that may return a Deferred);
. fixes for AddrMap in case Tor ticket #8596 is implemented;
Code and built documentation may be obtained:
git clone git://github.com/meejah/txtorcon.git
https://github.com/meejah/txtorcon
https
the latest stuff,
however, so it might work like github in this respect "soon":
https://github.com/gitlabhq/gitlabhq/pull/3597
Cheers,
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
s...
The rebase way of squashing does re-write the commits. For fun times,
look into "git rebase --interactive" (or as this guy calls it, ``a bit
like git commit --amend hopped up on acid and holding a chainsaw''):
http://tomayko.com/writings/the-thing-ab
from enriquefynn improving tor binary locating
* strip OK lines in TorControlProtocol
(https://github.com/meejah/txtorcon/issues/8)
* use TERM not KILL when Tor launch times out
(https://github.com/meejah/txtorcon/pull/68>) from hellais
* Unit-test coverage now at 98%
sha256 sums for the dist
p etc in
connect(). Perhaps "looking similar" is a non-feature, though :)
Another point for this is that "someday" tor will have UDP support...
thanks,
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
code is in endpoints.py if anyone is interested, here:
https://github.com/meejah/txtorcon/blob/master/txtorcon/endpoints.py#L117
If you do look, I'd certainly appreciate any comments.
(The tests are in test/test_endpoints.py)
Anyway, one really cool thing now that txtorcon supports endp
/howtos.html#endpoints-enable-tor-with-any-twisted-service
You can download the release from PyPI or GitHub (or of course use
"pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/0.10.0
https://github.com/meejah/txtorcon/releases/tag/v0.10.0
sha256sum reports:
910f
i/txtorcon/0.10.1
https://github.com/meejah/txtorcon/releases/tag/v0.10.1
sha256sum reports:
33f04523329b14accb2054b81c5da887c28b402c797ba895dc1ee58824e107f1
txtorcon-0.10.1-py2-none-any.whl
7a6e8fab71fd05c223d866b60b998cf308661ef1fc87d94e06c3b51f4ada4a6a
txtorcon-0.10.1.tar.gz
than
hash if I recall
correctly. Of course, Twisted's setup is likely considerably more
complex than mine was :)
Cheers,
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
ttps://github.com/twisted-infra/twisted-buildbot-configuration/> is
> available for your perusal if you want to find it out :).
Okay, I'll take a look.
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
63 matches
Mail list logo