Skip to content

add demo, config files, expand readme - #5

Merged
thegdsks merged 1 commit into
mainfrom
feat/demo-and-configs
Apr 15, 2026
Merged

thegdsks merged 1 commit into
mainfrom
feat/demo-and-configs

Conversation

@thegdsks

Copy link
Copy Markdown
Member

adds demo gif, editorconfig, rustfmt.toml, dependabot. expands readme with all command examples and openssl comparison table.

Copilot AI review requested due to automatic review settings April 15, 2026 14:38
@thegdsks thegdsks self-assigned this Apr 15, 2026
@thegdsks thegdsks added the feature new command or capability label Apr 15, 2026
@thegdsks
thegdsks merged commit f4ac048 into main Apr 15, 2026
8 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yml to standardize formatting and automate dependency updates.
  • Add demo.tape to generate demo.gif and reference the demo in the README.
  • Expand README.md with 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.

Comment thread README.md
Comment on lines +232 to +235
| 1 | cert expired or expiring |
| 3 | chain untrusted |
| 4 | connection failed |
| 5 | bad file |

Copilot AI Apr 15, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
| 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) |

Copilot uses AI. Check for mistakes.
Comment thread README.md
Comment on lines +26 to +32
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

Copilot AI Apr 15, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
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

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature new command or capability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants