Right now it appears as if a private key is hardcoded to be an RSA key. This excludes the use of other types (e.g. ed25519, dsa, ...)