OpenKMIP / PyKMIP

A Python implementation of the KMIP specification.
Apache License 2.0
272 stars 134 forks source link

When using PyKMIP as a client to access the server, providing an incorrect account password to access the Discover Versions operation of the KMIP server will throw an exception. #657

Open cglcl opened 3 years ago

cglcl commented 3 years ago

Hi. When the account password is invalid, when accessing the Discover Versions operation of the KMIP server, the response_payload of the batch_item of the response returned is None, but the _process_discover_versions_batch_item does not judge the None of the response_payload, resulting in an exception. image image I think that the processing corresponding to other operations is the processing with response_payload as None. Why is there no Discover Versions? What kind of consideration is it based on? image