<div dir="ltr">Well That's interesting.  when I download and use your .sig file, I get the same errors.  How do you go about picking up your signature form the file system?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 24, 2015 at 11:55 AM, Richard Moore <span dir="ltr"><<a href="mailto:richmoore44@gmail.com" target="_blank">richmoore44@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On 24 July 2015 at 13:32, Andrew Carpenter <span dir="ltr"><<a href="mailto:andrewcarp@gmail.com" target="_blank">andrewcarp@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>    So my question is: What format should the signature file be in? base64? DER? PKCS7? raw binary?  Specifically I am talking about the function EVP_DigestVerifyFinal(), What format should the *sig parameter be in?  The DiestVerifyInit and DigestVerifyUpdate are working with no errors, so I have narrowed it down to this function.<br></div></div></div>Thanks,<span><font color="#888888"><br><div><div><br></div></div></font></span></div></blockquote><div><br></div></span><div><div class="gmail_default" style="font-family:verdana,sans-serif;display:inline">​You might find this change I've recently written for Qt useful: <a href="https://codereview.qt-project.org/#/c/113855/" target="_blank">https://codereview.qt-project.org/#/c/113855/</a></div></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;display:inline">It implements exactly this and has lots of test cases.</div></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;display:inline"><br></div></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;display:inline">Cheers</div></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;display:inline"><br></div></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;display:inline">Rich.</div></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;display:inline">​</div> <br></div></div></div></div>
<br>_______________________________________________<br>
openssl-users mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/mailman/listinfo/openssl-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Andrew Carpenter,<br></div>
</div>