Merge "Remove invalid TODOs related to bug 1331815"
This commit is contained in:
commit
76b228645d
@ -243,7 +243,6 @@ class CryptoPluginBase(object):
|
||||
persist the data that is assigned to these DTOs by the plugin.
|
||||
"""
|
||||
|
||||
# TODO(atiwari): fix 1331815
|
||||
@abc.abstractmethod
|
||||
def encrypt(self, encrypt_dto, kek_meta_dto, project_id):
|
||||
"""Encryption handler function
|
||||
@ -342,7 +341,6 @@ class CryptoPluginBase(object):
|
||||
"""
|
||||
raise NotImplementedError # pragma: no cover
|
||||
|
||||
# TODO(atiwari): fix 1331815
|
||||
@abc.abstractmethod
|
||||
def supports(self, type_enum, algorithm=None, bit_length=None, mode=None):
|
||||
"""Used to determine if the plugin supports the requested operation.
|
||||
|
@ -153,7 +153,6 @@ class SimpleCryptoPlugin(c.CryptoPluginBase):
|
||||
|
||||
return private_dto, public_dto, passphrase_dto
|
||||
|
||||
# TODO(atiwari): fix bug 1331815
|
||||
def supports(self, type_enum, algorithm=None, bit_length=None,
|
||||
mode=None):
|
||||
if type_enum == c.PluginSupportTypes.ENCRYPT_DECRYPT:
|
||||
|
@ -56,7 +56,6 @@ class TestCryptoPlugin(plugin.CryptoPluginBase):
|
||||
plugin.ResponseDTO('insecure_public_key', None),
|
||||
passwd_res_dto)
|
||||
|
||||
# TODO(atiwari): fix bug 1331815
|
||||
def supports(self, type_enum, algorithm=None, bit_length=None, mode=None):
|
||||
if type_enum == plugin.PluginSupportTypes.ENCRYPT_DECRYPT:
|
||||
return True
|
||||
|
Loading…
x
Reference in New Issue
Block a user