[identity] fix format of ed25519 public key and signature
Summary: the public key and signature should be decoded to byte slices.
Test Plan: tested two diffs later in stack when we verify signatures with the public key
Reviewers: jon, bartek
Reviewed By: bartek
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D8298