Skip to content

Conversation

nielsdos
Copy link
Member

@nielsdos nielsdos commented Nov 3, 2024

https://bugs.php.net/bug.php?id=77761

This adds a new subarray to the output named "publicKey" that can contain subentries "type", "bits", and "groupName". The latter is only applicable for public key that have a group.

…for public key type and size)

This adds a new subarray to the output named "publicKey" that can
contain subentries "type", "bits", and "groupName". The latter is only
applicable for public key that have a group.
Copy link
Member

@bukka bukka left a comment

Choose a reason for hiding this comment

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

I'm not sure I like this. Pub key is not part of x509 and the info provided is pretty limited in the current form. I think users should just openssl_pkey_get_public(openssl_pkey_get_public($cert)) if they want info about pub key.

@nielsdos
Copy link
Member Author

nielsdos commented Nov 3, 2024

Okay, that makes sense. I'll close this and I guess I'll comment that on the original request on bugsnet

@nielsdos nielsdos closed this Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants