Skip to content

Commit

Permalink
List ciphers
Browse files Browse the repository at this point in the history
  • Loading branch information
sfodagain committed Nov 28, 2024
1 parent cdc3265 commit 00f4ae3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .builder/actions/tls_server_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,19 @@ def run(self, env):
for c in iter(lambda: p1.stderr.read(1), b""):
sys.stdout.buffer.write(c)


p1 = subprocess.Popen(["openssl.exe", "ciphers", "-s", "tls1_3",
], cwd=dir, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
time.sleep(1)
p1.poll()
print("Return code for p1 is {}".format(p1.returncode))
print("=== stdout 1:")
for c in iter(lambda: p1.stdout.read(1), b""):
sys.stdout.buffer.write(c)
print("=== stderr 1:")
for c in iter(lambda: p1.stderr.read(1), b""):
sys.stdout.buffer.write(c)

p = subprocess.Popen(["openssl.exe", "s_server",
"-accept", "127.0.0.1:59443",
"-key", "server.key",
Expand Down

0 comments on commit 00f4ae3

Please sign in to comment.