A major problem with doing this is that you have to worry about cross-protocol attacks because there is no namespace parameter like there is with SSH signatures. SSH signatures provide the necessary structure to safely use a single key for multiple purposes.
https://www.linuxjournal.com/content/flat-file-encryption-op...
You will have to generate an openssl-compatible public key:
To sign: To verify: Here is a little script to automate this: