ArduinoBearSSL icon indicating copy to clipboard operation
ArduinoBearSSL copied to clipboard

ALPN support would be nice

Open sitase opened this issue 5 years ago • 8 comments

Needed for MQTT to AWS IoT per https://docs.aws.amazon.com/iot/latest/developerguide/protocols.html (if you have the default MQTTs port filtered out).

Support is in BearSSL, so it should just be a matter of exposing the possibility to configure.

sitase avatar Feb 08 '20 16:02 sitase

If you are connecting MQTT to AWS IoT then you can use the following :-

According to AWS documentation, we have pubsub for connecting. you can refer the documentation for further details.

Thank you

thekunalsaini avatar Mar 20 '20 07:03 thekunalsaini

@sitase @per1234

thekunalsaini avatar Mar 20 '20 07:03 thekunalsaini

@thekunalsaini Would you care to elaborate?

sitase avatar Mar 20 '20 07:03 sitase

@sitase Actually, if you check the documentation of AWS you will have pubsub which is used for publish and subscriber purpose and used to connect to Iot devices.

thekunalsaini avatar Mar 22 '20 18:03 thekunalsaini

@per1234

thekunalsaini avatar Mar 22 '20 18:03 thekunalsaini

@thekunalsaini why did you mention me? If there is some action you want me to take, then you need to provide a detailed explanation of that action and your reasoning for it.

You need to understand that busy people get an email every time you comment on an issue report or a pull request. This takes up time we could be using to do more important things. Productive input is very much welcome, but vague statements and mentions for no obvious purpose are not at all productive. I'm writing this reply when I have thousands of other things I could be doing with my time.

per1234 avatar Mar 22 '20 21:03 per1234

@thekunalsaini the low-level BearSSL library already has integrates the APLN support.

The low-level function you are looking for is br_ssl_engine_set_protocol_names.

Please, consider reading the in-line APLN-related functions and flags documentation and implementing a corresponding extension method for the ArduinoBearSSL class. When done, please, submit it in a proper PR.

Thanks!

manchoz avatar Mar 30 '20 10:03 manchoz

Reading through this I realise that the last information provided by @manchoz is actually relevant for the issue creator. @sitase Currently our hands are a bit full but if you could provide a good PR we can merge it in.

aentinger avatar May 18 '20 09:05 aentinger