Skip to content

Document write_pubkey and read_pubkey - #104

Merged
quinnj merged 1 commit into
mainfrom
docs/pubkey-docstrings
Oct 27, 2026
Merged

quinnj merged 1 commit into
mainfrom
docs/pubkey-docstrings

Conversation

@quinnj

@quinnj quinnj commented Oct 27, 2026

Copy link
Copy Markdown
Member

Follow-up to #103:

  • Adds docstrings for OpenSSL.write_pubkey and OpenSSL.read_pubkey. Each claim was checked with a probe: only the public part of a private key is written, the return value is the byte count, and read_pubkey throws OpenSSLError for non-key input and for a private-key PEM.
  • Re-indents the new code with spaces like the rest of the file, and renames read_pubkey's argument to pem.

No behavior change.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 81.91%. Comparing base (e267538) to head (55f557e).

Files with missing lines Patch % Lines
src/OpenSSL.jl 85.71% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #104   +/-   ##
=======================================
  Coverage   81.91%   81.91%           
=======================================
  Files           2        2           
  Lines        1244     1244           
=======================================
  Hits         1019     1019           
  Misses        225      225           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@quinnj
quinnj merged commit f7d7539 into main Oct 27, 2026
14 checks passed
@quinnj
quinnj deleted the docs/pubkey-docstrings branch October 27, 2026 12:48
@quinnj quinnj mentioned this pull request Oct 27, 2026
quinnj referenced this pull request Oct 27, 2026
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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