tag:blogger.com,1999:blog-11565005.post2273832521169922713..comments2023-03-29T06:17:21.481-06:00Comments on The Software Life: Amazon S3 with cURL?Andrew McKinlayhttp://www.blogger.com/profile/14951795633428513769noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-11565005.post-21418774613409208582007-04-23T09:26:00.000-06:002007-04-23T09:26:00.000-06:00Oops, yes, I meant SHA-1.We do use the version of ...Oops, yes, I meant SHA-1.<BR/><BR/>We do use the version of cURL with OpenSSL and I had found other references to OpenSSL.<BR/><BR/>There's also a GNU standalone sha1sum utility we considered using. (GnuWin32 has a Windows version)<BR/><BR/>The next trick is to get the right headers in the right form to hash. Not rocket science but a little tricky. And you have to make sure the headers you hash are identical to the headers that cURL sends. It's obviously possible since there's a Perl script (s3curl) that uses cURL to talk to S3.<BR/><BR/>We ended up using Sharp3hell for now since it already did everything we needed. Maybe down the road we'll work out the details to do it ourselves.Andrew McKinlayhttps://www.blogger.com/profile/14951795633428513769noreply@blogger.comtag:blogger.com,1999:blog-11565005.post-10094873110501798952007-04-22T21:23:00.000-06:002007-04-22T21:23:00.000-06:00By SH1, do you mean SHA-1? For that, and pretty we...By SH1, do you mean SHA-1? For that, and pretty well any other cryptography you might want to do in a C or C++ program, you'll want the <A HREF="http://www.openssl.org" REL="nofollow">OpenSSL</A> library. I've used it for years. It can also be integrated with cURL to support https.Anonymousnoreply@blogger.com