You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This enum was a quick & dirty way for a KeySpec to pass a configuration value to the ca initialize command. The mechanism is fine, but the name is all wrong. I'm tempted to split all of the CA config off into a new type CaSpec, but it'll need to be linked to the HSM probalby through the label. That fragility can be avoided by just keeping it all in once structure. Probably not worth the effort either.
At the very least, Purpose should be given a better name. Something like CaSection?
The text was updated successfully, but these errors were encountered:
flihp
changed the title
the Purpose enum has outlived its usefulness
the Purpose enum is poorly named
May 5, 2023
This enum was a quick & dirty way for a
KeySpec
to pass a configuration value to theca initialize
command. The mechanism is fine, but the name is all wrong. I'm tempted to split all of the CA config off into a new typeCaSpec
, but it'll need to be linked to the HSM probalby through thelabel
. That fragility can be avoided by just keeping it all in once structure. Probably not worth the effort either.At the very least,
Purpose
should be given a better name. Something likeCaSection
?The text was updated successfully, but these errors were encountered: