diff --git a/barbican/plugin/crypto/p11_crypto.py b/barbican/plugin/crypto/p11_crypto.py index 46366a44b..58f5fc3f8 100644 --- a/barbican/plugin/crypto/p11_crypto.py +++ b/barbican/plugin/crypto/p11_crypto.py @@ -74,7 +74,7 @@ p11_crypto_plugin_opts = [ default=100), cfg.StrOpt('encryption_mechanism', help=u._('Secret encryption mechanism'), - default='CKM_AES_CBC', deprecated_name='algorithm'), + default='CKM_AES_CBC'), cfg.StrOpt('hmac_key_type', help=u._('HMAC Key Type'), default='CKK_AES'), diff --git a/releasenotes/notes/pkcs11-remove-alrogithm-5ffcccc5197b236a.yaml b/releasenotes/notes/pkcs11-remove-alrogithm-5ffcccc5197b236a.yaml new file mode 100644 index 000000000..9536809bb --- /dev/null +++ b/releasenotes/notes/pkcs11-remove-alrogithm-5ffcccc5197b236a.yaml @@ -0,0 +1,6 @@ +--- +upgrade: + - | + The ``[p11_crypto_plugin] algorithm`` option, which is effectively + a deprecated alias of the ``[p11_crypto_plugin] encryption_mechanism`` + option, has been removed.