swift/test/unit/common/middleware
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
..
__init__.py Initial commit of middleware refactor 2010-08-20 00:42:38 +00:00
crypto_helpers.py Guess content-type on PUT 2015-11-06 10:39:48 +00:00
helpers.py Encrypting/Decrypting object metadata 2015-11-04 17:16:34 +00:00
test_account_quotas.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_acl.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_bulk.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_cname_lookup.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_container_sync.py Add Storage Policy Support to Container Sync 2014-06-18 21:09:54 -07:00
test_crossdomain.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_crypto.py Cryptography module to be used by middleware 2015-09-11 08:22:54 +01:00
test_decrypter.py Decrypting Container Listing 2015-11-25 10:20:12 +00:00
test_dlo.py Get rid of contextlib.nested() for py3 2015-10-23 11:44:54 -07:00
test_domain_remap.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_encrypter.py Decrypting Container Listing 2015-11-25 10:20:12 +00:00
test_except.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_formpost.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_gatekeeper.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_healthcheck.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_keymaster.py Transition to 'keymaster' 2015-11-20 10:52:28 -06:00
test_keystoneauth.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_list_endpoints.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_memcache.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_name_check.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_proxy_logging.py Encrypter and Decrypter middleware - object body only 2015-10-15 21:08:30 +01:00
test_quotas.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_ratelimit.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_recon.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_slo.py Get rid of contextlib.nested() for py3 2015-10-23 11:44:54 -07:00
test_staticweb.py Merge "Add test to verify staticweb uses auth'd subrequests" 2015-10-22 10:40:19 +00:00
test_tempauth.py Get rid of contextlib.nested() for py3 2015-10-23 11:44:54 -07:00
test_tempurl.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_versioned_writes.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00
test_xprofile.py pep8 fix: assertEquals -> assertEqual 2015-10-11 12:57:25 +02:00