Remove MBEDTLS_TEST_NULL_ENTROPY #4388
Labels
component-platform
Portability layer and build scripts
enhancement
good-first-issue
Good for newcomers
size-s
Estimated task size: small (~2d)
Context
The config option
MBEDTLS_TEST_NULL_ENTROPY
builds the library with no configured entropy sources. This completely negates any and all security provided by the library and as such represents a large security hole in the library.This option was originally requested a relatively long time ago and we no longer find the reasoning behind keeping the option acceptable as it does not provide any tangible benefit for users any more.
Rationale
To reduce testing burden from too many config options as well as remove obsolete options which no longer bear relevance to the current library direction we want to remove this option in the 3.0 release.
This is a large security issue as it could be misconfigured and must not be used in production, therefore we do not feel it has a place in the library.
There are also suitable alternatives for replicating this option such as using
MBEDTLS_ENTROPY_NV_SEED
or making a fake entropy function.Work items for 3.0
MBEDTLS_TEST_NULL_ENTROPY
fromconfig.h
MBEDTLS_TEST_NULL_ENTROPY
so thatgit grep MBEDTLS_TEST_NULL_ENTROPY
finds no occurrences in the library or test code.The text was updated successfully, but these errors were encountered: