Message11038
> Could you please provide me with the sample code for the same.
Could you specify what sample code you mean?
It would be actually helpful if you could provide sample code that reproduces this issue. What code let you learn that TLS1.2 is missing? Did you run that code on current Jython 2.7.1 trunk version?
I just quick-checked the basics:
Jython 2.7.1b3 (, Jan 20 2017, 07:41:44)
[OpenJDK 64-Bit Server VM (Oracle Corporation)] on java1.8.0_121
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
>>> ssl.PROTOCOL_TLSv1_2
5
>>> test_context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
>>>
(That this passes without error so far does of course not yet mean that TLSv1_2 actually works.)
Unfortunately test_ssl.py does not apply protocol tests, because they depend on thread-stuf that currently does not work, see in Lib/test/test_ssl.py:
_have_threads = False
if _have_threads: # Jython skip threading tests for now, really don't work :(
_have_threads = True
So some code to actually test TLS 1.2 support would be helpful. |
|
Date |
User |
Action |
Args |
2017-01-26 15:16:51 | stefan.richthofer | set | messageid: <1485443811.03.0.201244661287.issue2542@psf.upfronthosting.co.za> |
2017-01-26 15:16:51 | stefan.richthofer | set | recipients:
+ stefan.richthofer, aditya24 |
2017-01-26 15:16:51 | stefan.richthofer | link | issue2542 messages |
2017-01-26 15:16:50 | stefan.richthofer | create | |
|