Skip to content

Commit 69d6a50

Browse files
committed
Merge branch '3.2' into bump_version
2 parents b5427e3 + 0539688 commit 69d6a50

19 files changed

+473
-252
lines changed

.github/workflows/docker-3.2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
- name: Setup QEMU
2525
id: qemu
26-
uses: docker/setup-qemu-action@v3.2.0
26+
uses: docker/setup-qemu-action@v3.3.0
2727

2828
- name: Setup Buildx
2929
id: buildx
@@ -48,7 +48,7 @@ jobs:
4848
password: ${{ secrets.GITHUB_TOKEN }}
4949

5050
- name: Build and push
51-
uses: docker/build-push-action@v6.7.0
51+
uses: docker/build-push-action@v6.12.0
5252
with:
5353
push: ${{ github.event_name != 'pull_request' }}
5454
context: .

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
* Trust chain check against certificate stores from Apple (OS), Linux (OS),
138138
Microsoft (OS), Mozilla (Firefox Browser), works for openssl >=1.0.1
139139
* IPv6 (status: 80% working, details see
140-
https://github.com/drwetter/testssl.sh/issues/11
140+
https://github.com/testssl/testssl.sh/issues/11
141141
* works now on servers requiring a x509 certificate for authentication
142142
* extensive CN <--> hostname check
143143
* SSL Session ID check
@@ -183,7 +183,7 @@
183183
* quite some LibreSSL fixes, still not recommended to use though (see https://testssl.sh/)
184184
* lots of fixes, code improvements, even more robust
185185

186-
Full log @ https://github.com/drwetter/testssl.sh/commits/2.6/testssl.sh
186+
Full log @ https://github.com/testssl/testssl.sh/commits/2.6/testssl.sh
187187

188188
### New in 2.4
189189
* "only one cmd line option at a time" is completely gone
@@ -198,7 +198,7 @@ Full log @ https://github.com/drwetter/testssl.sh/commits/2.6/testssl.sh
198198
* lots of cosmetic and maintainability code cleanups
199199
* bugfixing
200200

201-
Full changelog: https://github.com/drwetter/testssl.sh/commits/2.4/testssl.sh
201+
Full changelog: https://github.com/testssl/testssl.sh/commits/2.4/testssl.sh
202202

203203
### 2.2. new features:
204204
* Works fully under FreeBSD (openssl >=1.0)
@@ -214,7 +214,7 @@ Full changelog: https://github.com/drwetter/testssl.sh/commits/2.4/testssl.sh
214214
* RFC <---> OpenSSL name space mapping of ciphers everywhere
215215
* includes a lot of fixes
216216

217-
Full changelog @ https://github.com/drwetter/testssl.sh/commits/2.2/testssl.sh
217+
Full changelog @ https://github.com/testssl/testssl.sh/commits/2.2/testssl.sh
218218

219219
### 2.0 major release, new features:
220220
* SNI

CONTRIBUTING.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
11

2-
### Contributions / participation
2+
### Contributing / participating
33

4-
is always welcome, here @ github or via e-mail.
4+
Contributing / participating is always welcome!
55

6-
Note please the following
6+
Please note the following:
77

8-
* Please read at least the [coding convention](https://github.com/drwetter/testssl.sh/Coding_Convention.md).
9-
* One PR per feature or bug fix or improvement. Please do not mix issues.
10-
* Document your PR, both in the PR and/or commit message and in the code.
8+
* Please read the [coding convention](https://github.com/testssl/testssl.sh/blob/3.2/Coding_Convention.md).
9+
* If you have something new and/or bigger which you like to contribute, better open an issue first before you get frustrated.
10+
* Please one pull request per feature or bug fix or improvement. Please do not mix issues.
11+
* Documentation pays off in the long run. So please your document your code and the pull request and/or commit message.
1112
* Please test your changes thoroughly as reliability is important for this project. You may want to check different servers with different settings.
12-
* Travis runs automatically when anything is committed/PR'd. You should check any complains from Travis. Beforehand you can check with `prove -v`.
13-
* If it's a new feature please consider writing a unit test for it. You can use e.g. `t/20_baseline_ipv4_http.t` as a template. The general documentation for [Test::More](https://perldoc.perl.org/Test/More.html) is a good start.
14-
* If it's a new feature it would need to be documented in the appropriate section in `help()` and in `~/doc/testssl.1.md`
13+
* GitHub actions are running automatically when anything is committed. You should see any complains. Beforehand you can check with `prove -v` from the "root dir" of this project.
14+
* If it's a new feature, please consider writing a unit test for it. You can use e.g. `t/10_baseline_ipv4_http.t` or `t/61_diff_testsslsh.t` as a template. The general documentation for [Test::More](https://perldoc.perl.org/Test/More.html) is a good start.
15+
* If it's a new feature, it would need to be documented in the appropriate section in `help()` and in `~/doc/testssl.1.md`
1516

16-
For questions just open an issue or feel free to send me an e-mail.
17+
If you're interested in contributing and wonder how you can help, you can search for different tags in the issues (somewhat increasing degree of difficulty):
18+
* [documentation](https://github.com/testssl/testssl.sh/issues?q=is:issue%20state:open%20label:documentation)
19+
* [good first issue](https://github.com/testssl/testssl.sh/issues?q=is:issue%20state:open%20label:%22good%20first%20issue%22)
20+
* [help wanted](https://github.com/testssl/testssl.sh/issues?q=is:issue%20state:open%20label:%22help%20wanted%22)
21+
* [for grabs](https://github.com/testssl/testssl.sh/issues?q=is:issue%20state:open%20label:%22good%20first%20issue%22)
22+
23+
For questions just open an issue. Thanks for reading this!
1724

18-
#### Patches via e-mail
1925

20-
Of course it is fine when you want to send in patches to use e-mail. For the address please grep for SWCONTACT in testssl.sh .
21-
Let me know how you like them to be attributed.

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker.io/docker/dockerfile:1
22

3-
ARG LEAP_VERSION=15.5
3+
ARG LEAP_VERSION=15.6
44
ARG INSTALL_ROOT=/rootfs
55

66
FROM opensuse/leap:${LEAP_VERSION} as builder
@@ -18,7 +18,7 @@ RUN source /etc/os-release \
1818
&& zypper "${ZYPPER_OPTIONS[@]}" --gpg-auto-import-keys refresh \
1919
&& rpm -e util-linux --nodeps \
2020
&& zypper "${ZYPPER_OPTIONS[@]}" --non-interactive install --download-in-advance --no-recommends \
21-
bash procps grep gawk sed coreutils busybox-util-linux busybox-vi ldns libidn2-0 socat openssl curl \
21+
bash procps grep gawk sed coreutils busybox ldns libidn2-0 socat openssl curl \
2222
&& zypper up -y \
2323
&& zypper "${ZYPPER_OPTIONS[@]}" clean --all
2424
## Cleanup (reclaim approx 13 MiB):
@@ -35,6 +35,7 @@ ARG INSTALL_ROOT
3535
COPY --link --from=builder ${INSTALL_ROOT} /
3636
# Link busybox to tar, see #2403. Create user + (home with SGID set):
3737
RUN ln -s /usr/bin/busybox /usr/bin/tar \
38+
&& ln -s /usr/bin/busybox /usr/bin/hexdump \
3839
&& echo 'testssl:x:1000:1000::/home/testssl:/bin/bash' >> /etc/passwd \
3940
&& echo 'testssl:x:1000:' >> /etc/group \
4041
&& echo 'testssl:!::0:::::' >> /etc/shadow \

Dockerfile.git

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ FROM alpine:3.20
55
WORKDIR /home/testssl
66

77
ARG BUILD_VERSION
8-
ARG ARCHIVE_URL=https://github.com/drwetter/testssl.sh/archive/
9-
ARG URL=https://github.com/drwetter/testssl.sh.git
8+
ARG ARCHIVE_URL=https://github.com/testssl/testssl.sh/archive/
9+
ARG URL=https://github.com/testssl/testssl.sh.git
1010

1111
RUN test -n "${BUILD_VERSION}" \
1212
&& apk update \

Readme.md

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
## Intro
33

4-
<!-- [![Travis CI Status](https://img.shields.io/travis/drwetter/testssl.sh)](https://travis-ci.org/drwetter/testssl.sh) -->
5-
[![Build Status](https://github.com/drwetter/testssl.sh/actions/workflows/test.yml/badge.svg)](https://github.com/drwetter/testssl.sh/actions/workflows/test.yml)
6-
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/drwetter/testssl.sh?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
7-
[![License](https://img.shields.io/github/license/drwetter/testssl.sh)](https://github.com/drwetter/testssl.sh/LICENSE)
8-
[![Docker](https://img.shields.io/docker/pulls/drwetter/testssl.sh)](https://github.com/drwetter/testssl.sh/blob/3.2/Dockerfile.md)
4+
[![CI tests](https://github.com/testssl/testssl.sh/actions/workflows/unit_tests.yml/badge.svg)](https://github.com/testssl/testssl.sh/actions/workflows/unit_tests.yml)
5+
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/testssl/testssl.sh?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
6+
[![License](https://img.shields.io/github/license/testssl/testssl.sh)](https://github.com/testssl/testssl.sh/LICENSE)
7+
[![Docker](https://img.shields.io/docker/pulls/testssl/testssl.sh)](https://github.com/testssl/testssl.sh/blob/3.2/Dockerfile.md)
8+
99

1010
`testssl.sh` is a free command line tool which checks a server's service on
1111
any port for the support of TLS/SSL ciphers, protocols as well as some
@@ -45,16 +45,16 @@ due to bash-socket-based checks. As a result you can also use e.g. LibreSSL or O
4545
(silent) check for binaries is done when you start testssl.sh . System V needs probably
4646
to have GNU grep installed. MacOS X and Windows (using MSYS2, Cygwin or WSL) work too.
4747

48-
Update notification here or @ [mastodon](https://infosec.exchange/@testssl) (old: [twitter](https://twitter.com/drwetter))
48+
Update notification here or @ [mastodon](https://infosec.exchange/@testssl or [bluesky](https://bsky.app/profile/testssl.bsky.social). Please note the [twitter](https://twitter.com/drwetter) account is not being used anymore.
4949

5050
### Installation
5151

5252
You can download testssl.sh branch 3.2 just by cloning this git repository:
5353

54-
git clone --depth 1 https://github.com/drwetter/testssl.sh.git
54+
git clone --depth 1 https://github.com/testssl/testssl.sh.git
5555

56-
3.2 is now the latest branch which evolved from 3.1dev. It's in the release candidate phase.
57-
For the former stable version help yourself by downloading the [ZIP](https://codeload.github.com/drwetter/testssl.sh/zip/v3.0.8) or [tar.gz](https://codeload.github.com/drwetter/testssl.sh/tar.gz/v3.0.8) archive. Just ``cd`` to the directory created (=INSTALLDIR) and run it off there.
56+
3.2 is now the latest branch which evolved from 3.1dev. It's in the release candidate phase and considered as stable.
57+
For the former stable version named oldstable please help yourself by downloading the [ZIP](https://codeload.github.com/testssl/testssl.sh/zip/v3.0.9) or [tar.gz](https://codeload.github.com/testssl/testssl.sh/tar.gz/v3.0.9) archive. Just ``cd`` to the directory created (=INSTALLDIR) and run it off there.
5858

5959
#### Docker
6060

@@ -69,19 +69,19 @@ Or if you have cloned this repo you also can just ``cd`` to the INSTALLDIR and r
6969
docker build . -t imagefoo && docker run --rm -t imagefoo example.com
7070
```
7171

72-
For more please consult [Dockerfile.md](https://github.com/drwetter/testssl.sh/blob/3.2/Dockerfile.md).
72+
For more please consult [Dockerfile.md](https://github.com/testssl/testssl.sh/blob/3.2/Dockerfile.md).
7373

7474
### No Warranty
7575

76-
Usage of the program is without any warranty. Use it at yor own risk.
76+
Usage of the program is without any warranty. Use it at your own risk.
7777

7878
Testssl.sh is intended to be used as a standalone CLI tool. While we tried to apply best practise security measures, we can't guarantee that the program is without any vulnerabilities. Running as a service may pose security risks and you're recommended to apply additional security measures.
7979

8080
### Status
8181

82-
We're currently in the release candidate phase for version 3.2. Bigger features will be developed in a separate branch before merged into a 3.3dev to avoid hiccups or inconsistencies.
82+
We're currently in the release candidate phase for version 3.2. You should use it despite the label "RC". Bigger features will be developed in a separate branch before merged into a 3.3dev to avoid hiccups or inconsistencies.
8383

84-
Version 3.0.X receives bugfixes, labeled as 3.0.1, 3.0.2 and so on. This will happen until 3.2 is released.
84+
Version 3.0.X receives bugfixes, labeled as 3.0.1, 3.0.2 and so on. This will happen until 3.2 is finally released.
8585

8686
Support for 2.9.5 has been dropped. Supported is >= 3.0.x only.
8787

@@ -93,16 +93,19 @@ Support for 2.9.5 has been dropped. Supported is >= 3.0.x only.
9393

9494
### Contributing
9595

96-
Contributions are welcome! See [CONTRIBUTING.md](https://github.com/drwetter/testssl.sh/blob/3.2/CONTRIBUTING.md) for details. Please also have a look at the [Coding Convention](https://github.com/drwetter/testssl.sh/blob/3.2/Coding_Convention.md).
96+
Contributions are welcome! See [CONTRIBUTING.md](https://github.com/testssl/testssl.sh/blob/3.2/CONTRIBUTING.md) for details. Please also have a look at the [Coding Convention](https://github.com/testssl/testssl.sh/blob/3.2/Coding_Convention.md). A lot of contributors already helped to push the project where it currently is, see [CREDITS.md](https://github.com/testssl/testssl.sh/blob/3.2/CREDITS.md). We still you use your help now. A start would be look for issues which are labeled as [good first issue](https://github.com/testssl/testssl.sh/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22), [for grabs](https://github.com/testssl/testssl.sh/issues?q=is%3Aissue+is%3Aopen+label%3A%22for+grabs%22) or [help wanted](https://github.com/testssl/testssl.sh/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22). The latter is more advanced.
97+
98+
In general there's some maintenance burden, like maintaining handshakes and CA stores, writing unit tests, improving github actions. If you believe you can contribute, speak up.
99+
97100

98101
### Bug reports
99102

100103
Bug reports are important. It makes this project more robust.
101104

102105
Please file bugs in the issue tracker @ GitHub. Do not forget to provide detailed information, see template for issue, and further details @
103-
https://github.com/drwetter/testssl.sh/wiki/Bug-reporting. Nobody can read your thoughts -- yet. And only agencies your screen ;-)
106+
https://github.com/testssl/testssl.sh/wiki/Bug-reporting. Nobody can read your thoughts -- yet. And only agencies your screen ;-)
104107

105-
You can also debug yourself, see [here](https://github.com/drwetter/testssl.sh/wiki/Findings-and-HowTo-Fix-them).
108+
You can also debug yourself, see [here](https://github.com/testssl/testssl.sh/wiki/Findings-and-HowTo-Fix-them).
106109

107110
----
108111

@@ -129,7 +132,7 @@ Please address questions not specifically to the code of testssl.sh to the respe
129132

130133
#### Brew package
131134

132-
* see [#233](https://github.com/drwetter/testssl.sh/issues/233) and
135+
* see [#233](https://github.com/testssl/testssl.sh/issues/233) and
133136
[https://github.com/Homebrew/homebrew](https://github.com/Homebrew/homebrew)
134137

135138
#### Daemon for batch execution of testssl.sh command files

etc/cipher-mapping.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,8 @@
342342
0x02,0x00,0x80 - EXP-RC4-MD5 SSL_CK_RC4_128_EXPORT40_WITH_MD5 SSLv2 Kx=RSA(512) Au=RSA Enc=RC4(40) Mac=MD5 export
343343
0x00,0x28 - EXP-KRB5-RC4-SHA TLS_KRB5_EXPORT_WITH_RC4_40_SHA SSLv3 Kx=KRB5 Au=KRB5 Enc=RC4(40) Mac=SHA1 export
344344
0x00,0x2B - EXP-KRB5-RC4-MD5 TLS_KRB5_EXPORT_WITH_RC4_40_MD5 SSLv3 Kx=KRB5 Au=KRB5 Enc=RC4(40) Mac=MD5 export
345+
0xC0,0xB4 - TLS_SHA256_SHA256 TLS_SHA256_SHA256 TLSv1.3 Kx=any Au=any Enc=None Mac=SHA256
346+
0xC0,0xB5 - TLS_SHA384_SHA384 TLS_SHA384_SHA384 TLSv1.3 Kx=any Au=any Enc=None Mac=SHA384
345347
0xC0,0x10 - ECDHE-RSA-NULL-SHA TLS_ECDHE_RSA_WITH_NULL_SHA SSLv3 Kx=ECDH Au=RSA Enc=None Mac=SHA1
346348
0xC0,0x06 - ECDHE-ECDSA-NULL-SHA TLS_ECDHE_ECDSA_WITH_NULL_SHA SSLv3 Kx=ECDH Au=ECDSA Enc=None Mac=SHA1
347349
0xC0,0x15 - AECDH-NULL-SHA TLS_ECDH_anon_WITH_NULL_SHA SSLv3 Kx=ECDH Au=None Enc=None Mac=SHA1

etc/curves-mapping.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,7 @@
4545
0x01,0x02 - ffdhe4096 ffdhe4096
4646
0x01,0x03 - ffdhe6144 ffdhe6144
4747
0x01,0x04 - ffdhe8192 ffdhe8192
48+
0x11,0xeb - SecP256r1MLKEM768 SecP256r1MLKEM768
49+
0x11,0xec - X25519MLKEM768 X25519MLKEM768
50+
0x11,0xed - SecP384r1MLKEM1024 SecP384r1MLKEM1024
51+
0x63,0x99 - X25519Kyber768Draft00 X25519Kyber768Draft00

0 commit comments

Comments
 (0)