-
Notifications
You must be signed in to change notification settings - Fork 28
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
Implement getpeercert #56
Comments
Hi! That seems reasonable, I will see what I can do. |
The standard SSLSocket.getpeercert() returns a dict for |
I have got it working by
This is what is expected by PEP when |
sorry I haven't noticed you already pushed, it's okay for me |
sure, no problem.
I don't think so. I think it is a view on the peer certificate. At least, that is how I interpret the documentation and the fact that it is returned as a const *. So copying and returning looks good to me. |
NOTE: Please use stackoverflow for support questions.
This repository's issues are reserved for feature requests and bug reports.
I am submitting a …
Description
I need to obtain the server's certificate after a successful handshake. In PEP there is a function documented
getpeercert
but I see in the code this is not implemented (commented out).Would it be possible to obtain the server's certificate in some other way? If not, I'd like to ask you to add this feature.
Current behavior
getpeercert
is not implementedExpected behavior
getpeercert
to be implementedSteps to reproduce
N/A
Minimal demo of the problem
N/A
Other information
I don't need it in parsed form, binary DER is more than enough.
The text was updated successfully, but these errors were encountered: