[Mono-dev] Having a problem with signed XML files

Numpsy webby at beardmouse.org.uk
Thu Oct 8 10:42:45 UTC 2015

Hi all,
I have a Windows product that uses signed XML files which I'm trying to get
running under Mono on OSX, and I'm running into a verification failure at
I'm pretty hazy about how the internals of this stuff works, but debugging
through it, the issue seems to be occurring in
System.Security.Cryptography.Xml.SignedXml.GetReferenceHash(), due to the
call to FixupNamespaceNodes added @


Which takes the XML in the form

<Object Id="LICENCES">
    <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="">

And copies the xmlns attributes on the ArrayOfString node onto the Object
node. If I skip over the FixupNamespaceNodes call, it all appears to work.

Anyone have any thoughts on how to proceed with this? The 'I haven't solved
the puzzle on why it is needed though.' comment on the commit doesn't fill
me with confidence :-(

Richard Webb

View this message in context: http://mono.1490590.n4.nabble.com/Having-a-problem-with-signed-XML-files-tp4666719.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

More information about the Mono-devel-list mailing list