cli: modify mime_node_context to use the new crypto struct