From b686174b07bd56af4e5ffaa23c24f27f417fc305 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 19 Feb 2023 16:05:52 +0100 Subject: Merging upstream version 2.1.1 (Closes: #1026291). Signed-off-by: Daniel Baumann --- deluge/tests/data/etc/README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 deluge/tests/data/etc/README.md (limited to 'deluge/tests/data/etc/README.md') diff --git a/deluge/tests/data/etc/README.md b/deluge/tests/data/etc/README.md new file mode 100644 index 0000000..a3e40c3 --- /dev/null +++ b/deluge/tests/data/etc/README.md @@ -0,0 +1,38 @@ + +### Certificate stores + +The certificate trust stores were retrieved from + +* **Linux:** Copied from an up-to-date Debian Linux machine +* **Mozilla:** https://curl.haxx.se/docs/caextract.html +* **Java:** extracted (``keytool -list -rfc -keystore lib/security/cacerts | grep -E -v '^$|^\*\*\*\*\*|^Entry |^Creation |^Alias '``) from a JDK 15 from https://jdk.java.net/. (use dos2unix). +* **Microsoft:** Following command pulls all certificates from Windows Update services: ``CertUtil -syncWithWU -f -f . `` (see also http://aka.ms/RootCertDownload, https://technet.microsoft.com/en-us/library/dn265983(v=ws.11).aspx#BKMK_CertUtilOptions). +* **Apple:** + 1. __System:__ from Apple OS X keychain app. Open Keychain Access utility, i.e. + In the Finder window, under Favorites --> "Applications" --> "Utilities" + (OR perform a Spotlight Search for Keychain Access) + --> "Keychain Access" (2 click). In that window --> "Keychains" --> "System" + --> "Category" --> "All Items" + Select all CA certificates except for Developer ID Certification Authority, "File" --> "Export Items" + 2. __Internet:__ Pick the latest subdir (=highest number) from https://opensource.apple.com/source/security_certificates/. They are in DER format despite their file extension. Download them with ``wget --level=1 --cut-dirs=5 --mirror --convert-links --adjust-extension --page-requisites --no-parent https://opensource.apple.com/source/security_certificates/security_certificates-*/certificates/roots/`` + + +Google Chromium uses basically the trust stores above, see https://www.chromium.org/Home/chromium-security/root-ca-policy. + +If you want to check trust against e.g. a company internal CA you need to use ``./testssl.sh --add-ca companyCA1.pem,companyCA2.pem `` or ``ADDITIONAL_CA_FILES=companyCA1.pem,companyCA2.pem ./testssl.sh ``. + + +#### Further files + +* ``tls_data.txt`` contains lists of cipher suites and private keys for sockets-based tests + +* ``cipher-mapping.txt`` contains information about all of the cipher suites defined for SSL/TLS + +* ``ca_hashes.txt`` is used for HPKP test in order to have a fast comparison with known CAs. Use + ``~/utils/create_ca_hashes.sh`` for an update + +* ``common-primes.txt`` is used for LOGJAM and the PFS section + +* ``client-simulation.txt`` / ``client-simulation.wiresharked.txt`` are as the names indicate data for the client simulation. + The first one is derived from ``~/utils/update_client_sim_data.pl``, and manually edited to sort and label those we don't want. + The second file provides more client data retrieved from wireshark captures and some instructions how to do that yourself. -- cgit v1.2.3