Support (smaller) SSL implementations than OpenSSL
Bug #1200290 reported by
Damiano Albani
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mosquitto |
New
|
Wishlist
|
Unassigned |
Bug Description
In environments where CPU and storage is constrained, OpenSSL may not be the most appropriate SSL implementation to use.
For example, the OpenSSL package in OpenWRT 12.09 is 600 kB!
There exists several other SSL libraries, among which some are clearly designed to be lightweight and fast.
For instance: GnuTLS (?), CyaSSL, PolarSSL, axTLS or MatrixSSL.
It would be really nice to have Mosquitto support one or more of these libraries -- in addition to OpenSSL of course.
Thanks!
To post a comment you must log in.
This is something I'll consider for version 1.3.
Going through the list of TLS implementations there is only one that matches both our requirements.
CyaSSL, MatrixSSL and PolarSSL are GPL/commercial so are not suitable.
GnuTLS is LGPL, but is of a similar size to openssl.
NSS is huge, doesn't seem to have many examples and is poorly documented (at least openssl has wide usage even if the docs are poor)
axTLS is BSD licensed and is small. It doesn't support TLS-PSK which is a shame, but that is a sacrifice that can be made.