0297964207
When the encryption spec is missing the cipher field,
just fail the request rather than sending an invalid
request to Castellan and letting the Barbican server
reject it.
This happens when an admin had previously created an
invalid encryption spec.
Similarly, check for a malformed cipher field in
image_utils decode_cipher, such as "aes" instead of
"aes-xts-plain64". An invalid cipher field like this
would previously cause a failure during volume creation
in some volume drivers.
Partial-Bug: #1926630 (1/2)
Change-Id: Ia4b1c303a057fe70cf88bdbbebc1d4f62474f011
(cherry picked from commit
|
||
---|---|---|
.. | ||
accelerators | ||
__init__.py | ||
accelerator.py | ||
cache.py | ||
glance.py | ||
image_utils.py |