Skip to content

feat: added read_derpub, to only attempt to load DER encoded public keys #918

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mcr
Copy link
Contributor

@mcr mcr commented Jul 26, 2025

This new routine reads a public in DER format only.
Other routines get confused by too many heuristics and do not support doing this.

@rhenium
Copy link
Member

rhenium commented Jul 27, 2025

Do you have an example that can't be decoded correctly with OpenSSL::PKey.read?

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.

2 participants