replaced uint8_t with typedef unsigned char byte; key->phex to public_hex
successfully exported key in yaml and then imported that yaml into a key