Gilles Peskine b60b7a33c0 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-10 22:13:27 +01:00
..
all-in-docker.sh Point to docker images used in the CI 2022-12-16 10:21:11 +01:00
all.sh Hide check_test_cases warnings on the CI 2022-12-15 15:22:13 +01:00
analyze_outcomes.py Move collect_available_test_cases to check_test_cases.py 2022-01-25 13:32:25 +01:00
basic-build-test.sh Simplify the coverage statistics summary 2022-12-19 10:17:10 +01:00
basic-in-docker.sh Point to docker images used in the CI 2022-12-16 10:21:11 +01:00
check_files.py Reject invalid UTF-8 and weird characters in text files 2023-01-10 22:13:27 +01:00
check_names.py Fix an incorrect regex in check_names.py 2022-12-16 13:49:09 +00:00
check_test_cases.py New option to list all test cases 2022-01-25 13:32:32 +01:00
check-doxy-blocks.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
check-generated-files.sh Don't touch the style of generated files 2022-12-19 00:58:25 +01:00
check-python-files.sh Don't use parallel jobs for pylint 2022-10-14 15:34:06 +02:00
depends.py Document that ECP_RESTARTABLE depends on ECP_C 2022-12-09 10:24:52 +01:00
docker_env.sh Point to docker images used in the CI 2022-12-16 10:21:11 +01:00
doxygen.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
gen_ctr_drbg.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
gen_gcm_decrypt.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
gen_gcm_encrypt.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
gen_pkcs1_v21_sign_verify.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
generate_bignum_tests.py Pacify pylint 2022-11-10 15:15:25 +01:00
generate_psa_tests.py Fix typos prior to release 2022-12-04 16:44:21 +00:00
generate_test_code.py Preserve line breaks from continued line comments 2022-11-30 16:39:55 +01:00
generate-afl-tests.sh Don't use test_suite_mpi as an example 2022-11-09 21:00:28 +01:00
list_internal_identifiers.py Copy check_names.py and friends from development 2021-09-27 20:01:08 +02:00
list-identifiers.sh Copy check_names.py and friends from development 2021-09-27 20:01:08 +02:00
psa_collect_statuses.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
recursion.pl Redo of PR#5345. Fixed spelling and typographical errors found by CodeSpell. 2022-04-28 18:22:20 +01:00
run-test-suites.pl Use .datax for make test, not .data 2022-11-16 10:35:20 +01:00
scripts_path.py Allow tests/scripts/foo.py to import from scripts 2020-12-10 23:16:03 +01:00
set_psa_test_dependencies.py Update PSA crypto test dependencies 2021-03-24 09:26:44 +01:00
tcp_client.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
test_config_script.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
test_generate_test_code.py Preserve line breaks from continued line comments 2022-11-30 16:39:55 +01:00
test_psa_compliance.py Fix typos prior to release 2022-12-04 16:44:21 +00:00
test_psa_constant_names.py Short-tag AEAD with the nominal length are encoded as nominal AEAD 2022-04-15 16:15:48 +02:00
test_zeroize.gdb Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
test-ref-configs.pl test-ref-configs: clarify configuration-related traces 2022-04-13 11:24:38 +02:00
travis-log-failure.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00