PyKMIP icon indicating copy to clipboard operation
PyKMIP copied to clipboard

Cryptographic objects are not easily convertible to JSON

Open PeterHamilton opened this issue 6 years ago • 1 comments

Cryptographic objects can be dumped to a JSON-like format using str but there are often punctuation oddities that yield invalid JSON. Identify and fix these.

PeterHamilton avatar Jun 06 '19 03:06 PeterHamilton

If it helps, the punctuation oddities are originating from the repr blocks for each object. Building everything into a single string (with embedded bytes object for the "value") would probably fix everything.

KBassford avatar Jun 06 '19 14:06 KBassford