chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Amazon S3


From: Peter Bex
Subject: Re: [Chicken-users] Amazon S3
Date: Thu, 10 Feb 2011 09:12:06 +0100
User-agent: Mutt/1.4.2.3i

On Wed, Feb 09, 2011 at 07:17:23PM -0500, Thomas Hintz wrote:
> Hello,
> 
> Has anyone used Amazon S3 with Chicken? I can't seem to find any libs built
> for handling the request authentication, particularly the HMAC-SHA1
> signature... I really don't want to develop something that has been already
> built. If anyone can give me any pointers or knows of an easy way to
> accomplish this, please let me know.

There's an sha-1 egg and HMAC isn't that hard to calculate. I've rolled
my own quick&dirty sha-256 HMAC once before; the code for that is part
of this snippet: http://wiki.call-cc.org/drupal-xml-rpc

Maybe someone (you? me?) ought to make an hmac egg which can accept
arbitrary message-digest objects.  This would make it trivial to get
HMAC for any type of hash algorithm.

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth



reply via email to

[Prev in Thread] Current Thread [Next in Thread]