Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for AWS signature version 4 algorithm (#24)
* working v4 signatures without boto3 being used. * removed debug messages * expose AWS bad token errors * tidy up code * standardise on s3://<bucket>/<key> for mat for uri and enforce region in the s3auth.conf * handle bucket errors when not in correct region * updated README * Remove erroneous newline from 301 and 400 error messages * add test message instructions * fixed default config used * fixed default config used - to default /etc/apt/s3auth.conf * ensure that metadata does not prevent region being set * removed typo from README.md test message * Need to url unquote the canonical uri before signing to create valid v4 signatures for the S3 API * Need to canonical url quoted just for '+' before signing to create valid v4 signatures for the S3 API * Adds retries for operations if they timeout. Delay before N retry is 2^N-1 (#17) * added proxy configuration (#16) * added apt configuration (for http proxy) * typo * doc fixes * correct apt syntax in docs * Use Acquire::http::Proxy as proxy config key * Add support for path-based bucket name On Python 2.7.12, this script fails with a `CertificateError` when a bucket name has a dot in it: `my.bucket.s3.amazonaws.com`. This change adds support for the alternative bucket URL, `s3.amazonaws.com/my.bucket/` * Tidy bucket name finding. * Fix merge conflicts. * Merged upstream commits and resolved merge conflicts * Added proxy instructions back in
- Loading branch information