-
Notifications
You must be signed in to change notification settings - Fork 157
Description
Thanks for your work on PyKMIP.
We tested our software using PyKMIP server as well as SmartKey KMIP server. SmartKey enforces unique object names, so I'll get an error if I try to save second object with the same name:
com.flowcrypt.kmip4j.KmipException: sobject already exists
PyKMIP will however save several objects with the same name.
Here the spec at http://docs.oasis-open.org/kmip/spec/v1.0/os/kmip-spec-1.0-os.html#_Toc262581174 says:
Names SHALL be unique within a given key management domain, but are not REQUIRED to be globally unique.
Which sounds to me that within a namespace (belonging to a particular client), names should be unique.
But I'm not 100% sure I'm reading it correctly, as they don't explicitly say to refuse non-unique ones. But if they say that names SHALL be unique, the only way to do that is to refuse any conflicting records.