[issue32882] SSLContext.set_ecdh_curve() not accepting x25519

2018-02-20 Thread Christian Heimes
Christian Heimes added the comment: This bug was originally the more generic issue #32858. SSLContext.set_ecdh_curve() uses EC_KEY_new_by_curve_name() and SSL_CTX_set_tmp_ecdh() to configure the ECDH curve parameters. The current approach has multiple downsides. It doesn't

[issue32858] Improve OpenSSL ECDH support

2018-02-20 Thread sruester
sruester added the comment: I agree, we shouldn't support that confusion. I opened two separate issues https://bugs.python.org/issue32882 and https://bugs.python.org/issue32883 and will close this one now. -- resolution: -> wont fix stage: patch review ->

[issue32883] Key agreement parameters not accessible

2018-02-20 Thread sruester
New submission from sruester : Using python it is not possible to retrieve information about the key exchange/agreement method that was used during session setup. A method should be added to a suitable SSL* object that allows to retrieve information such as whether ECDH

[issue32882] SSLContext.set_ecdh_curve() not accepting x25519

2018-02-20 Thread sruester
New submission from sruester : Using SSLContext.set_ecdh_curve() it is neither possible to choose X25519, nor to choose a list of curves to be used for key agreement. -- assignee: christian.heimes components: SSL messages: 312405 nosy: christian.heimes, sruester

[issue32857] tkinter after_cancel does not behave correctly when called with id=None

2018-02-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It's up to you. -- ___ Python tracker ___

[issue32820] Add bits method to ipaddress

2018-02-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I the bits() method is a dead end. The conclusion was to add __format__(). -- ___ Python tracker

[issue32849] Fatal Python error: Py_Initialize: can't initialize sys standard streams

2018-02-20 Thread Rudolph Froger
Rudolph Froger added the comment: Thanks for all the research! My crashing Python process is started by a shell process which is launched by the Freebsd daemon tool, this might explain why stdin in no longer valid. But I'm not sure why it can be solved,

<    1   2