Skip to content

Fix #89: Clarify SignatureAndHash ambiguity in report output #138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ic0ns
Copy link
Contributor

@ic0ns ic0ns commented Jun 27, 2025

Summary

This PR addresses issue #89 by clarifying the ambiguity in TLS-Scanner reports regarding signature and hash algorithms.

Problem

The report section titled "Supported Signature and Hash Algorithms" was ambiguous because it didn't clearly indicate whether these were:

  • Handshake signature algorithms (used in Server Key Exchange messages)
  • Certificate signature algorithms (used to sign the certificates themselves)

This could cause confusion when analyzing scan results, as noted in the issue.

Solution

Updated the report headings to be more specific:

  • Changed "Supported Signature and Hash Algorithms" to "Supported Handshake Signature Algorithms (Server Key Exchange)"
  • Changed "Supported Signature and Hash Algorithms TLS 1.3" to "Supported Handshake Signature Algorithms TLS 1.3"

These changes make it clear that the displayed algorithms are specifically for handshake signatures, not certificate signatures. Certificate signature algorithms continue to be displayed within each certificate's details section as before.

Changes Made

  • ServerReportPrinter.java: Updated heading text in appendSignatureAndHashAlgorithms() method
  • ServerContainerReportCreator.java: Updated heading text in appendSignatureAndHashAlgorithms() method

Testing

  • Code compiles successfully with mvn clean compile
  • Formatting checked with mvn spotless:apply

Fixes #89

This commit addresses the ambiguity in the TLS-Scanner report where "Supported Signature and Hash Algorithms"
didn't clearly distinguish between handshake signature algorithms (used in Server Key Exchange) and
certificate signature algorithms.

Changes:
- Updated ServerReportPrinter to display "Supported Handshake Signature Algorithms (Server Key Exchange)"
  instead of the generic "Supported Signature and Hash Algorithms"
- Updated ServerContainerReportCreator with the same clarification
- Also updated the TLS 1.3 section title to "Supported Handshake Signature Algorithms TLS 1.3" for consistency

This makes it clear that these algorithms are specifically for handshake signatures, not certificate signatures.
Certificate signature algorithms continue to be displayed within each certificate's details as before.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SignatureAndHash ambiguity
1 participant