Skip to content

"Name" attribute dropped from Public/Private Keys (KMIP 2.0) #560

@KBassford

Description

@KBassford

Hi Peter,

I presume this is a Whops. You can verify this by pulling the attribute list for any Public and/or Private Key. According to the spec. Only keys that have been re-keyed should loose their "Name" attribute. (Example below)

Public Key Attribute list ...
("['Cryptographic Algorithm', 'Cryptographic Length', 'Cryptographic Usage "
 "Mask', 'Initial Date', 'Object Type', 'State', 'Unique Identifier']")

Public Key Attributes ...
("('923', [Attribute(attribute_name=AttributeName(value='Cryptographic "
 "Algorithm'), attribute_index=None, "
 'attribute_value=Enumeration(enum=CryptographicAlgorithm, '
 'value=CryptographicAlgorithm.RSA, tag=Tags.ATTRIBUTE_VALUE)), '
 "Attribute(attribute_name=AttributeName(value='Unique Identifier'), "
 "attribute_index=None, attribute_value=UniqueIdentifier(value='923')), "
 "Attribute(attribute_name=AttributeName(value='Cryptographic Length'), "
 'attribute_index=None, attribute_value=CryptographicLength(value=2048)), '
 "Attribute(attribute_name=AttributeName(value='State'), attribute_index=None, "
 'attribute_value=Enumeration(enum=State, value=State.PRE_ACTIVE, '
 'tag=Tags.ATTRIBUTE_VALUE)), '
 "Attribute(attribute_name=AttributeName(value='Object Type'), "
 'attribute_index=None, attribute_value=Enumeration(enum=ObjectType, '
 'value=ObjectType.PUBLIC_KEY, tag=Tags.ATTRIBUTE_VALUE)), '
 "Attribute(attribute_name=AttributeName(value='Initial Date'), "
 'attribute_index=None, attribute_value=DateTime(value=1561384115, '
 'tag=Tags.ATTRIBUTE_VALUE)), '
 "Attribute(attribute_name=AttributeName(value='Cryptographic Usage Mask'), "
 'attribute_index=None, attribute_value=CryptographicUsageMask(value=10))])')

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions