Skip to content
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

Update Wireshark Demo #316

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

Conversation

Hayyaaf
Copy link

@Hayyaaf Hayyaaf commented Nov 14, 2024

Summary

This update enhances the Wireshark demo in the oqs-demos repository by integrating OpenSSL 3 with the OQS provider for quantum-safe cryptography support. Key improvements include:

  • Updated Dockerfile:

    • Builds Wireshark 4.4.1 (latest version) with OpenSSL 3 with the OQS provider.
    • Consolidates the entire build process within the Dockerfile, simplifying configuration and maintenance.
  • Automated Header Generation:

    • Added generate_qsc_header.py, a Python script that automates the generation of qsc.h, defining post-quantum cryptographic algorithms for Wireshark.
    • The script fetches algorithm definitions from the ALGORITHMS.md file in the OQS provider repository to ensure support for the latest algorithms.
  • Project Cleanup and Expanded Documentation:

    • Expanded README.md with comprehensive setup instructions, configuration options, and cross-platform usage guidelines.
    • Removed outdated files (USAGE.md, build.sh, and wolfssl-qsc.h) to streamline the project structure.

Cross-Platform Notes:

Guidance for Linux and macOS display setup was drawn from documentation. Further testing on these platforms is recommended to ensure full functionality and compatibility.

Testing Summary

The updated Wireshark demo has been verified on Windows 11 with Docker 4.35.1 (latest version). Testing confirmed a successful build and functionality of Wireshark with post-quantum cryptography support.

Test Screenshots

The following screenshots show the successful integration of post-quantum cryptography in Wireshark. The tests capture traffic using the Kyber1024 and Frodo640aes algorithms.

Screenshot (5)
Screenshot (3)

- Upgrade Ubuntu to version 24.04.
- Upgrade Wireshark to version 4.4.1.
- Integrate OpenSSL 3 with liboqs and the OQS provider.
- Automate the generation of `qsc.h` using `generate_qsc_header.py`.
- Organize the build with dedicated directories for sources, builds, and installations.
- Migrate from Qt5 to Qt6 for improved compatibility.
- Update `README.md` and remove `USAGE.md`.

Signed-off-by: Khalid <[email protected]>

Update README

Signed-off-by: Khalid <[email protected]>

Refactor qsc.h generation using Jinja2 template

Signed-off-by: Khalid <[email protected]>

Update README.md

remove branch
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.

1 participant