https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2017-02-24T09:56:16ZCeph rgw - Feature #18800: rgw: support AWS4 authentication for S3 Post Object APIhttps://tracker.ceph.com/issues/18800?journal_id=867202017-02-24T09:56:16ZChang Liuliuchang0812@gmail.com
<ul></ul><p>hi, anyone working on this?</p> rgw - Feature #18800: rgw: support AWS4 authentication for S3 Post Object APIhttps://tracker.ceph.com/issues/18800?journal_id=868122017-02-27T12:55:02ZJavier M. Mellidjmunhoz@igalia.com
<ul></ul><p>Yes, I am having a look in this bug.</p> rgw - Feature #18800: rgw: support AWS4 authentication for S3 Post Object APIhttps://tracker.ceph.com/issues/18800?journal_id=868132017-02-27T12:55:46ZJavier M. Mellidjmunhoz@igalia.com
<ul><li><strong>Assignee</strong> set to <i>Javier M. Mellid</i></li></ul> rgw - Feature #18800: rgw: support AWS4 authentication for S3 Post Object APIhttps://tracker.ceph.com/issues/18800?journal_id=874612017-03-10T13:16:34ZJavier M. Mellidjmunhoz@igalia.com
<ul><li><strong>File</strong> <a href="/attachments/download/2759/rgw-s3-aws4-form.py">rgw-s3-aws4-form.py</a> <a class="icon-only icon-magnifier" title="View" href="/attachments/2759/rgw-s3-aws4-form.py">View</a> added</li></ul><p>PR available at:</p>
<p><a class="external" href="https://github.com/ceph/ceph/pull/13916">https://github.com/ceph/ceph/pull/13916</a></p>
<p>To test the feature with some browser, boto3 and aws cli run the following commands:</p>
<p>1) Create a new bucket</p>
<p>$ aws s3 mb s3://test-1-2-1-bucket --region eu-central-1 --endpoint-url <a class="external" href="http://s3.eu-central-1.amazonaws.com:8000">http://s3.eu-central-1.amazonaws.com:8000</a><br />make_bucket: test-1-2-1-bucket</p>
<p>2) Generate some test html code with the minimal and required data form fields to auth under aws4, proper policy encoding, etc.</p>
<p>$ ./rgw-s3-aws4-form.py <br />test-rgw-s3-aws4-form.html created.</p>
<p>3) Load test-rgw-s3-aws4-form.html in some browser and upload a test file. You should receive a 204 message.</p>
<p>4) Verify the object is in place and the content is good</p>
<p>$ md5sum test-1-2-1-key<br />aaf3b5e3b7505131a6baf9fb6ec1f9dc test-1-2-1-key</p>
<p>$ aws s3 cp s3://test-1-2-1-bucket/test-1-2-1-key --region eu-central-1 --endpoint-url <a class="external" href="http://s3.eu-central-1.amazonaws.com:8000">http://s3.eu-central-1.amazonaws.com:8000</a> - | md5sum<br />aaf3b5e3b7505131a6baf9fb6ec1f9dc -</p> rgw - Feature #18800: rgw: support AWS4 authentication for S3 Post Object APIhttps://tracker.ceph.com/issues/18800?journal_id=874622017-03-10T13:17:34ZJavier M. Mellidjmunhoz@igalia.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fix Under Review</i></li></ul> rgw - Feature #18800: rgw: support AWS4 authentication for S3 Post Object APIhttps://tracker.ceph.com/issues/18800?journal_id=887822017-04-10T17:34:52ZJavier M. Mellidjmunhoz@igalia.com
<ul></ul><p>The new PR for this bug is:</p>
<p><a class="external" href="https://github.com/ceph/ceph/pull/14432">https://github.com/ceph/ceph/pull/14432</a></p>
<p>This feature is being rebased on top of:</p>
<p>- the recently merged auth rework (<a class="external" href="https://github.com/ceph/ceph/pull/12893">https://github.com/ceph/ceph/pull/12893</a>),<br />- the FormPost of Swift API which also significantly changes the RGWPostObj (<a class="external" href="https://github.com/ceph/ceph/pull/11179">https://github.com/ceph/ceph/pull/11179</a>).</p> rgw - Feature #18800: rgw: support AWS4 authentication for S3 Post Object APIhttps://tracker.ceph.com/issues/18800?journal_id=1046932018-01-10T23:25:53ZJavier M. Mellidjmunhoz@igalia.com
<ul><li><strong>Status</strong> changed from <i>Fix Under Review</i> to <i>Resolved</i></li></ul><p>Merged as a part of<br /><a class="external" href="https://github.com/ceph/ceph/pull/14885">https://github.com/ceph/ceph/pull/14885</a></p>