Commit Graph

4572 Commits

Author SHA1 Message Date
9a494b135c Create pull_request_template.md 2024-01-10 19:03:23 +01:00
d30d8e09f2 tab/space corrections and "grep -ac" in place of "grep -a | wc -l" 2024-01-10 18:31:41 +01:00
7c0c06641c Merge pull request #2437 from drwetter/disclaimer
Disclaimer
2024-01-10 12:22:34 +01:00
810e870d16 Merge pull request #2454 from Odinmylord/3.2
Make cert_keysize output consistent
2024-01-10 12:21:42 +01:00
69664cbabf Merge pull request #2455 from Odinmylord/fix_intermediate_cert
add utf8 support to intermediate cert names
2024-01-06 20:38:32 +01:00
e404cf8bdb add utf8 support to intermediate cert names 2024-01-03 14:27:11 +01:00
f4b1bb28a0 Update certificate_info function to include key algorithm in error messages 2024-01-02 14:06:18 +01:00
3f9cc7b6a5 Merge pull request #1871 from dcooper16/quit_on_cmd_line_errors
Quit testssl.sh on all command line errors
2023-12-24 15:34:00 +01:00
bbf770ac7f Merge pull request #2447 from Odinmylord/3.2
Add Brainpool signature algorithms to output
2023-12-24 14:00:42 +01:00
23c2b24c3d MUST update hashes 2023-12-24 14:00:34 +01:00
3d63b62c24 Merge pull request #2450 from drwetter/fix_stupid_umaskerror
Bail out if user error bc of umask
2023-12-23 15:02:20 +01:00
c5265e33b7 fix wrong temp file var 2023-12-23 13:13:16 +01:00
3b5f2022b3 fix typo 2023-12-23 13:03:57 +01:00
8e517e0a70 Bail out if user error bc of umask
If a user chose a broken umask testssl.sh will start but emits
subsequent errors.

This patch adds two sanity checks whether it is allowed to create
and read files in the temp directory.

Fixes #2449
2023-12-23 12:58:05 +01:00
90272f1d12 Add Brainpool signature algorithms to output 2023-12-13 14:23:28 +01:00
7829821010 Merge pull request #2441 from drwetter/dependabot/github_actions/docker/build-push-action-5.1.0
Bump docker/build-push-action from 5.0.0 to 5.1.0
2023-12-09 18:13:24 +01:00
2c84a525cc Fix mitigation detection with debug level 0 2023-12-07 18:58:58 +01:00
52c6ac7fec Spell fix. 2023-11-28 15:22:01 +01:00
429db592e2 Crudely detect exponential backoff as a mitigation 2023-11-28 14:41:25 +01:00
30129b59f3 Bump docker/build-push-action from 5.0.0 to 5.1.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5.0.0...v5.1.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-20 00:50:39 +00:00
1a9a486474 Merge pull request #2438 from drwetter/wildcard
Implement warning for wildcard match
2023-11-10 19:41:08 +01:00
81ba1fe818 Implement warning for wildcard match
fixes #2122
2023-11-10 15:37:13 +01:00
654086782b wording, typos 2023-11-06 14:40:52 +01:00
b87634baa0 Disclaimer 2023-11-06 14:34:55 +01:00
e867e53ff9 Quit testssl.sh on all command line errors
As suggested in #1844, this commit changes testssl.sh so that the parent process quits immediately if there is an error in the command line for one of the child processes.

Currently, a signal is sent to the parent process to quit if the child process encounters an error and calls help(), but sometimes parse_cmd_line() just prints an error message and calls fatal() rather than help(), in which case the parent process does not stop. This commit addresses the issue by creating a new function, fatal_cmd_line(), which is almost the same as fatal(), but additionally sends a signal to the parent indicating that the parent should stop. This commit also changes calls to fatal() to calls to fatal_cmd_line() if json_header(), csv_header(), html_header(), or prepare_logging() encounter a problem. The same is done if prettyprint_local() with the command-line option provided for it.

There may be other places in which it would be appropriate to call fatal_cmd_line() rather than fatal() (e.g., in parse_hn_port() or check_proxy()), but those changes are not made in this commit.
2023-11-01 11:55:06 -07:00
f59f3bd64b Merge pull request #2436 from drwetter/fix_ProxyVar
Fix output: PROXY string vs $PROXY variable
2023-10-31 20:36:32 +01:00
cbb32d375b Fix output: PROXY string vs $PROXY variable
See also #2428.
2023-10-30 21:39:30 +01:00
a6f97454a4 Merge pull request #2425 from drwetter/drwetter-patch-1
Use Alpine 3.18
2023-10-30 17:53:57 +01:00
0a8dd6827a Merge pull request #2433 from drwetter/fix_2429
Fix weird bash globbing #2429
2023-10-30 17:53:32 +01:00
a9103fdfee Put the redirection into the right spot 2023-10-30 15:27:37 +01:00
92b28c5f1c Fix weird bash globbing #2429
What was problematic was the error message when the certificate
stores were missing. This fixes it by redirecting the error
message to /dev/null so that if the sub function detects the missing
file it returns with an error by the program and not by executing
"basename"
2023-10-30 15:11:10 +01:00
40be025454 Use Alpine 3.18
.. to at least be on par with 3.0
2023-10-13 17:36:19 +02:00
f3c7eb4333 Merge pull request #2424 from drwetter/fix_utilLinux_Dockerfile
Make sure util_Linux gets replaced as intended
2023-10-13 17:33:25 +02:00
781757f086 polish phrasing 2023-10-13 17:32:35 +02:00
f39564d843 Make sure util_Linux gets replaced as intended
There were some discussions in #2420 whether the zypper install
commend worked as intended. While there's liitle doubt that those
packages weren't installed this PR makes really sure that this is the case.

Also it does an update via ``zypper up`` as the image provided from
dockerhub seemed to be somewhat behind.
2023-10-13 17:07:38 +02:00
6431104d3e Merge pull request #2423 from drwetter/update_container_leap15.5
Upgrade to leap 15.5
2023-10-13 10:41:58 +02:00
dda89c629e Upgrade to leap 15.5 2023-10-13 10:36:05 +02:00
b21c5ee780 Add IP protocol to debug msg 2023-10-11 15:22:46 +02:00
f50a958fa9 Merge pull request #2417 from vsbs-david/local_hostname_drill
Added drill command to get_a[aaa]_record() for local hostname
2023-10-11 15:19:44 +02:00
3f7428083e Used debugme function 2023-10-11 09:26:43 +02:00
cbefcf0feb Fixed redirect stderr to /dev/null, added debug echo for mDNS resolution failure, fixed some spelling 2023-10-10 13:55:34 +02:00
30e0c8418a Merge pull request #2298 from drwetter/changelog_3.2
Start listing changes and contributions for 3.2
v3.2rc3
2023-10-10 11:53:26 +02:00
2b2e36352c Merge branch '3.2' into changelog_3.2 2023-10-10 11:32:12 +02:00
b0d035cbf4 went though the log from today back to Nov 22 2023-10-10 11:13:44 +02:00
4e574d6540 Merge pull request #2416 from drwetter/prepare4release
Bump version number
2023-10-10 10:29:03 +02:00
b8f770dbe3 Added drill command to get_a[aaa]_record() for local hostname 2023-10-10 09:05:48 +02:00
bdeda3ab1c Bump version number 2023-10-09 22:51:44 +02:00
4c6e8d79ed Merge pull request #2414 from drwetter/update_certstore
Update of certificate stores
2023-10-09 22:20:42 +02:00
db175a8d51 Update of certificate stores
Mozilla: 2023-08-22
Debian 10
JDK 22
Windows 10 22H2, Patched until 2023-10
Apple: 2023-10
2023-10-09 22:08:48 +02:00
8f295cb090 Merge pull request #2411 from ghen2/servicedetection
Improve detection for POP3, IMAP and SMTP services.
2023-10-07 15:09:11 +02:00