mbedtls/tests
Gilles Peskine d11bb47fe0 Reject invalid UTF-8 and weird characters in text files
Reject "weird" characters in text files, especially control characters that
might be escape sequences or that might cause other text to appear garbled
(as in https://trojansource.codes/).

Also reject byte sequences that aren't valid UTF-8.

Accept only ASCII (except most control characters), letters, some non-ASCII
punctuation and some mathematical and technical symbols. This covers
everything that's currently present in Mbed TLS ( §áèéëñóöüłŽ–—’“”…≥).

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2023-01-05 20:31:14 +01:00
..
.jenkins Add a Jenkinsfile for PR job testing 2018-10-19 16:41:54 +01:00
configs Merge branch 'development' into rfc9146_2 2022-11-14 17:43:15 +00:00
data_files Merge pull request #6663 from davidhorstmann-arm/fix-typo-unsupported 2022-11-29 21:44:27 +01:00
docker/bionic Point to docker images used in the CI 2022-12-15 10:08:26 +01:00
git-scripts Fix typographical errors in .md files found by cspell 2022-07-29 13:44:01 +01:00
include Merge pull request #6784 from valeriosetti/issue6702 2023-01-03 09:36:58 +01:00
opt-testcases TLS 1.3: Fix some test dependencies 2022-12-15 13:46:23 +01:00
scripts Reject invalid UTF-8 and weird characters in text files 2023-01-05 20:31:14 +01:00
src Fix leak of modulus structures in tests 2022-12-16 10:13:29 +01:00
suites Merge pull request #6784 from valeriosetti/issue6702 2023-01-03 09:36:58 +01:00
.gitignore tests: Add build of a PSA test driver library 2021-12-06 07:50:27 +01:00
CMakeLists.txt Merge pull request #6699 from gilles-peskine-arm/lcov-script 2022-12-15 12:29:23 +01:00
compat-in-docker.sh Point to docker images used in the CI 2022-12-15 10:08:26 +01:00
compat.sh Enable all ciphers in OpenSSL >=1.1.0 2022-11-24 22:41:55 +01:00
context-info.sh Modifies tests in context-info.sh 2021-06-16 16:19:53 +01:00
Descriptions.txt Revert "Remove tests that depend on TLS or X.509" 2020-03-19 14:17:54 +01:00
make-in-docker.sh Point to docker images used in the CI 2022-12-15 10:08:26 +01:00
Makefile Merge pull request #6594 from gilles-peskine-arm/generate_test_code-function_comments 2022-12-15 12:32:11 +01:00
ssl-opt-in-docker.sh Point to docker images used in the CI 2022-12-15 10:08:26 +01:00
ssl-opt.sh Merge pull request #6723 from mpg/restartable-vs-use-psa 2022-12-15 19:47:44 +01:00