mbedtls/tests
Manuel Pégourié-Gonnard 499bf4c0c8 compat.sh: quit using SHA-1 certificates
Replace server2.crt with server2-sha256.crt which, as the name implies, is
just the SHA-256 version of the same certificate.

Replace server1.crt with cert_sha256.crt which, as the name doesn't imply, is
associated with the same key and just have a slightly different Subject Name,
which doesn't matter in this instance.

The other certificates used in this script (server5.crt and server6.crt) are
already signed with SHA-256.

This change is motivated by the fact that recent versions of GnuTLS (or older
versions with the Debian patches) reject SHA-1 in certificates by default, as
they should. There are options to still accept it (%VERIFY_ALLOW_BROKEN and
%VERIFY_ALLOW_SIGN_WITH_SHA1) but:

- they're not available in all versions that reject SHA-1-signed certs;
- moving to SHA-2 just seems cleaner anyway.

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2020-08-21 12:25:30 +02:00
..
.jenkins Add a Jenkinsfile for PR job testing 2018-10-19 16:41:54 +01:00
configs Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
data_files Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
docker/bionic Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
git-scripts Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
include/test Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
scripts Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
src Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
suites Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
.gitignore tests: Add helpers.c and helpers.h files 2020-06-12 14:33:00 +02:00
CMakeLists.txt Add comments explaining include paths 2020-07-02 15:59:45 +02:00
compat-in-docker.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
compat.sh compat.sh: quit using SHA-1 certificates 2020-08-21 12:25:30 +02:00
context-info.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02: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 Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
Makefile Add comments explaining include paths 2020-07-02 15:59:45 +02:00
ssl-opt-in-docker.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
ssl-opt.sh Merge pull request #3546 from bensze01/copyright 2020-08-19 15:59:42 +01:00