[Twisted-Python] Weekly Bug Summary

2018-03-03 Thread trac
Bug summary __ Summary for 2018-02-25 through 2018-03-04 Opened Closed Total Change Enhancements: 0 1 1383 -1 Defects: 3 0912 +3 Tasks: 0 0 9

Re: [Twisted-Python] Does Twisted support ECC for TLS?

2018-03-03 Thread Justin Myles Holmes
OK, I think I've got it figured out, but I'm still not sure what to do about it. In twisted.internet._sslverify.py, there's: _defaultCurveName = u"prime256v1" Then, later, this curve is set as self.ecCurve on OpenSSLCertificateOptions. There appears to be no way to change this, but of course "p

Re: [Twisted-Python] Does Twisted support ECC for TLS?

2018-03-03 Thread Justin Myles Holmes
Righto! I notice that there's an issue on PyOpenSSL which appears to address this: https://github.com/pyca/pyopenssl/pull/636 However, it's not clear that this actually moves the issue forward, as it only provides for getting a PKey from a cryptography EC key, not for actually using it for TLS.

Re: [Twisted-Python] Does Twisted support ECC for TLS?

2018-03-03 Thread Glyph
> On Mar 3, 2018, at 2:38 PM, Justin Myles Holmes > wrote: > > I'm trying to bend a little bit of custom TLS - one possible use case for me > is a HendrixDeploy object which uses an ethereum keypair to self-sign a > certificate. > > So I'm wondering: is it currently possible to use an ECC k

[Twisted-Python] Does Twisted support ECC for TLS?

2018-03-03 Thread Justin Myles Holmes
I'm trying to bend a little bit of custom TLS - one possible use case for me is a HendrixDeploy object which uses an ethereum keypair to self-sign a certificate. So I'm wondering: is it currently possible to use an ECC keypair for TLS with Twisted? Here's what I've discovered: twisted.internet.s