PKCS11: Remove deprecated algorithm argument/option

It was deprecated 6 years ago[1].

[1] df8c62aab357954000e8539ac17daea45f93ee7c

Change-Id: I4457c4e1feb2b9e326de2acc08b3684c67603e27
This commit is contained in:
Takashi Kajinami 2024-09-13 23:24:31 +09:00
parent 55c758eb7c
commit d16cb75946
2 changed files with 7 additions and 1 deletions

View File

@ -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'),

View File

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