Maybe add a pipeline to do this conversion if encryption = off
Maybe add a pipeline to do this conversion if encryption = off