diff --git a/barbican/plugin/symantec.py b/barbican/plugin/symantec.py index 7b753b3d8..cbac58513 100644 --- a/barbican/plugin/symantec.py +++ b/barbican/plugin/symantec.py @@ -22,21 +22,32 @@ from symantecssl.core import Symantec from symantecssl import exceptions as symantec_exceptions from barbican.common import config +from barbican.common import utils from barbican import i18n as u from barbican.plugin.interface import certificate_manager as cert CONF = config.new_config() +LOG = utils.getLogger(__name__) symantec_plugin_group = cfg.OptGroup(name='symantec_plugin', title='Symantec Plugin Options') symantec_plugin_opts = [ cfg.StrOpt('username', + deprecated_for_removal=True, + deprecated_reason=('Symantec certificate plugin has been ' + 'deprecated'), help=u._('Symantec username for authentication')), cfg.StrOpt('password', + deprecated_for_removal=True, + deprecated_reason=('Symantec certificate plugin has been ' + 'deprecated'), help=u._('Symantec password for authentication'), secret=True), cfg.StrOpt('url', + deprecated_for_removal=True, + deprecated_reason=('Symantec certificate plugin has been ' + 'deprecated'), help=u._('Domain of Symantec API')) ] @@ -62,6 +73,9 @@ class SymantecCertificatePlugin(cert.CertificatePluginBase): if self.url is None: raise ValueError(u._("url is required")) + LOG.warning('Symantec certificate plugin has been deprecated and ' + 'will be removed in a future release.') + def get_default_ca_name(self): return "Symantec CA" diff --git a/releasenotes/notes/deprecate-symantec-plugin-c14da58692f8d881.yaml b/releasenotes/notes/deprecate-symantec-plugin-c14da58692f8d881.yaml new file mode 100644 index 000000000..011df9625 --- /dev/null +++ b/releasenotes/notes/deprecate-symantec-plugin-c14da58692f8d881.yaml @@ -0,0 +1,7 @@ +--- +deprecations: + - | + The Symantec certificate plugin has been deprecated, because lack of + maintenance activity of the plugin. Also the symantecssl python library + is not generally available and the plugin has never been tested in + upstream.