Open dagelf opened 8 years ago
I've got the 3.6 fix in a local client, just adding tests now. Should hopefully submit in the next 24 hours.
I'm keen to hear about your sha256 problems. Could you post your key section (edit the key to change some of the hash if you so choose?) I can try that out locally here on my bind 9.10.3-P3 install.
This is fixed by https://github.com/jforman/pybindxml/commit/bba5c1a5f04ecfb4f98000384adb4a74e80dc272
Upgrade to that commit to pybindxml v0.6 on pypi.
As for Unicode support, I have not spent much time digging into that. Do you have any specific errors you've encountered trying to do it on your own?
First off, Bind9 uses XML 3.6 which isn't supported. Editing the xml library to just use the XML 3.5 parser seems to work... but then it fails not supporting any of the HMACs - no matter which one you use - "TSIG algorithm hmac-sha256. is not supported"
I'm not proficient enough in Python to fix this myself. The XML library claims: XmlError at /info/127.0.0.1/
u'Support must be added before being able to support newly-encountered XML version 3.6.'
Request Method: GET Request URL: http://127.0.0.1:8000/info/127.0.0.1/ Django Version: 1.9.6 Exception Type: XmlError Exception Value:
u'Support must be added before being able to support newly-encountered XML version 3.6.'
Exception Location: /usr/local/lib/python2.7/dist-packages/pybindxml/reader.py in get_stats, line 68 Python Executable: /usr/bin/python Python Version: 2.7.11 Python Path:
['/usr/src/binder', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages']
Server time: Sat, 14 May 2016 05:23:23 -0400
I'm keen to learn, any ideas? How do I add Unicode support to XML 3.6 library? Is that the main problem? Easier to just use an older BIND?