[ https://issues.apache.org/jira/browse/KARAF-5286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Schneider updated KARAF-5286: --------------------------------------- Description: Currently we use AbstractGeneratorHostKeyProvider to read server keys and also generate them on the fly. According to the mina sshd team this class is not meant for production use. So I propose we create a separate classes for reading and writing keys. I also propose we remove the hostKeyFormat config and only support OpenSSH pem based keys. For now we need a custom OpenSSHKeyPairProvider to read out keys as mina sshd has a bug (SSHD-760). After the release of sshd 1.7.0 we can switch to the standard FileKeyProvider from mina. was: Currently we use AbstractGeneratorHostKeyProvider to read server keys and also generate them on the fly. According to the mina sshd team this class is not meant for production use. So I propose we create a separate classes for reading and writing keys. I also propose we remove the hostKeyFormat config and only support OpenSSH pem based keys. For now we need a custom OpenSSHKeyPairProvider to read out keys as mina sshd has a bug (SSHD-720). After the release of sshd 1.7.0 we can switch to the standard FileKeyProvider from mina. > Separate server key generation from key reading > ----------------------------------------------- > > Key: KARAF-5286 > URL: https://issues.apache.org/jira/browse/KARAF-5286 > Project: Karaf > Issue Type: Improvement > Components: karaf-shell > Affects Versions: 4.2.0 > Reporter: Christian Schneider > Assignee: Christian Schneider > Fix For: 4.2.0 > > > Currently we use AbstractGeneratorHostKeyProvider to read server keys and > also generate them on the fly. According to the mina sshd team this class is > not meant for production use. > So I propose we create a separate classes for reading and writing keys. > I also propose we remove the hostKeyFormat config and only support OpenSSH > pem based keys. > For now we need a custom OpenSSHKeyPairProvider to read out keys as mina sshd > has a bug (SSHD-760). After the release of sshd 1.7.0 we can switch to the > standard FileKeyProvider from mina. -- This message was sent by Atlassian JIRA (v6.4.14#64029)