Skip to content

Implement OpenSSL::PKey#size - #989

Closed
herwinw wants to merge 1 commit into
ruby:masterfrom
herwinw:pkey_size
Closed

herwinw wants to merge 1 commit into
ruby:masterfrom
herwinw:pkey_size

Conversation

@herwinw

@herwinw herwinw commented Dec 24, 2025

Copy link
Copy Markdown
Member

Fixes #988

@rhenium

rhenium commented Oct 16, 2026

Copy link
Copy Markdown
Member

As I mentioned in #988, but EVP_PKEY_get_size() returns something very vague: "the maximum suitable size for the output buffers for almost all operations that can be done with pkey" according to the man page.

I'm closing this for now, as I don't think this is a generally useful method to expose.

@rhenium rhenium closed this Oct 16, 2026
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 a method OpenSSL::PKey#size

2 participants