OpenSAML generating to long signature

Ian Young ian at iay.org.uk
Thu May 22 04:21:57 EDT 2014


On 22 May 2014, at 08:42, Stefan Rasmusson <rasmusson.stefan at gmail.com> wrote:

> I have one webapp signing an assertion and one trying to verify it. I get this error message when trying to verify the signature.
> 
> Signature length not correct: got 256 but was expecting 128
> 
> I can't find any way to set the length of the signature. Any ideas?

Length of signature is determined by the key. Is it possible you're signing with a 2048-bit key but attempting to verify against a 1024-bit key?

	-- Ian



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/dev/attachments/20140522/722bfc23/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5943 bytes
Desc: not available
Url : http://shibboleth.net/pipermail/dev/attachments/20140522/722bfc23/attachment.bin 


More information about the dev mailing list