duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Version 4 authorisation for Amazon S3 buckets


From: Cláudio Gil
Subject: Re: [Duplicity-talk] Version 4 authorisation for Amazon S3 buckets
Date: Mon, 27 Apr 2015 16:06:20 +0100

Hi,

I've been using duplicity 0.6.25 and a Frankfurt bucket as target. The only thing* I needed to do was:

export S3_USE_SIGV4="True"

* I may have upgraded python-boto (through the system packages) but the support for this is there since 2.24.

Cheers,
Cláudio

2015-04-27 15:41 GMT+01:00 Christian Saga <address@hidden>:
Sorry, took a while to put this together. I put up a little Webpage to store this solutions for me. You find it here: sowhatisthesolution.wordpress.com

Also, not to be a traffic leech, here the solution ;-): If you are planning to use the new EU (Frankfurt) location called eu-central-1 you will run into problems as this location only supports the V4 authentication.

You might encounter the following error when using duply (even if the config worked on other locations before)
The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256
So what is the solution
To solve this you will need to upgrade your duplicity and boto framework as following:

Package duplicity needs version > 0.7.02-1
This version is available within the unstable branch of debian. I used package pinning to get this package. You can easily find articles for this via Google, I found this one helpful.
Be careful to understand pinning, as you might confuse APT with a wrong configuration. You should always use sudo apt-cache policy [packagename] and the -s parameter on upgrades first to check what will happen.

Package python-boto needs version >= 2.36.0
This is a bit tricky, as the Debian packages, even within the unstable branch only give you version 2.34.0-2.
To get the newest version from PyPI (what is that?) you need to install the python-pip package
sudo apt-get install python-pip
After that you can install the newest version of boto
sudo pip install --upgrade boto
This will install the newest version of boto in parallel to your debian package. I haven’t encountered any problems with the parallel installation. The PIP installed one will take precedence to the debian package. If you want to uninstall the PIP version, use sudo pip uninstall boto.
To get an overview of PIP packages, use pip freeze.

Package duply did not need additional changes, I am using version 1.9.1-1

Am Montag, den 02.02.2015, 22:13 +0100 schrieb address@hidden:
could you please post a short summary with the error and steps to solve it. others with this problem can pick it up then via internet search engine in the mailing list archives ;)

..ede/duply.net

On 02.02.2015 21:33, Christian Saga wrote:
> Hi Ken, Hi Ed
> yep, that did the trick. EU central region is working now.
> Got boto 2.36.0 now on python 2.7.
> 
> Thanks for your help
>   Christian
> 
> Am Montag, den 02.02.2015, 07:04 -0600 schrieb Kenneth Loafman:
> 
>> sudo pip install --upgrade boto
> 
> 
> 
> 
> 
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk
> 

_______________________________________________
Duplicity-talk mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk


_______________________________________________
Duplicity-talk mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/duplicity-talk



reply via email to

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