Skip to content

Close #19: Verbose flag#35

Open
theodoregraham1 wants to merge 7 commits intoglincker:mainfrom
theodoregraham1:main
Open

Close #19: Verbose flag#35
theodoregraham1 wants to merge 7 commits intoglincker:mainfrom
theodoregraham1:main

Conversation

@theodoregraham1
Copy link
Copy Markdown

@theodoregraham1 theodoregraham1 commented Apr 24, 2026

What does this PR do?

Closes #19: adds a --verbose flag which parses and renders all present x509 extensions when present on inspect.

To do this, adds a new struct VerboseCert which aggregates CertInfo.

When the verbose flag is triggered, processing splits from the normal pipeline in inspect::run and follows a parallel process.

Additionally, in terminal, the existing rendering functions have been split into render_cert_body which renders the header and body of the box and render_cert_bottom which renders the footer/bottom of the box.

How to test

Execute sslx inspect --verbose or cargo run --package sslx --bin sslx -- --verbose inspect [FILE]

Checklist

  • cargo test passes
  • cargo clippy clean
  • cargo fmt applied

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.

add --verbose flag to show raw x509 extensions

1 participant