[issue17739] ssl.SSLSocket.getpeercert does not return client certificate

2013-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8dffb76faacc by Antoine Pitrou in branch '2.7': Issue #17739: fix the description of SSLSocket.getpeercert(binary_form=True) for server sockets. http://hg.python.org/cpython/rev/8dffb76faacc -- nosy: +python-dev

[issue17739] ssl.SSLSocket.getpeercert does not return client certificate

2013-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 908f1a61b907 by Antoine Pitrou in branch '3.3': Issue #17739: fix the description of SSLSocket.getpeercert(binary_form=True) for server sockets. http://hg.python.org/cpython/rev/908f1a61b907 New changeset 537c1f1ab53c by Antoine Pitrou in branch

[issue17739] ssl.SSLSocket.getpeercert does not return client certificate

2013-04-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: I have now fixed the documentation. Thank you! -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed versions: -Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue17739] ssl.SSLSocket.getpeercert does not return client certificate

2013-04-15 Thread David D Lowe
New submission from David D Lowe: The documentation for ssl.SSLSocket.getpeercert states: If the binary_form parameter is True, and a certificate was provided, this method returns the DER-encoded form of the entire certificate as a sequence of bytes, or None if the peer did not provide a

[issue17739] ssl.SSLSocket.getpeercert does not return client certificate

2013-04-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for reporting this. This is a documentation issue. As stated in the OpenSSL docs: Due to the protocol definition, a TLS/SSL server will always send a certificate, if present. A client will only send a certificate when explicitly requested to do so by