question

nairinnet avatar image
nairinnet asked

Invalid Public Key length

Hi i am testing my skill and i am verifying the signature through SpeechletRequestSignatureVerifier. I get "Signature length not correct, found 379 expecting 256", can you help why does this happens though the certificate is downloaded (.pem) from the header url Regards Hari
alexa skills kitsubmission testing certification
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

nairinnet avatar image
nairinnet answered
don't bother, i have fixed it.. i was using the Base64.decode from resin built in libs.. org.apache....binary.Base64 works.. it was decoding to a greater length Regards Hari
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.