cli: modify mime_node_open to take new crypto struct as argument