Commit Graph
100 Commits
Author SHA1 Message Date
Dirk WetterandGitHub 011bcc7223 Update pull_request_template.md 2025-03-11 16:21:24 +01:00
Dirk WetterandGitHub bad917f193 Update pull_request_template.md 2025-03-11 16:20:25 +01:00
Dirk WetterandGitHub 830af44953 Merge pull request #2690 from dcooper16/mlkem
Support draft-connolly-tls-mlkem-key-agreement
2025-03-11 15:33:22 +01:00
Dirk WetterandGitHub 70e1c4d693 Merge pull request #2689 from dcooper16/sort_tls_extns
Sort TLS extensions
2025-03-11 15:20:36 +01:00
Dirk WetterandGitHub 6ed6db500b Merge pull request #2688 from dcooper16/ossl4_compat
OpenSSL 4 compatibility
2025-03-11 15:16:45 +01:00
Dirk WetterandGitHub ac83b79680 Merge pull request #2687 from dcooper16/ossl35_compat
OpenSSL 3.5 compatibility
2025-03-11 15:13:44 +01:00
Dirk WetterandGitHub f34b81ed8f Merge pull request #2683 from testssl/drwetter-patch-1
Update pull_request_template.md
2025-03-06 11:16:01 +01:00
Dirk WetterandGitHub b25038e248 Update pull_request_template.md 2025-03-06 11:14:54 +01:00
Dirk WetterandGitHub 08d8039813 Merge pull request #2681 from testssl/date_not_available
Fix regex for openssl banner
2025-03-05 22:20:42 +01:00
Dirk 7bb04e020e Fix regex for openssl banner
,,, and also update the warning when runing in SSL native mode to check the ciphers
before and include OpenSSL also
2025-03-05 17:52:34 +01:00
Dirk WetterandGitHub 9807bc327a Merge pull request #2679 from testssl/banner_change
Banner change
2025-03-05 16:28:29 +01:00
Dirk e6cfe8c3b0 Resolve merge conflict by incorporating both suggestions 2025-03-05 15:35:18 +01:00
Dirk e2ee8b24b4 fix typo in comment 2025-03-05 15:06:41 +01:00
Dirk 5ffcd086eb Add missing local vars 2025-03-05 15:02:15 +01:00
Dirk 3152cdf864 Banner change + minor fix for curve detection
In order to tell openssl binaries better apart the short banner below the
hash tag signs contain now also the date. That is the short version of the
build date unless it is not supplied which is the case of opensuse. Then
the name contains the date and it's taken from there.

The start and end banner lines have the same length now.

"sieve" was added in a comment and the sequence where sieve appears in
a pattern was trying to match other occurences (i.e. after nntp)

While testing the banners it appeared under Linux that a) the vendor
supplied openssl sometimes hangs during startup when determining the
supported curves using -connect b) a pattern was missing to detect
whether the curve was not supported which falsely labeled all supplied curves
as supported when using /usr/bin/openssl . The pattern for the latter
was added (b). For a) there needs to be a follow up PR to avoid the
long delays.
2025-03-05 14:41:12 +01:00
Dirk WetterandGitHub f555fb050e Merge pull request #2678 from dcooper16/fix_typo
Fix typo
2025-03-05 09:13:12 +01:00
Dirk WetterandGitHub 3ae276497d Merge pull request #2677 from testssl/dependabot/github_actions/docker/setup-qemu-action-3.6.0
Bump docker/setup-qemu-action from 3.5.0 to 3.6.0
2025-03-03 09:49:25 +01:00
Dirk WetterandGitHub 4fde2e7e49 Merge pull request #2674 from testssl/dependabot/github_actions/docker/build-push-action-6.15.0
Bump docker/build-push-action from 6.14.0 to 6.15.0
2025-02-27 10:32:27 +01:00
Dirk WetterandGitHub 105c19e4ef Merge pull request #2675 from testssl/dependabot/github_actions/docker/setup-qemu-action-3.5.0
Bump docker/setup-qemu-action from 3.4.0 to 3.5.0
2025-02-27 10:32:03 +01:00
Dirk WetterandGitHub c9d1ba4fcc Merge pull request #2673 from dcooper16/avoid_subshell
Avoid subshell overhead
2025-02-27 10:31:04 +01:00
Dirk WetterandGitHub 78dd0a13c9 Merge pull request #2671 from javabrett/javabrett/improve-ev-detection
Improved (experimental) Extended Validation (EV) certificate identification
2025-02-26 22:56:21 +01:00
Dirk WetterandGitHub 04e5bc4be9 Merge pull request #2672 from javabrett/patch-1
Update CONTRIBUTING.md
2025-02-26 10:23:26 +01:00
Dirk WetterandGitHub ff41cbbb89 Merge pull request #2669 from magnuslarsen/3.1dev
fix(rating): explicit enable rating if required vuln-checks are enabled
2025-02-23 14:29:18 +01:00
Dirk WetterandGitHub 69e2067b99 Merge pull request #2666 from krufab/fix/fix-typo-in-help-message
Corrected typo in the help message
2025-02-22 16:00:31 +01:00
Dirk WetterandGitHub ffa3e19764 Merge pull request #2662 from dcooper16/fix_ossl_supported_curve_check
Fix check for OpenSSL supported curves
2025-02-20 11:30:10 +01:00
Dirk WetterandGitHub 94ff89671f Merge pull request #2664 from testssl/dependabot/github_actions/docker/build-push-action-6.14.0
Bump docker/build-push-action from 6.13.0 to 6.14.0
2025-02-20 11:29:28 +01:00
Dirk WetterandGitHub 74209e05de Merge pull request #2660 from testssl/rm_comment
Remove obsolete comment that SNI is not needed for ticketbleed
2025-02-17 15:39:26 +01:00
Dirk WetterandGitHub 2baaf61cc5 Merge pull request #2657 from dcooper16/fix_pattern_match
Fix pattern matches
2025-02-15 14:14:38 +01:00
Dirk WetterandGitHub f085fd1880 Merge pull request #2659 from dcooper16/npn_sockets
Enable run_npn() to use tls_sockets()
2025-02-15 13:47:13 +01:00
Dirk e79dc8161e Remove obsolete comment that SNI is not needed for ticketbleed
See also https://github.com/testssl/testssl.sh/pull/2656/files/aa5d4917cfc04f5fb2f6b57c3726237cca6735b9#r1954824502
2025-02-15 13:33:52 +01:00
Dirk WetterandGitHub 4b57f4c9f9 Merge pull request #2656 from dcooper16/ticketbleed
Enhance ticketbleed testing
2025-02-15 13:31:15 +01:00
Dirk WetterandGitHub 4b4260831e Merge pull request #2653 from testssl/address_addCA_issue
Address CA file parsing problem (3.2)
2025-02-07 14:18:51 +01:00
Dirk Wetter ebc43ddafe Add previously added line from 3.0 in change log
for consistency reasons
2025-02-07 12:40:06 +01:00
Dirk Wetter 5e1db5f0a1 Address CA file parsing problem (3.2)
.... by forbidding spaces in supplied CA files/directories

Also now we're sanitizing the cmd line parameter better using `safe_echo()`

See also #2647 .
2025-02-07 12:30:41 +01:00
Dirk WetterandGitHub 21a89e40e8 Merge pull request #2650 from testssl/drwetter-patch-1
Update Readme.md
2025-02-07 10:01:31 +01:00
Dirk WetterandGitHub 72d9168389 add that pentest2xlsx is python 2025-02-07 10:00:50 +01:00
Dirk WetterandGitHub d38e6ef6a7 Update Readme.md 2025-02-07 09:57:20 +01:00
Dirk WetterandGitHub 5b58771040 Merge pull request #2649 from testssl/dependabot/github_actions/docker/setup-qemu-action-3.4.0
Bump docker/setup-qemu-action from 3.3.0 to 3.4.0
2025-02-07 09:50:49 +01:00
Dirk WetterandGitHub 6e72c9b81d Merge pull request #2646 from testssl/fix_feature2098
Feature: Detection STARTTLS throtteling via code 421/SMTP
2025-01-31 12:26:44 +01:00
Dirk 4b928108ec Add trotteling feature
* reorder points
* add sieve also
2025-01-31 11:39:45 +01:00
Dirk e73a2a9d53 Feature: Detection STARTTLS throtteling via code 421/SMTP
For this anotehr variable needed to be passed to starttls_full_read()
via starttls_smtp_dialog, where the variable is defined.

Handling of the connection problem will occur at the calling level, fd_socket(),
so that in the future this can be extended if another STARTTLS problem signals
that we're too fast.

Fixes #2098.
2025-01-31 11:26:44 +01:00
Dirk WetterandGitHub abd0170fc4 Merge pull request #2645 from teunvink/3.2
fix missing semicolon in docs
2025-01-30 10:59:06 +01:00
Dirk WetterandGitHub 65c18bed99 Merge pull request #2644 from testssl/fix_2642
Fix error when hostname w trailing dot supplied
2025-01-29 22:51:35 +01:00
Dirk Wetter 61cf7fe0e7 Fix error when hostname w trailing dot supplied 2025-01-29 20:47:13 +01:00
Dirk WetterandGitHub aa4e9a4d41 Merge pull request #2641 from testssl/sieve_fix
two sieve fixes to make it work
2025-01-29 16:29:38 +01:00
Dirk b054b5d687 two sieve fixes
* one logical error
* removing check for trailing space for OK
2025-01-28 22:15:17 +01:00
Dirk WetterandGitHub f95ff7ab3e Merge pull request #2640 from forced-request/3.2
Readme: Misformatted Markdown
2025-01-28 20:57:53 +01:00
Dirk WetterandGitHub 8339a730f5 Merge pull request #2638 from testssl/dependabot/github_actions/docker/build-push-action-6.13.0
Bump docker/build-push-action from 6.12.0 to 6.13.0
2025-01-27 21:15:22 +01:00
Dirk WetterandGitHub e068c52e28 Merge pull request #2639 from testssl/fix_ci_runs
Fix ci runs
2025-01-27 20:54:29 +01:00
Dirk Wetter e41b488172 Merge branch 'fix_ci_runs' into dependabot/github_actions/docker/build-push-action-6.13.0 2025-01-27 20:36:49 +01:00
Dirk Wetter d93549e327 fix match expr 2025-01-27 20:08:11 +01:00
Dirk Wetter cdf5cf7b97 remove + @ beginning of line 2025-01-27 17:20:39 +01:00
Dirk Wetter e17bbfd8c6 Merge branch 'fix_ci_runs' into dependabot/github_actions/docker/build-push-action-6.13.0 2025-01-27 16:42:15 +01:00
Dirk Wetter ef13122f4f fix typo 2025-01-27 16:39:02 +01:00
Dirk Wetter b984ae5ea2 minor stuff 2025-01-27 16:37:04 +01:00
Dirk Wetter 8e39d161a8 cleaner code 2025-01-27 16:36:42 +01:00
Dirk Wetter 0640eb9004 Several CI fixes
- don't output stdin on terminal
- adapt to different google.com ip addresses
- cleaner code
2025-01-27 16:33:58 +01:00
Dirk WetterandGitHub 04c98d93ab Merge pull request #2628 from testssl/diffing_openssls
Add unittest for different openssl versions
2025-01-24 21:38:26 +01:00
Dirk ce8984706e Finalize unit test
* pattern search + replace for tls_sockets() vs. openssl
* better error handling for invocations with perl functions system + die
2025-01-24 20:36:59 +01:00
Dirk cbaa813a40 Merge branch '3.2' into diffing_openssls 2025-01-24 19:47:40 +01:00
Dirk WetterandGitHub d115b2ebbf Merge pull request #2635 from testssl/fix_2633
Fix bug when legacy NPN is tested against a TLS 1.3 host
2025-01-24 19:44:49 +01:00
Dirk d9b293f6c7 fix typo 2025-01-24 18:51:11 +01:00
Dirk 43a0099fbc Fix bug when legacy NPN is tested against a TLS 1.3 host
When testing a TLS 1.3 host s_client_options used TLS 1.3 ciphers to test
for NPN. As that is not implemented we nee dto make sure any other version
is used.

This PR ensures that --after testing whether it's a TLS 1.3-only host
where this test doesn't make any sense in the first place.

Fix for #2633
2025-01-24 18:46:07 +01:00
Dirk WetterandGitHub 5c1232b9dc Merge pull request #2566 from testssl/bump_version
Bump version to 3.2rc4
2025-01-24 15:47:11 +01:00
Dirk 76cdf3166a fix typo 2025-01-24 14:53:52 +01:00
Dirk bf75a91bc7 Merge branch '3.2' into bump_version 2025-01-24 14:41:21 +01:00
Dirk WetterandGitHub 5eeab6484f Merge pull request #2632 from testssl/Tazmaniac-client-renego-refactoring
Tazmaniac client renego refactoring
2025-01-24 14:24:43 +01:00
Dirk 002b91192c fix spelling 2025-01-24 13:50:35 +01:00
Dirk 49db77e63a Conflicts resolved 2025-01-24 13:44:19 +01:00
Dirk Wetter 163d744c13 Add recent and bigger changes
From today back to 1f37a8406f
2025-01-24 11:32:41 +01:00
Dirk Wetter 0042b6313e s/drwetter/testssl
For the remaining occurences. Except dockerhub which needs to be solved.
2025-01-24 11:15:55 +01:00
Dirk Wetter 69d6a50696 Merge branch '3.2' into bump_version 2025-01-24 11:05:00 +01:00
Dirk WetterandGitHub 0539688c06 Merge pull request #2631 from testssl/corydalis10-3.2
Improve CONTRIBUTING.md
2025-01-23 17:42:29 +01:00
Dirk b185b1bea9 Fix typo 2025-01-23 17:41:36 +01:00
Dirk 90f1e59e9f Merge #2618 and doing some overdue amendments 2025-01-23 17:37:32 +01:00
Dirk 8f054c6f12 Merge branch '3.2' of https://github.com/corydalis10/testssl.sh into corydalis10-3.2 2025-01-23 16:49:12 +01:00
Dirk WetterandGitHub 9e9334f3c8 Merge pull request #2619 from testssl/co_header
Add more security headers
2025-01-23 11:47:34 +01:00
Dirk Wetter 4efe324ef7 Fix round bracket and remove obsolete comment 2025-01-23 10:45:15 +01:00
Dirk WetterandGitHub 7d919d494c Merge pull request #2629 from testssl/misc
Remove --nsa in help() and add --forward-secrecy instead
2025-01-22 23:37:28 +01:00
Dirk d7da22d598 Finalize check
* use system with @args so that we can query the return value
* code style improved for readability
* diff shows the filtered difference
* ok instead of cmp_ok to show not the whole content of vars
2025-01-22 23:33:35 +01:00
Dirk 4df0d9e4c3 Re-added the ) to make the action word (why??) 2025-01-22 23:32:39 +01:00
Dirk 207b902109 Merge branch '3.2' into co_header 2025-01-22 22:50:00 +01:00
Dirk ad912ea332 Fix typo + tags 2025-01-22 20:05:19 +01:00
Dirk 12036fb6c8 Update baseline scan + add/deprecate security headers 2025-01-22 19:54:34 +01:00
Dirk a1c2dc7c72 Remove --nsa in help() and add --forward-secrecy instead
Both are possible to use
2025-01-22 19:19:16 +01:00
Dirk ba58458909 Restrict tests to those which use openssl 2025-01-22 18:37:48 +01:00
Dirk 37d987684e remove comment sign from testing 2025-01-22 18:25:54 +01:00
Dirk a499233df2 Add unittest for diffrent openssl versions
This adds a unit test to compare a run against google with the supplied openssl
version vs /usr/bin/openssl .

This would fix #2626.

It looks like there are still points to clarify
* NPN output is different (bug)
* Newer openssl version claims it's ECDH 253 instead of ECDH 256.
* Newer openssl version claims for 130x cipher it's ECDH 253, via sockets it´s ECDH/MLKEM. This seems a bug (@dcooper)

A todo is also restricing the unit test to the one where openssl is being used. E.g. the ROBOT check and more aren't done with openssl. So there's no value checking this here.
2025-01-22 18:12:53 +01:00
Dirk WetterandGitHub 17f2a5d5b9 Merge pull request #2622 from dcooper16/draft-kwiatkowski-tls-ecdhe-mlkem
Support draft-kwiatkowski-tls-ecdhe-mlkem
2025-01-22 11:03:11 +01:00
Dirk WetterandGitHub 023fd0278a Merge pull request #2625 from dcooper16/fix_x5519_and_x448_check
Fix checks for whether X25519 and X448 are supported
2025-01-22 11:01:25 +01:00
Dirk WetterandGitHub 0c71658457 Merge pull request #2621 from dcooper16/fix2614
Fix #2614
2025-01-17 16:47:27 +01:00
Dirk Wetter 8000885371 Add more security headers
... and deprecate "X-Content-Security-Policy" and "X-WebKit-CSP"
2025-01-16 21:18:47 +01:00
Dirk WetterandGitHub daf0671878 Merge pull request #2617 from dcooper16/fix2615
Fix #2615
2025-01-16 16:51:47 +01:00
Dirk WetterandGitHub ef92cc70c9 Merge pull request #2616 from testssl/dependabot/github_actions/docker/build-push-action-6.12.0
Bump docker/build-push-action from 6.11.0 to 6.12.0
2025-01-16 12:20:07 +01:00
Dirk WetterandGitHub 90a51e7975 Merge pull request #2612 from testssl/dependabot/github_actions/docker/setup-qemu-action-3.3.0
Bump docker/setup-qemu-action from 3.2.0 to 3.3.0
2025-01-09 09:53:54 +01:00
Dirk WetterandGitHub 723b1c17ee Merge pull request #2613 from testssl/dependabot/github_actions/docker/build-push-action-6.11.0
Bump docker/build-push-action from 6.10.0 to 6.11.0
2025-01-09 09:52:52 +01:00
Dirk WetterandGitHub 6d77c93109 Merge pull request #2610 from testssl/links
Change orga from drwetter --> testssl
2025-01-06 16:20:53 +01:00
Dirk WetterandGitHub 5f4ca15e57 Merge branch '3.2' into links 2025-01-06 15:41:16 +01:00
Dirk b708026151 Change orga from drwetter --> testssl
... to avoid redirects on the client side and to make repo migration better visible.

Also amend 'Status' and 'Contributing' in Readme.md. bluesky added, albeit mastodon
seems more interactive. Clarify twitter account is not in use anymore.
2025-01-06 15:34:45 +01:00
Dirk WetterandGitHub b5ad5bd859 Merge pull request #2604 from drwetter/dependabot/github_actions/docker/build-push-action-6.10.0
Bump docker/build-push-action from 6.9.0 to 6.10.0
2024-12-06 15:03:47 +01:00