bug 3204: implement request signing for Amazon Web Services
authorHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 7 Jul 2009 13:44:26 +0000 (15:44 +0200)
committerGalen Charlton <gmcharlt@gmail.com>
Thu, 13 Aug 2009 13:29:56 +0000 (09:29 -0400)
commit54f7ca4d3b528324b127df4bebf3e05a08830235
treee0469c7d2ffd9104332f18d1ede89fd75998bf8f
parentbaa0b0814919f4cb117c2ea9fcd0d726c0191bad
bug 3204: implement request signing for Amazon Web Services

After 2009-08-15, Amazon Web Services will expect that
all requests to the Product Advertising API, which is what
Koha uses for retrieving reviews and other enhanced content
from Amazon, include signatures.  This patch and
subsequenct patches implement this functionality.

What this means in practice (assuming the user has elected
to use any enhanced content from Amazon) is that

[1] The user must get a Amazon Secret Access Key.  This can
    be done by logging in to the user's AWS account
    at (e.g.) http://aws.amazon.com/, going to the 'Access Identifiers'
    page, and from there retrieving and/or creating a new Secret
    Access Key.

[2] The contents of the Secret Access Key should then be
    entered into the new AWSPrivateKey system preference.

Once that is done, grabbing reviews and table of contents from Amazon
should work as normal.  If the user doesn't do this before 2009-08-15,
reviews and TOCs will no longer be supplied from Amazon, although there
should be no crashes - the content will simply not show up.

Note that the requirement to sign requests does *NOT* appear to apply
to simply displaying book covers from Amazon.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
C4/External/Amazon.pm
Makefile.PL
install_misc/debian-lenny.packages
installer/data/mysql/en/mandatory/sysprefs.sql
installer/data/mysql/fr-FR/1-Obligatoire/unimarc_standard_systemprefs.sql