pulpcore.app.models.fields.EncryptedTextField is already exposed via pulpcore.plugin.models, but its sibling EncryptedJSONField is not. Plugins that need to encrypt structured (JSON) data at rest currently have to import it from the platform path, which is not part of the supported plugin API.
Expose EncryptedJSONField through pulpcore.plugin.models so plugins can use it on equal footing with EncryptedTextField.
pulpcore.app.models.fields.EncryptedTextFieldis already exposed viapulpcore.plugin.models, but its siblingEncryptedJSONFieldis not. Plugins that need to encrypt structured (JSON) data at rest currently have to import it from the platform path, which is not part of the supported plugin API.Expose
EncryptedJSONFieldthroughpulpcore.plugin.modelsso plugins can use it on equal footing withEncryptedTextField.