Re: CheckSignature Output?

From: kcronin (nospam@devnull8.com)
Date: 04/23/03


From: "kcronin" <nospam@devnull8.com>
Date: Wed, 23 Apr 2003 07:37:14 -0400


Signed message file attached. I used a textwriter to write the file and did
use the preservieWhitespace=true. In the WS Security suite, i verified
using the VerifyGUI tool -( java dsig.VerifyGUI < data.xml ).

Thanks for taking a look.

If I could make a product suggestion, it would be that more data be given on
the reason for the CheckSignature failure. Signature, Encyrption and key
management will be increasingly used by development teams and having to deal
with a boolean output for a complex process is very frustrating!

"Ivan Medvedev [MS]" <ivanmed@online.microsoft.com> wrote in message
news:#mEGt$QCDHA.1692@TK2MSFTNGP12.phx.gbl...
> Unfortunately there is no easy way to figure out why exactly the SignedXml
> signature check failed. It is strange however that the Security Suite
> verifies the signature and .net classes do not. If you could send/post the
> signature I could take a look and try to figure out why the results
differ.
> Thanks,
> --Ivan
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
>
> "kcronin" <nospam@devnull8.com> wrote in message
> news:#rrdGuMCDHA.1604@TK2MSFTNGP10.phx.gbl...
> > We have a SOAP message (from an Axis server) that is signed with a X.509
> > certificate. WSE doesn't recognize the signature sections (not using
> > WS-Security headers perhaps) so we are trying to check by loading up the
> XML
> > document and using CheckSignature.
> >
> > CheckSignature is returning false but no other data. Does anyone know
if
> > other data is available on the validation process? I feel like we're
> > groping around in the dark as to the cause. BTW: I cross checked the
XML
> > against the IBM Security Suite verifier and it thinks the document
> signature
> > is valid.
> >
> > Any help would be most appreciated.
> >
> > kwc
> >
> >
>
>

begin 666 data.xml
M/#]X;6P@=F5R<VEO;CTB,2XP(C\^"CQS;V%P.D5N=F5L;W!E('-O87 Z86-T
M;W(](G-O;64M=7)I(B!S;V%P.FUU<W15;F1E<G-T86YD/2(Q(B!X;6QN<SI3
M3T%0+5-%0STB:'1T<#HO+W-C:&5M87,N>&UL<V]A<"YO<F<O<V]A<"]S96-U
M<FET>2\R,# P+3$R(B!X;6QN<SIS;V%P/2)H='1P.B\O<V-H96U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/@H\+V1S.E-I9VYA='5R93X\+U-/05 M4T5#.E-I
M9VYA='5R93X@/"]S;V%P.DAE861E<CX*(#QS;V%P.D)O9'D^"B @/&)A;FM!
M8V-O=6YT3G5M8F5R('AM;&YS/2)H='1P.B\O=W=W+F9S=&,N;W)G+V-C;2\B
M/C$R,SPO8F%N:T%C8V]U;G1.=6UB97(^"B @/&-U<W1O;65R240@>&UL;G,]
M(FAT=' Z+R]W=W<N9G-T8RYO<F<O8V-M+R(^,3(S/"]C=7-T;VUE<DE$/@H@
=/"]S;V%P.D)O9'D^"CPO<V]A<#I%;G9E;&]P93X`
`
end



Relevant Pages

  • Re: CheckSignature Output?
    ... It is strange however that the Security Suite ... verifies the signature and .net classes do not. ... > CheckSignature is returning false but no other data. ...
    (microsoft.public.dotnet.security)
  • RSA verification problem
    ... I need to write a PHP script which verifies a RSA signature. ... The Public Key created using MS CryptoAPI is in Base64 format. ... // Get Modulus Bit Length ...
    (comp.security.misc)
  • Re: Security and Encryption Faq - Revision 22.6
    ... The signature on the FAQ 22.6 verifies. ... This is basic PGP stuff guys. ... If I can get a verifiable signature from two servers, ...
    (alt.privacy)
  • Re: [opensuse] [OT] My PGP Signature
    ... saying that my PGP signature is not verifying properly for ... it verifies fine on my local side. ... and it says there is a problem with the signature. ... gpg command line and output: ...
    (SuSE)
  • Re: Choosing key to verify someone elses sig?
    ... > - Given a signed document from Bob, you shouldn't assume that Bob was ... - Given a signature that verifies with Bob's key, ... Bob's public key, so the most we can verify is that some holder of Bob's ...
    (sci.crypt)