[xmlsec] Verify on Microsoft-produced sig
Edward Shallow
ed.shallow@rogers.com
Fri, 29 Aug 2003 13:02:29 -0400
This is a multi-part message in MIME format.
------=_NextPart_000_0044_01C36E2D.D081B150
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi Aleksey,
The attached file is a signature produced by Microsoft's InfoPath =
(XML
forms Manager from Office 2003). It's an enveloped signature with an =
extra
reference to a comment element. XMLSec verify reports data and digest
problem (as below). InfoPath uses the latest .Net Framework librairies =
which
is used across all Microsoft XMLDSIG implementations.
Is this the same problem as referenced in your FAQ section 3.2 ? Or =
is
this something else ?
Ed
C:\XMLSec>xmlsec verify --store-signatures --print-debug
inout/SimpleForm-2003-08-13.xml
func=3DxmlSecOpenSSLEvpDigestVerify:file=3D..\src\openssl\digests.c:line=3D=
164:obj
=3Dsha1:subj=3Dunknown:error=3D12:invalid data:data and digest do not =
match
FAIL
P.S. For all the XMLSec followers waiting for a MS CAPI implementation, =
we
have a work-around for our desktop signer which essentially exports the =
key
from the MS Crypto Store using CAPICOM. There XMLSEC can get at it as a
P12/PFX on the file system. There is a password prompt, but we enforce
password protection of the MS Crypto Store anyway. The only =
pre-requisite is
that the key/cert must be marked as exportable when initially loaded =
into
the MS Crypto Store. It has been getting us by while we wait. Our XMLSec =
is
running OpenSSL on the desktop. =20
------=_NextPart_000_0044_01C36E2D.D081B150
Content-Type: application/x-zip-compressed;
name="SimpleForm-2003-08-13.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="SimpleForm-2003-08-13.zip"
UEsDBBQAAAAIACxTDS/DIIPFPgoAAPsUAAAZAAAAU2ltcGxlRm9ybS0yMDAzLTA4LTEzLnhtbLVY
aW/qSBb9/Frq/4BojTQzUeIFSPATSY93DNhgY2yMWhp5w7tNvGJrfvyU2WLy3pvuHqmJIlxVt85d
zr3XVUx+PUZhr7TTzEvi1z7yBPd7dmwmlhc7r/2NzDyO+7++TX6NsuTRi/fJSs/ddRIWORDvZZcH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