PyKMIP
PyKMIP copied to clipboard
Cryptographic objects are not easily convertible to JSON
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.
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.