swift/test/unit/common
Janie Richling f0e5ed1b7a Decrypting Container Listing
See encryption spec in_progress/at_rest_encryption.html

Decrypts the content-type in the container-listing.
The content-length is modified since decoding decreases length.
When there is "footers" support, the etag will also be decrypted.

Depends on having keymaster middleware and cryptography module.
You can point the following vagrant to this patch:
https://github.com/swiftstack/vagrant-swift-all-in-one/tree/crypto
Alternatively, please follow the instructions
in the proxy-server.conf-sample.  You will also need to add the
fake_footers middleware as well to get the correct functionality.

Co-Authored-By: Alistair Coles <alistair.coles@hp.com>

Change-Id: If7830ed0fc17deb3939492a02a3e07a20f1018c7
2015-11-25 10:20:12 +00:00
..
middleware Decrypting Container Listing 2015-11-25 10:20:12 +00:00
ring swift-ring-builder can't remove a device with zero weight 2015-10-20 16:13:28 +02:00
__init__.py Initial commit of Swift code 2010-07-12 17:03:45 -05:00
corrupted_example.db Real files for bad databases. 2011-08-02 18:21:25 +00:00
malformed_example.db Real files for bad databases. 2011-08-02 18:21:25 +00:00
test_base_storage_server.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_bufferedhttp.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_constraints.py Encrypting/Decrypting object metadata 2015-11-04 17:16:34 +00:00
test_container_sync_realms.py Fix unit tests failing in some cases 2014-10-09 22:04:53 +05:30
test_daemon.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_db.py pep8 fix: assertNotEquals -> assertNotEqual 2015-10-12 07:40:07 +00:00
test_db_replicator.py node_timeout as float in configs 2015-10-19 21:14:34 +02:00
test_direct_client.py py3: Replace urllib imports with six.moves.urllib 2015-10-08 15:24:13 +02:00
test_exceptions.py Remove swiftclient dep on direct_client 2013-12-24 03:11:43 -08:00
test_internal_client.py Read the response body, if response status is greater than 300. 2015-11-05 20:07:15 -08:00
test_manager.py Merge "py3: Replace gen.next() with next(gen)" 2015-10-12 19:45:29 +00:00
test_memcached.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_request_helpers.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_splice.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_storage_policy.py EC: Use best available ec_type in unittests 2015-11-10 12:18:50 -08:00
test_swob.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_utils.py Decrypting Container Listing 2015-11-25 10:20:12 +00:00
test_wsgi.py Get rid of contextlib.nested() for py3 2015-10-23 11:44:54 -07:00