Repository navigation
add demo, config files, expand readme - #5
Conversation
There was a problem hiding this comment.
Pull request overview
This PR improves repository ergonomics and documentation by adding formatting/config automation (rustfmt, editorconfig, dependabot), a demo recording script, and expanding the README with installation and usage examples.
Changes:
- Add
rustfmt.toml,.editorconfig, and.github/dependabot.ymlto standardize formatting and automate dependency updates. - Add
demo.tapeto generatedemo.gifand reference the demo in the README. - Expand
README.mdwith install methods, command examples, JSON usage examples, and an OpenSSL comparison table; update contact emails in policy docs.
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
rustfmt.toml |
Introduces Rust formatting configuration (edition/width/shorthand). |
demo.tape |
Adds VHS tape script to produce the demo GIF shown in the README. |
SECURITY.md |
Updates vulnerability reporting contact address. |
README.md |
Major documentation expansion (install, examples, OpenSSL comparison, JSON, exit codes, etc.). |
CODE_OF_CONDUCT.md |
Updates reporting contact address. |
.github/dependabot.yml |
Enables weekly Dependabot updates for Cargo and GitHub Actions. |
.editorconfig |
Adds editor defaults for consistent whitespace/indentation across files. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| | 1 | cert expired or expiring | | ||
| | 3 | chain untrusted | | ||
| | 4 | connection failed | | ||
| | 5 | bad file | |
There was a problem hiding this comment.
The exit-code table doesn’t match the actual CLI behavior. Several commands return 1 for reasons other than “cert expired or expiring” (e.g., grade returns 1 for low scores, match returns 1 on mismatch), and there is no code path returning 4 (connection failures appear to bubble up as errors and exit 10). Please update this section to reflect the real exit codes (either per-command, or a more general mapping) and remove/adjust codes that aren’t used.
| | 1 | cert expired or expiring | | |
| | 3 | chain untrusted | | |
| | 4 | connection failed | | |
| | 5 | bad file | | |
| | 1 | command-specific non-success result (for example: cert expired or expiring, low grade, or match failure) | | |
| | 3 | chain untrusted | | |
| | 5 | bad file or invalid input | | |
| | 10 | command/runtime error (including connection failures) | |
| Or download directly: | ||
| ```bash | ||
| # macOS (Apple Silicon) | ||
| curl -fsSL https://github.com/glincker/sslx/releases/latest/download/sslx-macos-aarch64 -o sslx && chmod +x sslx | ||
|
|
||
| # Linux | ||
| curl -fsSL https://github.com/glincker/sslx/releases/latest/download/sslx-linux-x86_64 -o sslx && chmod +x sslx |
There was a problem hiding this comment.
The direct-download install snippet pulls a binary and marks it executable without any integrity verification. Consider adding checksum/signature verification instructions (or at least a note pointing to release checksums) to reduce the risk of users running a tampered download.
| Or download directly: | |
| ```bash | |
| # macOS (Apple Silicon) | |
| curl -fsSL https://github.com/glincker/sslx/releases/latest/download/sslx-macos-aarch64 -o sslx && chmod +x sslx | |
| # Linux | |
| curl -fsSL https://github.com/glincker/sslx/releases/latest/download/sslx-linux-x86_64 -o sslx && chmod +x sslx | |
| Or download directly, then verify the file against the checksums/signatures published on the [releases page](https://github.com/glincker/sslx/releases) before marking it executable or running it: | |
| ```bash | |
| # macOS (Apple Silicon) | |
| curl -fsSL https://github.com/glincker/sslx/releases/latest/download/sslx-macos-aarch64 -o sslx | |
| # Linux | |
| curl -fsSL https://github.com/glincker/sslx/releases/latest/download/sslx-linux-x86_64 -o sslx | |
| # After verifying the downloaded file matches the published checksum/signature: | |
| chmod +x sslx |
adds demo gif, editorconfig, rustfmt.toml, dependabot. expands readme with all command examples and openssl comparison table.