rohithadassanayake / sslyze

Automatically exported from code.google.com/p/sslyze

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exception --certinfo=basic

GoogleCodeExporter opened this issue · comments

Latest version from source:

PluginCertInfo.py line 127

trust_xml.extend(cert_xml)

Gives an exception when run with the following options

./sslyze.py --certinfo=basic google.com

Unhandled exception when processing --certinfo:
exceptions.AttributeError - _ElementInterface instance has no attribute 'extend'


(nb the line number would be really handy when debugging :)

Original issue reported on code.google.com by a.ben.ca...@gmail.com on 4 Jul 2012 at 11:12

You're probably using Python 2.6; turns out extend() was added in 2.7... lame. 
I'll have to use append() instead.
Thanks for the feedback.

http://docs.python.org/library/xml.etree.elementtree.html#xml.etree.ElementTree.
Element.extend

Original comment by nabla.c...@gmail.com on 4 Jul 2012 at 8:35

  • Changed state: Accepted
Whatever version of python backtrack 5 r2 32 bit is running by default :)

Original comment by a.ben.ca...@gmail.com on 5 Jul 2012 at 12:44

This issue was closed by revision r191.

Original comment by nabla.c...@gmail.com on 7 Jul 2012 at 7:55

  • Changed state: Fixed