TLS-Attacker is a Java-based framework for analyzing TLS libraries. It can be used to manually test TLS clients and servers or as as a software library for more advanced tools.
To make sure that all checks pass, this PR fixes a bunch of whitespace issues (missing newline at EOF, trailing whitespace) and typos (found using codespell).
This adds support for pre-commit hooks that ensure that the code passes some basic checks.
The setup is pretty easy and only has to be done once:
Afterwards, these checks run before every commit (i.e. each time when
git commit
is executed).These checks can also be used for CI, so I added a GitHub actions workflow that checks new commits and pull requests automatically. Here's what such a workflow run looks like: https://github.com/Holzhaus/TLS-Attacker/runs/5157119380?check_suite_focus=true#step:4:70i
To make sure that all checks pass, this PR fixes a bunch of whitespace issues (missing newline at EOF, trailing whitespace) and typos (found using codespell).