Re: Sign w/ BSafe; Verify w/ MS Crypto; Error: Invalid Signature
From: Daniel McGloin (dmcgloin_at_san.rr.com)
Date: 12/19/03
- Next message: Michel Gallant: "Re: Sign w/ BSafe; Verify w/ MS Crypto; Error: Invalid Signature"
- Previous message: Pieter Philippaerts: "Re: Sign w/ BSafe; Verify w/ MS Crypto; Error: Invalid Signature"
- In reply to: Pieter Philippaerts: "Re: Sign w/ BSafe; Verify w/ MS Crypto; Error: Invalid Signature"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 18 Dec 2003 18:18:45 -0800
"Pieter Philippaerts" <Pieter@nospam.mentalis.org> wrote in message news:<OP3XZdZxDHA.2676@tk2msftngp13.phx.gbl>...
> "Daniel McGloin" <dmcgloin@san.rr.com> wrote in message
> > I am getting an error verifying a signature created with BSAFE. The
> > error returned from CryptVerifySignature is NTE_BAD_SIGNATURE. I have
> > tried to verify all inputs (i.e. signature, message file, public key)
> > to make sure they are correct.
>
> Keep in mind that the CryptoAPI uses little endian byte order and that most
> other products use big endian byte order.
> Have you tried reversing the contents of 'signatureKeyData'?
>
> Regards,
> Pieter Philippaerts
> Managed SSL/TLS: http://www.mentalis.org/go.php?sl
Wait! You're right!!! I needed to reverse the entire 64 byte stream.
I still don't understand this. But it works and I am very happy and
I am going to leave work and go home!
Thanks very, very much. You made my day.
- Next message: Michel Gallant: "Re: Sign w/ BSafe; Verify w/ MS Crypto; Error: Invalid Signature"
- Previous message: Pieter Philippaerts: "Re: Sign w/ BSafe; Verify w/ MS Crypto; Error: Invalid Signature"
- In reply to: Pieter Philippaerts: "Re: Sign w/ BSafe; Verify w/ MS Crypto; Error: Invalid Signature"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|