Skip to content
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

Key exchange signature algorithm not available for inspection. #292

Open
vdukhovni opened this issue Nov 2, 2018 · 1 comment
Open

Key exchange signature algorithm not available for inspection. #292

vdukhovni opened this issue Nov 2, 2018 · 1 comment

Comments

@vdukhovni
Copy link
Collaborator

The signature algorithm used to sign key exchange parameters and the like is negotiated separately. While contextGetInformation exposes the ciphersuite and negotiated key exchange group, and the public key from the certificate yields part of the signature algorithm, the associated hash algorithm does not appear to be available.

It should IMHO be possible to inspect this value at the end of the handshake. Of course keeping in mind that with Ed25519 and Ed448 (once implemented) there is no separate hash function, so the return value would be aMaybe hash algorithm.

@kazu-yamamoto
Copy link
Collaborator

Please send us a PR!

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

No branches or pull requests

2 participants