Merge "Remove invalid TODOs related to bug 1331815"

This commit is contained in:
Jenkins 2015-01-05 16:10:36 +00:00 committed by Gerrit Code Review
commit 76b228645d
3 changed files with 0 additions and 4 deletions

View File

@ -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.

View File

@ -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:

View File

@ -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