Skip to content

*do_convert_to_pkcs8: unsupported key type ED25519*

ssh-keygen -f ~/.ssh/id_ed25519.pub -e -m PKCS8 > ~/.ssh/id_ed25519.pem.pub

Source: the Super User answer 576558