How did I fix «The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256» for Backupninja / Duplicity?

I replaced

desturl = s3+http://<path to the bucket>

with

desturl = s3://s3.eu-central-1.amazonaws.com/<path to the bucket>

superuser.com/a/1202609