Fork https://code.google.com/p/xmlseclibs/