pyxmpp2
pyxmpp2 copied to clipboard
Proper certificate verification
Currently only 'Common Name' and 'Other name/DNS-ID' identifiers are checked, as only those are exposed by current Python API.
RFC6120 requires support for 'SRV-ID' and 'XmppAddr' identifiers. Probably an ASN.1 decoder will be needed to get those from the peer certificate.