imgtool can dump the raw versions of the public keys