pax_global_header00006660000000000000000000000064151360370520014514gustar00rootroot0000000000000052 comment=88e4cb298efceb62a69f23b3b679400b4a364cbd main.raku000066400000000000000000000000611513603705200126650ustar00rootroot00000000000000task-run "tasks/install"; task-run "tasks/ssl"; tasks/000077500000000000000000000000001513603705200122055ustar00rootroot00000000000000tasks/install/000077500000000000000000000000001513603705200136535ustar00rootroot00000000000000tasks/install/task.bash000066400000000000000000000000351513603705200154520ustar00rootroot00000000000000sudo dnf install python3 -yq tasks/ssl/000077500000000000000000000000001513603705200130065ustar00rootroot00000000000000tasks/ssl/task.check000066400000000000000000000000141513603705200147420ustar00rootroot00000000000000TLSv1.3 200 tasks/ssl/task.py000066400000000000000000000005741513603705200143300ustar00rootroot00000000000000import socket import ssl from urllib.request import Request, urlopen hostname = 'www.python.org' context = ssl.create_default_context() with socket.create_connection((hostname, 443)) as sock: with context.wrap_socket(sock, server_hostname=hostname) as ssock: print(ssock.version()) with urlopen(Request("https://www.kernel.org/pub/")) as res: print(res.status)