Merge "PKCS11: Remove deprecated algorithm argument/option"

This commit is contained in:
Zuul 2025-03-14 23:30:37 +00:00 committed by Gerrit Code Review
commit 6684336c61
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.