On 15/07/10 16:19 +0200, Hartmut Goebel wrote: > Am 15.07.2010 15:28, schrieb Cédric Krier: > > On 15/07/10 15:23 +0200, Hartmut Goebel wrote: > >> Am 14.07.2010 23:50, schrieb Cédric Krier: > >>> If any one know a way to get certificate from ssl socket < 2.6 ? > >> > >> http://docs.python.org/release/2.5.4/lib/socket-example.html > > > > I don't see any certificate retreive in the example. > > > IC. Mixed it up. > > The peer_sert seams to be empty :-( > > >>> repr(ssl_sock.peer_certificate()) > '{}' > > Solutions: > * require module `ssl` for Py 2.5 (see pypi) > * require Python 2.6
Not possible because 2.6 on windows require visual-C-2008 redistributable which can not (or I did not find) be packaged with py2exe [1]. > * drop fingerprint-verification for Py 2.5 This is the solution of the patch but fingerprint will be done if ssl module is there. I will add ssl as optional requirements for Python < 2.6 [1] http://bugs.tryton.org/roundup/issue1350 -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgphoLK1P23bF.pgp
Description: PGP signature
