Canonicalization support

Hi, Is it true that lxml (3.2.1) does not support http://www.w3.org/TR/xml-c14n11? If so, can we simply modify the source code and add this c14n method to the list? Would it be safe? Thanks. João M. S. Silva

João M. S. Silva schrieb am 24.05.19 um 12:38:
Is it true that lxml (3.2.1) does not support http://www.w3.org/TR/xml-c14n11?
lxml 4.4 will have (mostly complete) C14N 2.0 support. Does that help? Stefan

On 5/24/19 9:42 PM, Stefan Behnel wrote:
I thought 2.0 was already available because in the code you have something like c14n_method in ['c14n', 'c14n2'], which I interpreted as either 1.0 or 2.0. But we're requested to use 1.1. From what you say, when using signxml (https://pypi.org/project/signxml/) I won't be able to sign/verify documents using c14n version 1.1, is that right? Thanks. João M. S. Silva

João M. S. Silva schrieb am 24.05.19 um 12:38:
Is it true that lxml (3.2.1) does not support http://www.w3.org/TR/xml-c14n11?
lxml 4.4 will have (mostly complete) C14N 2.0 support. Does that help? Stefan

On 5/24/19 9:42 PM, Stefan Behnel wrote:
I thought 2.0 was already available because in the code you have something like c14n_method in ['c14n', 'c14n2'], which I interpreted as either 1.0 or 2.0. But we're requested to use 1.1. From what you say, when using signxml (https://pypi.org/project/signxml/) I won't be able to sign/verify documents using c14n version 1.1, is that right? Thanks. João M. S. Silva
participants (2)
-
João M. S. Silva
-
Stefan Behnel