factor out CLI#{create_sig_from,retrieve_sig}