OpenSolaris

Printable Version Enter a New Search
Bug ID 6778683
Synopsis Duplicate entries created in kcf.conf after disabling/enabling provider mechanisms by cryptoadm
State 10-Fix Delivered (Fix available in build)
Category:Subcategory solaris-crypto:cryptoadm
Keywords ef-reviewed
Responsible Engineer Daniel Anderson
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_105
Fixed In snv_105
Release Fixed solaris_nevada(snv_105)
Related Bugs 6414175
Submit Date 2-December-2008
Last Update Date 17-December-2008
Description
The initial kcf.conf file is empty (has no entries). Disable a mechanism
on a kernel software provider via cyrptoadm will write an entry to
kcf.conf. Followed by one or more attempts to disable a mechanism on
different kernel software provider.

Subsequent enabling or disabling mechanisms on the kernel software providers
in kcf.conf except for the last provider's entry will cause the identical
entries to be created in kcf.conf file.

For example:
# cryptoadm disable provider=des mechanism=CKM_DES_ECB
# cryptoadm disable provider=aes mechanism=CKM_AES_CTR
# cryptoadm enable provider=des mechanism=CKM_DES_ECB
# cryptoadm disable provider=aes mechanism=CKM_AES_GCM

The entries in kcf.conf now become:

des:supportedlist=CKM_DES_ECB,CKM_DES_CBC,CKM_DES3_ECB,CKM_DES3_CBC
aes:supportedlist=CKM_AES_ECB,CKM_AES_CBC,CKM_AES_CTR,CKM_AES_CCM,CKM_AES_GCM;disabledlist=CKM_AES_GCM,CKM_AES_CTR
des:supportedlist=CKM_DES_ECB,CKM_DES_CBC,CKM_DES3_ECB,CKM_DES3_CBC
aes:supportedlist=CKM_AES_ECB,CKM_AES_CBC,CKM_AES_CTR,CKM_AES_CCM,CKM_AES_GCM;disabledlist=CKM_AES_GCM,CKM_AES_CTR
Work Around
N/A
Comments
N/A