TLS 1.2 implementation debugging

  • Status: Closed
  • Pris: $50
  • Bidrag mottagna: 0

Tävlingssammandrag

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

Rekommenderade kompetenser

Klargörandetavla

Finns inga meddelanden än.

Hur du kommer igång med tävlingar

  • Lägg upp din tävling

    Lägg upp din tävling Snabbt och enkelt

  • Få massvis med bidrag

    Få massvis med bidrag Från världens alla hörn

  • Utse det bästa bidraget

    Utse det bästa bidraget Ladda ner filerna - enkelt!

Lägg upp en tävling nu eller gå med idag!