<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/swift.git/test/functional, branch master</title>
<subtitle>opendev.org: openstack/swift.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/swift.git/'/>
<entry>
<title>tests: Skip s3api functional tests when no s3api user configured</title>
<updated>2023-03-10T22:07:21+00:00</updated>
<author>
<name>Tim Burke</name>
<email>tim.burke@gmail.com</email>
</author>
<published>2023-03-10T21:58:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/swift.git/commit/?id=052bcadb27d602c2b81ed8ac1a415c54b054a43c'/>
<id>052bcadb27d602c2b81ed8ac1a415c54b054a43c</id>
<content type='text'>
Change-Id: I61f141a71eddcac600058d66ddf802306df455c1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I61f141a71eddcac600058d66ddf802306df455c1
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Let func tests run with test users 1 and 2 but not 3</title>
<updated>2023-03-10T22:07:21+00:00</updated>
<author>
<name>Tim Burke</name>
<email>tim.burke@gmail.com</email>
</author>
<published>2023-03-10T21:56:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/swift.git/commit/?id=78f13be75c651814adc4f8fa23e3548737cd1005'/>
<id>78f13be75c651814adc4f8fa23e3548737cd1005</id>
<content type='text'>
Change-Id: Ia564f2ee70f5d04acab1c38e17d1936642a01447
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ia564f2ee70f5d04acab1c38e17d1936642a01447
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "tests: Get rid of test.unit.SkipTest"</title>
<updated>2023-02-28T02:20:04+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2023-02-28T02:20:04+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/swift.git/commit/?id=bba3a3145dc73a1fc7a4c77cdafc3c40e1ea1548'/>
<id>bba3a3145dc73a1fc7a4c77cdafc3c40e1ea1548</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Skip S3 versioning test when versioning is not enabled"</title>
<updated>2023-02-25T07:27:09+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2023-02-25T07:27:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/swift.git/commit/?id=e21766cf6415097a5d8b2ba612baec07e86d5c8e'/>
<id>e21766cf6415097a5d8b2ba612baec07e86d5c8e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>encryption: Expose decrypted metadata via CORS</title>
<updated>2023-02-24T21:24:16+00:00</updated>
<author>
<name>Tim Burke</name>
<email>tim.burke@gmail.com</email>
</author>
<published>2020-03-09T20:45:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/swift.git/commit/?id=cd693e519e71dfc95a0de389293a2df2523a7d70'/>
<id>cd693e519e71dfc95a0de389293a2df2523a7d70</id>
<content type='text'>
Normally, the proxy object controller would be adding these, but when
encrypted, there won't be any headers in the x-object-meta-* namespace.

Closes-Bug: #1868045
Change-Id: I8e708a60ee63f679056300fc9d68227e46d605e8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Normally, the proxy object controller would be adding these, but when
encrypted, there won't be any headers in the x-object-meta-* namespace.

Closes-Bug: #1868045
Change-Id: I8e708a60ee63f679056300fc9d68227e46d605e8
</pre>
</div>
</content>
</entry>
<entry>
<title>Skip S3 versioning test when versioning is not enabled</title>
<updated>2023-02-24T19:48:13+00:00</updated>
<author>
<name>Tim Burke</name>
<email>tim.burke@gmail.com</email>
</author>
<published>2023-02-24T19:48:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/swift.git/commit/?id=8dd2d010ac789a752da60aa72b289e9b275c4863'/>
<id>8dd2d010ac789a752da60aa72b289e9b275c4863</id>
<content type='text'>
Change-Id: I36e42f459a74ed71a1cc57570a564e5562abbae3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I36e42f459a74ed71a1cc57570a564e5562abbae3
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Get rid of test.unit.SkipTest</title>
<updated>2023-02-17T07:59:53+00:00</updated>
<author>
<name>Tim Burke</name>
<email>tim.burke@gmail.com</email>
</author>
<published>2023-02-17T07:57:08+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/swift.git/commit/?id=be16d6c4fd7b61cee7c947fad9ef0473cb6661dc'/>
<id>be16d6c4fd7b61cee7c947fad9ef0473cb6661dc</id>
<content type='text'>
unittest.SkipTest suffices.

Change-Id: I11eb73f7dc4a8598fae85d1efca721f69067fb4f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
unittest.SkipTest suffices.

Change-Id: I11eb73f7dc4a8598fae85d1efca721f69067fb4f
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Fix some func tests to do with metadata maximums</title>
<updated>2023-02-02T23:34:00+00:00</updated>
<author>
<name>Tim Burke</name>
<email>tim.burke@gmail.com</email>
</author>
<published>2023-02-02T23:33:54+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/swift.git/commit/?id=488f8c839f034172d20b3f28ca851d83b7a3bfff'/>
<id>488f8c839f034172d20b3f28ca851d83b7a3bfff</id>
<content type='text'>
Previously, if a cluster's combined configured max_meta_name_length and
max_meta_value_length constraints were larger than the configured
max_meta_overall_size, we would accidentally go over the overall size
while intending to just test being exactly at the value length-limit.

Change-Id: I42a5287011509e5b43959aab060f9ec7405ae5b9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, if a cluster's combined configured max_meta_name_length and
max_meta_value_length constraints were larger than the configured
max_meta_overall_size, we would accidentally go over the overall size
while intending to just test being exactly at the value length-limit.

Change-Id: I42a5287011509e5b43959aab060f9ec7405ae5b9
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Ensure XXE injection tests have config loaded</title>
<updated>2023-01-19T19:24:34+00:00</updated>
<author>
<name>Tim Burke</name>
<email>tim.burke@gmail.com</email>
</author>
<published>2023-01-18T23:14:54+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/swift.git/commit/?id=3550e00dd9e380ba655e19047f8042bb9ae60098'/>
<id>3550e00dd9e380ba655e19047f8042bb9ae60098</id>
<content type='text'>
Depending on test order (and possibly whether there were earlier
failures?) the new tests may trip KeyErrors when trying to get
s3_access_key values. Solution seems to be defining
setUpModule() / tearDownModule() like other functional tests.

Also fix up some Content-MD5 handling; if we're using pre-signed URLs,
we can't provide a Content-MD5.

Change-Id: Ifce72ec255b1b618b9914ce5785d04ee0ebd3b8c
Related-Change: I84494123cfc85e234098c554ecd3e77981f8a096
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Depending on test order (and possibly whether there were earlier
failures?) the new tests may trip KeyErrors when trying to get
s3_access_key values. Solution seems to be defining
setUpModule() / tearDownModule() like other functional tests.

Also fix up some Content-MD5 handling; if we're using pre-signed URLs,
we can't provide a Content-MD5.

Change-Id: Ifce72ec255b1b618b9914ce5785d04ee0ebd3b8c
Related-Change: I84494123cfc85e234098c554ecd3e77981f8a096
</pre>
</div>
</content>
</entry>
<entry>
<title>s3api: Prevent XXE injections</title>
<updated>2023-01-17T15:03:41+00:00</updated>
<author>
<name>Aymeric Ducroquetz</name>
<email>aymeric.ducroquetz@ovhcloud.com</email>
</author>
<published>2022-10-25T20:07:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/swift.git/commit/?id=b8467e190f6fc67fd8fb6a8c5e32b2aa6a10fd8e'/>
<id>b8467e190f6fc67fd8fb6a8c5e32b2aa6a10fd8e</id>
<content type='text'>
Previously, clients could use XML external entities (XXEs) to read
arbitrary files from proxy-servers and inject the content into the
request. Since many S3 APIs reflect request content back to the user,
this could be used to extract any secrets that the swift user could
read, such as tempauth credentials, keymaster secrets, etc.

Now, disable entity resolution -- any unknown entities will be replaced
with an empty string. Without resolving the entities, the request is
still processed.

[CVE-2022-47950]

Closes-Bug: #1998625
Co-Authored-By: Romain de Joux &lt;romain.de-joux@ovhcloud.com&gt;
Change-Id: I84494123cfc85e234098c554ecd3e77981f8a096
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, clients could use XML external entities (XXEs) to read
arbitrary files from proxy-servers and inject the content into the
request. Since many S3 APIs reflect request content back to the user,
this could be used to extract any secrets that the swift user could
read, such as tempauth credentials, keymaster secrets, etc.

Now, disable entity resolution -- any unknown entities will be replaced
with an empty string. Without resolving the entities, the request is
still processed.

[CVE-2022-47950]

Closes-Bug: #1998625
Co-Authored-By: Romain de Joux &lt;romain.de-joux@ovhcloud.com&gt;
Change-Id: I84494123cfc85e234098c554ecd3e77981f8a096
</pre>
</div>
</content>
</entry>
</feed>
