TLS 1.2 implementation debugging

  • Status: Closed
  • Prize: $50
  • Entries Received: 0

Contest Brief

I develped a C++ web development framework.
Currently working on TLS functionality.(DHE RSA AES128 SHA)
It is almost done. But one thing is a problem.
I cannot let it communicate with real world browsers or programs in case of TLS.
It can communicate with my own client.
So I am implementing something wrong.

First picture shows that the middle server and web server and my own tls client working well.
Second picture shows the tls middle server and webserver and openssl s_client.
But there is some problem at the upper left terminal. It shows that master secret is well negotiated but something went wrong between key expanding and decoding.
So, padding assertion failed.
You can reproduce the error by cloning the github on linux machine and make to compile.
run ./https.x : middle server
run openssl s_client

Anyone who finds out what is making the problem win the prize.
My whole source code is in tls branch of https://github.com/ParkSeungwon/http2.
My question is at stackoverflow. https://stackoverflow.com/questions/52597932/how-to-verify-and-generate-encrypted-handshake-message

Recommended Skills

Public Clarification Board

No messages yet.

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!