castellan/castellan/key_manager
Moisés Guimarães de Medeiros 9ecd30081a Fix length usage in VaultKeyManager.create_key.
Previous code was considering length as bytes, but the API contract
considers the length param to be bits so that the considering `km`
as a VaultKeyManager, the call `km.create_key(ctx, 'AES', 256)` should
generate a 256 bit AES key and not a 2048 bit AES key instead.

Closes-Bug: #1817248
Change-Id: I5815cb74394e18b6058f4c5cf69b656d7cc2c43b
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
2019-02-22 15:46:35 +01:00
..
__init__.py Merge "Support handling legacy all-zeros key ID" 2017-11-28 03:31:10 +00:00
barbican_key_manager.py Add config option for Barbican endpoint type 2018-05-01 13:58:58 -04:00
key_manager.py Makes list method not abstract 2017-09-12 19:05:22 +00:00
migration.py Support handling legacy all-zeros key ID 2017-11-21 09:23:09 -05:00
not_implemented_key_manager.py Add list capability 2017-07-18 09:46:59 -04:00
vault_key_manager.py Fix length usage in VaultKeyManager.create_key. 2019-02-22 15:46:35 +01:00