emqx / NanoSDK

NanoSDK - MQTT 5.0-compliant SDK with QUIC support in NNG flavor
https://nanomq.io
MIT License
130 stars 42 forks source link

Licensing with GPL submodule? #193

Open timwoj opened 1 year ago

timwoj commented 1 year ago

Describe the bug

This isn't a code bug, but a question about licensing with regards to the external dependencies. NanoSDK and msquic are both licensed as MIT. wolfSSL is licensed as GPL2 (not LGPL2) though. Assuming you link wolfSSL via nng-wolfssl (which itself is GPL3), doesn't that create a conflict with the licenses, basically causing everything to have to follow the tighter restrictions of GPL2? Is it possible for NanoSDK to support SSL/TLS without needing wolfSSL?

JaylinYu commented 1 year ago

Yes, enabling wolfssl will change the license. Recommend to stay with MbedTLS