You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Dockerfile.md
+17-7Lines changed: 17 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
## Usage
2
2
3
-
Run the image with `testssl.sh` options appended (default is `--help`). The container entrypoint is already set to `testsl.sh`as the command for convenience.
3
+
Run the image with `testssl.sh` options appended (default is `--help`). The container entrypoint is already set to `testsl.sh` for convenience.
4
4
5
5
```bash
6
6
docker run --rm -it ghcr.io/testssl/testssl.sh:3.2 --fs github.com
> - The UID/GID ownership of the file will be created by the container user `testssl` (`1000:1000`), with permissions `644`.
22
-
> - Your host directory must permit the `testssl` container user or group to write to that host volume. You could alternatively use [`docker cp`](https://docs.docker.com/reference/cli/docker/container/cp/).
22
+
> - Your host directory must permit the `testssl` container user or group to write to that host volume. You could alternatively use [`docker cp`][docker-docs::cli::cp].
23
23
24
24
## Images
25
25
26
26
### Available at DockerHub and GHCR
27
27
28
28
You can pull the image from either of these registries:
- Alpine ([`Dockerfile`](./Dockerfile.alpine)), musl-based + half the size.
49
49
50
-
The Alpine variant is made available if you need broarder platform support, or an image about 30MB smaller at the expense of slightly slower performance.
50
+
The Alpine variant is made available if you need broader platform support, or an image about 30MB smaller at the expense of [slightly slower performance][testssl::base-image-performance].
51
+
52
+
For contributors, if needing context on the [package selection has been documented][testssl::base-image-packages] for each base image.
> This will produce a slightly larger image as [`.dockerignore` is not supported with remote build contexts](https://github.com/docker/buildx/issues/3169).
63
+
> This will produce a slightly larger image as [`.dockerignore` is not supported with remote build contexts][build::dockerignore-remote-context].
`testssl.sh` is a free command line tool which checks a server's service on
11
17
any port for the support of TLS/SSL ciphers, protocols as well as some
@@ -23,7 +29,7 @@ cryptographic flaws.
23
29
* Reliability: features are tested thoroughly.
24
30
* Privacy: It's only you who sees the result, not a third party.
25
31
* Freedom: It's 100% open source. You can look at the code, see what's going on.
26
-
* The development is open @ GitHub and participation is welcome.
32
+
* The development is free and open @ GitHub and participation is welcome.
27
33
28
34
### License
29
35
@@ -37,14 +43,14 @@ to get bugfixes, other feedback and more contributions.
37
43
38
44
### Compatibility
39
45
40
-
Testssl.sh is working on every Linux/BSD distribution out of the box. Latest by 2.9dev
46
+
Testssl.sh is working on every Linux/BSD distribution and MacOS out of the box. Latest by 2.9dev
41
47
most of the limitations of disabled features from the openssl client are gone
42
48
due to bash-socket-based checks. An old OpenSSL-bad version is supplied but
43
49
but you can also use any LibreSSL or OpenSSL version.
44
50
testssl.sh also works on other unixoid systems out of the box, supposed they have
45
51
`/bin/bash` >= version 3.2 and standard tools like sed and awk installed. An implicit
46
52
(silent) check for binaries is done when you start testssl.sh . System V needs probably
47
-
to have GNU grep installed. MacOS X and Windows (using MSYS2, Cygwin or WSL) work too.
53
+
to have GNU grep installed. Windows (using MSYS2, Cygwin or WSL) work too.
48
54
49
55
Update notification here or @ [mastodon](https://infosec.exchange/@testssl) or [bluesky](https://bsky.app/profile/testssl.bsky.social). [twitter](https://twitter.com/drwetter) is not being used anymore.
50
56
@@ -74,7 +80,7 @@ docker run --rm -it ghcr.io/testssl/testssl.sh <your_cmd_line>
74
80
Or if you have cloned this repo you also can just ``cd`` to the INSTALLDIR and run
For more please consult [Dockerfile.md](https://github.com/testssl/testssl.sh/blob/3.2/Dockerfile.md).
@@ -83,32 +89,33 @@ For more please consult [Dockerfile.md](https://github.com/testssl/testssl.sh/bl
83
89
84
90
Usage of the program is without any warranty. Use it at your own risk.
85
91
86
-
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.
92
+
Testssl.sh is intended to be used as a standalone CLI tool. While we tried to apply best practise security measures and sanitize external input, we can't guarantee that the program is without any vulnerabilities. Running as a web service may pose security risks and you're advised to apply additional security measures. Validate input from the user and from all services which are queried.
87
93
88
94
### Status
89
95
90
-
This is the stable release version 3.2. Please use it **now**, as 3.0.x will not get any updates after 3.0.10, with the current manpower we only support n-1 versions. There will be soon a separate 3.3.dev branch where further development takes place before 3.4 becomes the stable version and 3.2 becomes old-stable.
96
+
This is the stable version 3.2. Please use it **now**, as 3.0.x will not get any updates after 3.0.10, with the current manpower we only support n-1 versions. There will be soon a separate 3.3.dev branch where further development takes place before 3.4 becomes the stable version and 3.2 becomes old-stable.
91
97
92
98
### Documentation
93
99
94
100
* .. it is there for reading. Please do so :-) -- at least before asking questions. See man page in groff, html and markdown format in `~/doc/`.
95
101
*[https://testssl.sh/](https://testssl.sh/) will help to get you started.
96
-
* For the (older) version 2.8, Will Hunt provides a longer [description](https://www.4armed.com/blog/doing-your-own-ssl-tls-testing/), including useful background information.
102
+
* There's also a [https://deepwiki.com/testssl/testssl.sh](AI generated doc), see also below.
103
+
* Will Hunt provides a longer [description](https://www.4armed.com/blog/doing-your-own-ssl-tls-testing/) for an older version (2.8), including useful background information.
97
104
98
105
### Contributing
99
106
100
-
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). Your contributions would be also welcome! There's a [large to-do list](https://github.com/testssl/testssl.sh/issues). To get started 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, you can also lookout for documentation issues.
107
+
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). Your contribution would be also welcome! There's an [issue list](https://github.com/testssl/testssl.sh/issues). To get started 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. You can also lookout for [documentation issues](https://github.com/testssl/testssl.sh/issues?q=is%3Aissue%20state%3Aopen%20label%3Adocumentation), or you can help with [unit testing](https://github.com/testssl/testssl.sh/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22unit%20test%22) or improving github actions.
101
108
102
-
It is recommended to read [CONTRIBUTING.md](https://github.com/testssl/testssl.sh/blob/3.2/CONTRIBUTING.md) and please also have a look at he [Coding Convention](https://github.com/testssl/testssl.sh/blob/3.2/Coding_Convention.md). Before you start writing patches with hundreds of lines, better create an issue first.
109
+
It is recommended to read [CONTRIBUTING.md](https://github.com/testssl/testssl.sh/blob/3.2/CONTRIBUTING.md) and please also have a look at he [Coding Convention](https://github.com/testssl/testssl.sh/blob/3.2/Coding_Convention.md). Before you start writing PRs with hundreds of lines, better create an issue first.
103
110
104
-
In general there's also some maintenance burden, like maintaining handshakes and CA stores, writing unit tests, improving github actions. If you believe you can contribute and be responsible to one of those maintenance task, please speak up. That would free resources that we could use for development.
111
+
In general there's also some maintenance burden, like maintaining handshakes and CA stores etc. . If you believe you can contribute and be responsible to one of those maintenance task, please speak up. That would free resources that we could use for development.
105
112
106
113
107
114
### Bug reports
108
115
109
116
Bug reports are important. It makes this project more robust.
110
117
111
-
Please file bugs in the issue tracker @ GitHub. Do not forget to provide detailed information, see template for issue, and further details @
118
+
Please file bugs in the issue tracker @ GitHub. Do not forget to provide detailed information, see the template for issues, and further details @
112
119
https://github.com/testssl/testssl.sh/wiki/Bug-reporting. Nobody can read your thoughts -- yet. And only agencies your screen ;-)
113
120
114
121
You can also debug yourself, see [here](https://github.com/testssl/testssl.sh/wiki/Findings-and-HowTo-Fix-them).
0 commit comments