Skip to content

Commit

Permalink
advertising ec point extension format
Browse files Browse the repository at this point in the history
check if the client adverties the uncompressed point format extension

error when uncompressed is not supported

codeclimat
  • Loading branch information
gstarovo committed Aug 26, 2024
1 parent 04c1e80 commit 818a4de
Show file tree
Hide file tree
Showing 9 changed files with 343 additions and 88 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ coverage.xml
pylint_report.txt
build/
docs/_build/
htmlcov/
htmlcov/
3 changes: 2 additions & 1 deletion scripts/tls.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ def printGoodConnection(connection, seconds):
print(" Extended Master Secret: {0}".format(
connection.extendedMasterSecret))
print(" Session Resumed: {0}".format(connection.resumed))
print(" Session used ec point format extension: {0}".format(connection.session.ec_point_format))

def printExporter(connection, expLabel, expLength):
if expLabel is None:
Expand Down Expand Up @@ -424,7 +425,7 @@ def clientCmd(argv):
connection.handshakeClientCert(cert_chain, privateKey,
settings=settings, serverName=address[0], alpn=alpn)
stop = time_stamp()
print("Handshake success")
print("Handshake success")
except TLSLocalAlert as a:
if a.description == AlertDescription.user_canceled:
print(str(a))
Expand Down
Empty file removed test
Empty file.
Loading

0 comments on commit 818a4de

Please sign in to comment.