896ae3f961
Enabling TLS compression may make mbedTLS vulnerable to the CRIME attack [1]. It should not be enabled unless is is sure CRIME and similar attacks are not applicable to the particulare situation. As zlib is probably enabled in most systems, the user might end up with a vulnerable system without knowing. So, instead of enabling compression support if the zlib package is available, we make the compression support a config option. This way, the user has to explicitly enable compression support and is warned by the help text about the risk. [1] https://tls.mbed.org/kb/how-to/deflate-compression-in-ssl-tls Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
33 lines
966 B
Plaintext
33 lines
966 B
Plaintext
config BR2_PACKAGE_MBEDTLS
|
|
bool "mbedtls"
|
|
help
|
|
mbed TLS (formerly known as PolarSSL) makes it trivially easy
|
|
for developers to include cryptographic and SSL/TLS
|
|
capabilities in their (embedded) products, facilitating this
|
|
functionality with a minimal coding footprint.
|
|
|
|
https://tls.mbed.org/
|
|
|
|
if BR2_PACKAGE_MBEDTLS
|
|
|
|
config BR2_PACKAGE_MBEDTLS_PROGRAMS
|
|
bool "mbedtls programs"
|
|
depends on BR2_USE_MMU # fork()
|
|
help
|
|
This option enables the installation and the build of
|
|
mbed TLS companion programs.
|
|
|
|
config BR2_PACKAGE_MBEDTLS_COMPRESSION
|
|
bool "enable compression support"
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
Enable support for compression of the content data before it
|
|
enters the secure channel as described in RFC 3749.
|
|
|
|
Warning: TLS compression may make you vulnerable to the CRIME
|
|
attack. You should not enable it unless you know for sure CRIME
|
|
and similar attacks are not applicable to your particular
|
|
situation.
|
|
|
|
endif
|