tls-attacker / TLS-Attacker

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.
Apache License 2.0
778 stars 135 forks source link

Fixed interpretation of FFDHE key share byte values #128

Closed mmaehren closed 2 years ago

mmaehren commented 2 years ago

Contains the fix for #126 suggested by @SidolFreiburg

NDS-JENKINS commented 2 years ago
Expand compilation log **Build Log** *last 200 lines* ``` GitHub pull request #128 of commit 5172f9272bebca10ee70925a4b5406fd36de06b9, no merge conflicts. Running as SYSTEM Setting status of 5172f9272bebca10ee70925a4b5406fd36de06b9 to PENDING with url http://hydrogen.cloud.nds.rub.de/job/Pull%20Request%20Builder%20Jobs/job/TLS-Attacker-PR/6/ and message: 'Build started for merge commit.' Building on the built-in node in workspace /var/lib/jenkins/workspace/Pull Request Builder Jobs/TLS-Attacker-PR The recommended git tool is: NONE using credential 503f4883-9e31-48f9-b1cc-809f6ad8ecd3 > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/Pull Request Builder Jobs/TLS-Attacker-PR/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/RUB-NDS/TLS-Attacker # timeout=10 Fetching upstream changes from https://github.com/RUB-NDS/TLS-Attacker > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_ASKPASS to set credentials Github login > git fetch --tags --force --progress -- https://github.com/RUB-NDS/TLS-Attacker +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git rev-parse refs/remotes/origin/pr/128/merge^{commit} # timeout=10 Checking out Revision 1d6b420700580bd13ae045d8967b8d024960e76b (refs/remotes/origin/pr/128/merge) > git config core.sparsecheckout # timeout=10 > git checkout -f 1d6b420700580bd13ae045d8967b8d024960e76b # timeout=10 Commit message: "Merge 5172f9272bebca10ee70925a4b5406fd36de06b9 into 7e249320248a362411df1c493099147fda3a228d" First time build. Skipping changelog. [Checks API] No suitable checks publisher found. [TLS-Attacker-PR] $ mvn clean install [INFO] Scanning for projects... [INFO] Inspecting build with total of 9 modules... [INFO] Installing Nexus Staging features: [INFO] ... total of 9 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] TLS-Attacker [pom] [INFO] Utils [jar] [INFO] Transport [jar] [INFO] TLS-Core [jar] [INFO] TLS-Client [jar] [INFO] TLS-Server [jar] [INFO] TLS-Mitm [jar] [INFO] TraceTool [jar] [INFO] TLS-Proxy [jar] [INFO] [INFO] ----------------< de.rub.nds.tlsattacker:TLS-Attacker >----------------- [INFO] Building TLS-Attacker 3.8.0 [1/9] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ TLS-Attacker --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (default-cli) @ TLS-Attacker --- [INFO] [INFO] --- formatter-maven-plugin:2.14.0:format (default) @ TLS-Attacker --- [INFO] Using 'UTF-8' encoding to format source files. [INFO] Number of files to be formatted: 0 [INFO] [INFO] --- license-maven-plugin:3.0:format (default) @ TLS-Attacker --- [INFO] Updating license headers... [INFO] [INFO] --- maven-source-plugin:3.2.1:jar-no-fork (attach-sources) @ TLS-Attacker --- [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ TLS-Attacker --- [INFO] Installing /var/lib/jenkins/workspace/Pull Request Builder Jobs/TLS-Attacker-PR/pom.xml to /var/lib/jenkins/.m2/repository/de/rub/nds/tlsattacker/TLS-Attacker/3.8.0/TLS-Attacker-3.8.0.pom [INFO] [INFO] --------------------< de.rub.nds.tlsattacker:Utils >-------------------- [INFO] Building Utils 3.8.0 [2/9] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ Utils --- [INFO] Deleting /var/lib/jenkins/workspace/Pull Request Builder Jobs/TLS-Attacker-PR/Utils/target [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (default-cli) @ Utils --- [INFO] [INFO] --- formatter-maven-plugin:2.14.0:format (default) @ Utils --- [INFO] Using 'UTF-8' encoding to format source files. [INFO] Number of files to be formatted: 15 [INFO] Successfully formatted: 0 file(s) [INFO] Fail to format: 0 file(s) [INFO] Skipped: 15 file(s) [INFO] Read only skipped: 0 file(s) [INFO] Approximate time taken: 1s [INFO] [INFO] --- license-maven-plugin:3.0:format (default) @ Utils --- [INFO] Updating license headers... [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ Utils --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ Utils --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 14 source files to /var/lib/jenkins/workspace/Pull Request Builder Jobs/TLS-Attacker-PR/Utils/target/classes [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for TLS-Attacker 3.8.0: [INFO] [INFO] TLS-Attacker ....................................... SUCCESS [ 1.124 s] [INFO] Utils .............................................. FAILURE [ 2.058 s] [INFO] Transport .......................................... SKIPPED [INFO] TLS-Core ........................................... SKIPPED [INFO] TLS-Client ......................................... SKIPPED [INFO] TLS-Server ......................................... SKIPPED [INFO] TLS-Mitm ........................................... SKIPPED [INFO] TraceTool .......................................... SKIPPED [INFO] TLS-Proxy .......................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.877 s [INFO] Finished at: 2022-07-05T16:36:09+02:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project Utils: Fatal error compiling: invalid target release: 11 -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :Utils Build step 'Invoke top-level Maven targets' marked build as failure [Checks API] No suitable checks publisher found. Setting status of 5172f9272bebca10ee70925a4b5406fd36de06b9 to FAILURE with url http://hydrogen.cloud.nds.rub.de/job/Pull%20Request%20Builder%20Jobs/job/TLS-Attacker-PR/6/ and message: 'Build finished. ' ```