Giter VIP home page Giter VIP logo

Comments (8)

ronaaron avatar ronaaron commented on August 11, 2024

The example tlssimple.c is able to connect, and the only difference I can determine is that it's using "TLS_AMALGAMATION" and I'm using a differently compiled version of tomcrypt. I'll see if that is really the difference (I hope not, since it will be difficult to incorporate I think).

from tlse.

ronaaron avatar ronaaron commented on August 11, 2024

So... incorporating the amalgamation doesn't make a difference. Very frustrating.

from tlse.

ronaaron avatar ronaaron commented on August 11, 2024

More confusing: sometimes it does work, and sometimes it doesn't. Perhaps an uninitialized value?

from tlse.

ronaaron avatar ronaaron commented on August 11, 2024
Message type: 17, length: 29
encrypted (29): 00 00 00 00 00 00 00 0F 2C CE 88 A0 29 5E 87 C0 2E C0 CB 24 74 89 35 E3 04 D1 F0 DF 38 
aad (13): 00 00 00 00 00 00 00 0F 17 03 03 00 05 
aad iv (12): 28 0E C4 53 00 00 00 00 00 00 00 0F 
PT SIZE: 5
decrypted (5): 30 0D 0A 0D 0A 
tag (16): 5E 87 C0 2E C0 CB 24 74 89 35 E3 04 D1 F0 DF 38 
APPLICATION DATA MESSAGE (TLS VERSION: 303):
0


Consumed 10 bytes
OK
UNSUPPORTED TLS VERSION 0
Consumed -4 bytes
ERROR IN CONSUME: -4

from tlse.

ronaaron avatar ronaaron commented on August 11, 2024

Just to clarify, there are two URLs which are currently causing me problems:

The first one seems to be using a Cloudflare certificate, so that is probably related to #53

The second is mysterious "unsupported TLS version"

from tlse.

ronaaron avatar ronaaron commented on August 11, 2024

The 'calendardate' URL gives me a TLS "handshake fail" because it can't negotiate a cipher. The other is... no idea.

from tlse.

ronaaron avatar ronaaron commented on August 11, 2024

So it turns out the 'calendardate' url problem was lack of SNI on the client side. The error returned could be more informative...

The remaining issue is the original: postfi.fi

from tlse.

ronaaron avatar ronaaron commented on August 11, 2024

Screw it. The posti.fi issue is ALSO "SNI" (needs to be www.posti.fi). Crap, the error messages are not very useful!

from tlse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.